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 <fupengh...@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@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

Reply via email to