[gdal-dev] gdal and hdf-eos

Chaitanya kumar CH chaitanya.ch at gmail.com
Thu Mar 3 23:30:49 EST 2011


Matt,

Did you build GDAL yourself? HDF4 format is not compiled by default. You can
check if this by running the command "gdalinfo --formats". See if HDF4 is in
the output.
http://www.gdal.org/frmt_hdf4.html

On Fri, Mar 4, 2011 at 6:03 AM, Matt Funk <mafunk at nmsu.edu> wrote:

>  Hi,
> i am using python/gdal. I am trying to open a MODIS satellite file from
> the Terra satellite (which is hdf4-eos format). Doing:
>         ds = gdal.Open(file)
>         drivertype=ds.GetDriver().LongName
>
> returns
>  ERROR 4:
> `C:/tmp/SrcData/2010Data/MODISData/MOD03/MOD03.A2010002.1810.005.2010258062733.hdf'
> not recognised as a supported file format.
>
> Is this file format not supported?
>
> thanks
> matt
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.
/tʃaɪθənjə/ /kʊmɑr/
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110304/bc2fc417/attachment.html


More information about the gdal-dev mailing list