[GRASS-user] HDF-5 parse

Hamish hamish_b at yahoo.com
Fri Feb 12 08:57:25 EST 2010


Hamish:
> > please post the file name, the results of gdalinfo,
> > and the exact r.in.gdal command line used.

Pedro wrote:
> This is the command:r.in.gdal
> input=/mnt/GIS/data/HDF5_GEO_200101011450 output=file_out
> 
> and the error is: Projection of
> input dataset and current location appear to match
> ERROR: Selected band (1) does not exist

ok, and what does gdalinfo say about available bands?



did you read this:
  http://www.gdal.org/frmt_hdf5.html

(the answer is in the second and third paragraphs.... you have
to tell it which band you want)


and this:
> > see the "MODIS" wiki page for examples with HDF4,
> >   http://grass.osgeo.org/wiki/MODIS

??

(hint: "band" and "subdataset" are probably the same thing)


Hamish



      


More information about the grass-user mailing list