Hi folks,
I have a curious situation with v1.9.2 generating ERROR 4 exceptions on an HDF4 
file, and v1.6.1 does not (same machine, same HDF4 library, same HDF file, both 
versions compiled today). The output below demonstrates the conundrum.

Any ideas?

KFW



[kfw4@columba ~]$ file 
/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.2012264183744.hdf
/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.2012264183744.hdf:
 Hierarchical Data Format (version 4) data


[kfw4@columba apps]$ ./gdalinfo --version
GDAL 1.6.1, released 2009/05/11
[kfw4@columba apps]$ ./gdalinfo --formats | fgrep -i hdf
  HDF4 (ro): Hierarchical Data Format Release 4
  HDF4Image (rw+): HDF4 Dataset
  HDF5 (ro): Hierarchical Data Format Release 5
  HDF5Image (ro): HDF5 Dataset
[kfw4@columba apps]$ ./gdalinfo 
/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.2012264183744.hdf
Driver: HDF4/Hierarchical Data Format Release 4
Files: 
/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.2012264183744.hdf
Size is 512, 512
Coordinate System is `'
Metadata:
  HDFEOSVersion=HDFEOS_V2.9
  REPROCESSINGPLANNED=further update is anticipated
  REPROCESSINGACTUAL=reprocessed
  LOCALGRANULEID=MCD12Q1.A2011001.h33v07.051.2012264183744.hdf
...



[kfw4@columba ~]$ gdalinfo --version
GDAL 1.9.2, released 2012/10/08
[kfw4@columba ~]$ gdalinfo --formats | fgrep -i hdf
  HDF4 (ro): Hierarchical Data Format Release 4
  HDF4Image (rw+): HDF4 Dataset
  HDF5 (ro): Hierarchical Data Format Release 5
  HDF5Image (ro): HDF5 Dataset
[kfw4@columba ~]$ gdalinfo 
/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.2012264183744.hdf
ERROR 4: 
`/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.2012264183744.hdf'
 not recognised as a supported file format.

gdalinfo failed - unable to open 
'/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.2012264183744.hdf'.




_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to