[gdal-dev] problem with gdal_translate

Etienne Tourigny etourigny.dev at gmail.com
Mon May 20 12:38:27 PDT 2013


Please look at the netcdf docs at [1]

When there are various variables in a netcdf ffile, gdal treats them as
subdatasets, you can only operate on one at a time.

calling gdalinfo on the netcdf file will reveal the special names used to
access each subdataset

[1] http://www.gdal.org/frmt_netcdf.html


On Mon, May 20, 2013 at 3:34 PM, Peng Fu <fupenghzau at gmail.com> wrote:

> Hi,
>
> I used the gdal_translate to store the netcdf data into geotiff file, but
> it just gave me an error:
> Input file contains subdatasets. Please, select one of them for reading.
>
> command:
> gdal_translate -of GTiff -b 9 -a_srs EPSG:4326  BAND_02.nc  /test.tif
>
> Does anyone know what is the problem?
>
> Thanks!
>
> Peng
>
> _______________________________________________
> 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/20130520/9d5d716e/attachment.html>


More information about the gdal-dev mailing list