hdf images hdf images

h4toh5 Conversion Library and Tools

Current Release:   2.2.2
Tested with:   HDF 4.2.9, HDF5-1.8.11

The h4toh5 software consists of the h4toh5 and h5toh4 command-line utilities, as well as a conversion library for converting between individual HDF4 and HDF5 objects. These follow the HDF4 to HDF5 Mapping Specification.

PLEASE NOTE that although we continue to maintain HDF4, we do not plan on adding new features to HDF4, and recommend users move to HDF5 to take advantage of the improved features and performance of HDF5.

Download Information:

Documentation:


Related Information

Differences between HDF4 and HDF5

HDF4 and HDF5 Compatibility and Transition

  • Transition from HDF5 for HDF4 Users: status and goals (Dec. 2002) [pdf]

  • Mapping HDF4 Objects to HDF5 Objects (Specification) (Oct. 2000) [pdf]
  • Transition from HDF4 to HDF5: Notes about Compatibility, Conversion, and Interoperability of HDF and HDF-EOS  (White paper) (Sep. 2000) [pdf]
  • Transition from HDF4 to HDF5: Issues   (Sep. 2000) (Slides)
  • Backward/Forward Compatibility

Technical Reports

  • Tests of the NCSA h4toh5 utility with NASA Datasets, August, 2001. [HTML]
    This paper reports tests of the h4toh5 utility using real NASA data.  The utility converted files, usually in less than one second per file.  These results show that conversion of HDF4 files to HDF5 is feasible for large collections or on demand.
  • Conversion of from HDF4 to HDF5: "Hybrid" HDF-EOS Files, Feburary. 2002. [HTML]
    In this experiment, the heconvert utility is augmented using the h4toh5 Library. In addition to the standard conversion of HDF-EOS objects, the experimental program identifies and converts non-EOS objects in an EOS dataset, creating a more complete HDFEOS5 file. In conclusion, this experiment shows that the h4toh5 Library provides a toolkit to more easily construct conversion utilities for NASA HDFEOS files.

- - Last modified: 30 July 2013