[gdal-dev] define netcdf time dimension

Etienne Tourigny etourigny.dev at gmail.com
Fri May 1 03:57:11 PDT 2015


GDAL cannot be used to manipulate the netcdf dimension definitions.

You should use something specialized in dealing with netcdf dimensions such
as cdo [1] or nco [2].

[1] https://code.zmaw.de/projects/cdo
[2] http://nco.sourceforge.net/

On Tue, Apr 14, 2015 at 2:46 AM, Dominik Schneider <
Dominik.Schneider at colorado.edu> wrote:

> Hi -
>
> I have some .mdl files from IDL with .hdr header files that I’d like to
> convert to netcdf.
> The following code produces a netcdf file with a subdataset for each band
> in the mdl file. Is there any way to define the bands as the time
> dimension, in this case 4416 hourly timesteps?
>
> Or is there another tool that can convert this?
>
> gdal_translate -of NetCDF swe.mdl swe.nc
>
> Thanks
> Dominik​
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150501/36a3e26d/attachment.html>


More information about the gdal-dev mailing list