[GRASSLIST:6263] Re: hdf and modis/aster
Maciek Sieczka
werchowyna at epf.pl
Sat Mar 26 06:24:09 EST 2005
Ian
What does gdalinfo say about your hdf4 file? I've had an issue that hdf4
"Aster relative DEM" was not recongnized as georeferenced in newer Gdal
versions due to changes in the hdf driver. Maybe that is your case too?
Maciek
----- Original Message -----
From: "Ian W. Macmillan" <ian_macmillan at umail.ucsb.edu>
To: <grasslist at baylor.edu>
Sent: Friday, March 25, 2005 11:14 PM
Subject: [GRASSLIST:6258] hdf and modis/aster
> Hi all, I am trying to import some MASTER data (combined MODIS and
> ASTER) that is an hdf4 file (it should have the same exact format as
> MODIS data). After realizing that I need to import the subdatasets
> (which import fine into an XY location), I have run into a problem. It
> seems that the data I want is in one subdataset, but the latitudes and
> longitudes are in separate subdatasets. How can I import this so that
> the data I want is actually georeferenced?
>
> I tried gdal_translate on a whim (gdal_translate -of GTiff -b 1
> subdataset myfile.tif), but I ended up with a geotiff that either gives
> me an error of "cellhd.proj = 0 (unreferenced)" or if r.in.gdal -o
> "G_set_window(): Illegal latitude for South".
>
> Anyone run into this before?
>
> Thanks,
> Ian
>
> PS Using Mac 10.3.8, Grass 6.1cvs (march 22)
>
>
> -----------------------------------------------------
> Ian MacMillan
> Geological Sciences-UCSB
>
> "insert witticism here"
>
>
More information about the grass-user
mailing list