[Gdal-dev] assigning projection to geotiff extracted from MOD08 hdf

Andrey Kiselev dron at ak4719.spb.edu
Mon Aug 16 16:21:15 EDT 2004


On Mon, Aug 16, 2004 at 01:02:43PM -0600, Bill 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

Bill,

You are using old HDF driver. Please, try the new one from the latest
snapshot and report any problems you will get.

						Andrey

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



More information about the Gdal-dev mailing list