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 <[email protected]> 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 > [email protected] > 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
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
