[GRASSLIST:1263] Re: import Landsat7 ETM+ xxx...xxx...bx0.l1g File (HDF4)
Andrey Kiselev
dron at ak4719.spb.edu
Tue Sep 16 15:27:08 EDT 2003
On Tue, Sep 16, 2003 at 03:04:04PM +0900, Alip.Yasin wrote:
> I had problem with importing a Landsat7 file into GRASS.
> my PC System: Linux; GRASS 5.0.2 (April 2003); GDAL 1.1.9;
> importing file: Landsat7 ETM+; Format: EOS-HDF;
Alip,
The following assertions are controversal:
> When I type command:
> GRASS:/>gdalinfo L7114029_02920010925_hdf.L1g
> Driver: HDF4/Hierarchical Data Format Release 4
> Size is 512,512
> Coordinate System is
> Subdatasets:
> SUBDATASET_1_NAME=HDF4_SDS:UNKNOWN:"L71146029_02920010925_hdf.L1g":0
> SUBDATASET_1_DESC=[7261x8161] [L71146029-02920010925.B10 (8_bit unsigned integer)]
and
> And when I type command:
> GRASS:/>gdal -config --formats
> there was a lot of other data formats, but not include format HDF4.
If you don't have hdf4 compiled in, you will not see report for HDF4
dataset.
Note, that you should use
$ r.in.gdal input=HDF4_SDS:UNKNOWN:"L71146029_02920010925_hdf.L1g":0
command to import the first band into GRASS. Read HDF4 help page for
details:
http://www.remotesensing.org/gdal/frmt_hdf4.html
Andrey
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the grass-user
mailing list