[gdal-dev] v1.9.2 throws ERROR 4 exception, v1.6.1 does not

Even Rouault even.rouault at mines-paris.org
Thu Dec 6 10:35:33 PST 2012


Kevin,

could you share the file ?

Le jeudi 06 décembre 2012 18:57:03, Kevin F Webb a écrit :
> 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 at columba ~]$ file
> /mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.201
> 2264183744.hdf
> /mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.201
> 2264183744.hdf: Hierarchical Data Format (version 4) data
> 
> 
> [kfw4 at columba apps]$ ./gdalinfo --version
> GDAL 1.6.1, released 2009/05/11
> [kfw4 at 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 at columba apps]$ ./gdalinfo
> /mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.201
> 2264183744.hdf Driver: HDF4/Hierarchical Data Format Release 4
> Files:
> /mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.201
> 2264183744.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 at columba ~]$ gdalinfo --version
> GDAL 1.9.2, released 2012/10/08
> [kfw4 at 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 at columba ~]$ gdalinfo
> /mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.201
> 2264183744.hdf ERROR 4:
> `/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.20
> 12264183744.hdf' not recognised as a supported file format.
> 
> gdalinfo failed - unable to open
> '/mnt/stemdata02/kfw4/modis_landcover/tiles/MCD12Q1.A2011001.h33v07.051.20
> 12264183744.hdf'.
> 
> 
> 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list