[GRASS-user] hdf import fails

Martin Wegmann wegmann at biozentrum.uni-wuerzburg.de
Tue Jul 17 09:51:07 EDT 2007


Hello, 

I found a lot of discussion/question concerning hdf import but none which 
might relate to the error prompt I received.

I just want to import a MODIS hdf file with 46 bands which fails with:

r.in.gdal -o -e -k
input=/media/NO1/Tiseg_Analyse_1707/Harmonische_Analyse_1707/2001/MOD09A1_1707_2001_b01/harmonic_analysis.hdf 
output=test location=modistest2
ERROR 5: GDALDataset::GetRasterBand(1) - Illegal band #

ERROR: Selected band (1) does not exist.

It would be great if somebody can point me to any link with related problems 
or solutions.

Using GRASS 6.3.cvs (cvs update yesterday) and 6.0.

TIA, Martin




More information about the grass-user mailing list