Comment 2 for bug 284578

Revision history for this message
Niels Felsted Thorsen (felsted) wrote : Re: gdal in intrepid cannot handle hdf EOS data

Hi

I get a similar error using gdalwarp on karmic beta (also in jaunty), both the 64 bit version (32 bit version is working fine).

Running:

$ gdalwarp -t_srs '+proj=utm +zone=33 +datum=WGS84' -srcnodata -3000 -dstnodata -10000 "HDF4_EOS:EOS_GRID:MOD13Q1.A2006161.h21v13.005.2008234103220.hdf:MODIS_Grid_16DAY_250m_500m_VI:250m 16 days NDVI" out.tif

Produces this error:

     Creating output file that is 3531P x 5798L.
     Processing input file HDF4_EOS:EOS_GRID:MOD13Q1.A2006161.h21v13.005.2008234103220.hdf:MODIS_Grid_16DAY_250m_500m_VI:250m 16 days NDVI.
     ERROR 1: GDreadfield() failed for block.
     ERROR 1: IReadBlock failed at X offset 0, Y offset 0
     ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0

The file used can be found here:

ftp://e4ftl01u.ecs.nasa.gov/MODIS_Composites/MOLT/MOD13Q1.005/2006.06.10/MOD13Q1.A2006161.h21v13.005.2008234103220.hdf