[gdal-dev] GDAL to read MOD06_L2 MODIS HDF4 download

Markus Neteler neteler at osgeo.org
Fri Sep 25 16:48:17 EDT 2009


On Tue, Sep 22, 2009 at 4:39 PM, Limei Ran <lran at unc.edu> wrote:
> Hi:
>
> I am trying to read a MOD06_L2 MODIS cloud product downloaded file.  The
> file is in HDF4 format.  I compiled GDAL with HDF4.  But, when I use
> gdalinfo to check the file information.  It did not give me right
> information with Longitude and Latitude missing from subdatasets.
> My question is: does GDAL with HDF4 handle MOD06_2 MODIS files correctly?
> If it does not, what can I do to make it work?

You need to use gdalwarp on the HDF layers. I have a shell script for that
which I can send to you if interested.

Markus


More information about the gdal-dev mailing list