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.schnei...@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev