[Gdal-dev] Assigning correct projection info to GEotiff extracted
from MODIS 08 atmospheric HDF
Andrey Kiselev
dron at ak4719.spb.edu
Sun Aug 15 06:18:38 EDT 2004
On Fri, Aug 13, 2004 at 10:31:44AM -0600, William Hudspeth wrote:
> To begin with, I am trying to import MODIS08 atmospheric data files in
> HDF-EOS format with GDAL_TRANSLATE. According to the documentation and
> metadata associated with MODIS08 files, they are distributed as a
> 1-degree resolution grid (hence 360 by 180 pixels in dimension) in
> Lambert Azuthimal Equal Area projection (measured in degrees). Again,
> according to the metadata in the file (using gdalinfo), latitude
> values range from -90 to 90 degrees, and longitude values range from
> -180 to 180 degrees. No information is provided for dataum or
> ellipsoid.
>
> I have used GDAL_TRANSLATE to successfully extract a single band (1)
> from one of the subdatasets (472) in the HDF file using the following
> command:
>
> gdal_translate -of GTiff -b 1 -a_srs "+proj=laea +x_0=-180 +y_0=-90"
> HDF4_SDS:UNKNOWN:"MOD08_D3.A2002174.004.2003228005230.hdf":472 mod08test.tif
William,
It looks like you are using the old HDF driver. I'm recomment to try the
new HDF code, available from the CVS. It should produce much better
results for HDF-EOS Grid datasets.
Andrey
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
More information about the Gdal-dev
mailing list