[GRASS5] Re: [Gdal-dev] ERROR 5: GDALDataset::GetRasterBand(1) - Illegal band #

Andrey Kiselev dron at ak4719.spb.edu
Mon Feb 9 03:33:10 EST 2004


On Sun, Feb 08, 2004 at 11:24:28PM -0800, Jeff D. Hamann wrote:
> Mapset <PERMANENT> in Location <mcdunn-utm>
> GRASS-GRID > r.in.gdal -o input=ast_l1b.hdf output=aster

HDF file is a container for several different subdatasets. You should
not use the file name on input, but the name of subdataset (as reported
by the gdalinfo utility). Read here for details:

 http://www.remotesensing.org/gdal/frmt_hdf4.html


-- 
Andrey V. Kiselev
Home phone:  +7 812 5274898  ICQ# 26871517




More information about the grass-dev mailing list