Important MessageBoth HDF4 and HDF5 are supported by the NCSA HDF group. We will continue to maintain HDF4, as long as we are funded to do so. We do not plan to add any new features to HDF4, but we will fix bugs and build and test it on new operating system versions. We recommend using HDF5, especially if you are a new user and are not constrained to using HDF 4.x (HDF4). We also recommend that you consider migrating from HDF4 to HDF5 to take advantage of the improved features and performance of HDF5. |
Versions 1, 2, 3, and 4 of HDF were backward compatible, and HDF4 can access files from earlier versions. HDF5 is a completely new format and library; conceptually related to but incompatible with HDF4 files and libraries.
This page provides pointers to information and software to help HDF4 users work with HDF5.
- h4toh5 utility [Description] -- convert any HDF4 file to HDF5, using default mappings.
- h5toh4 utility [Description] -- convert HDF5 to HDF4. (Not all objects can be converted, and is not an inverse of h4toh5.)
- H4toH5 Conversion Library (beta) -- library to convert individual HDF4 objects into HDF5 objects. Also includes the h4toh5 and h5toh4 utilities.
[ Download ]
Transition from HDF4 to HDF5: Notes about Compatibility, Conversion, and Interoperability of HDF and HDF-EOS (White paper) [pdf]