h5check is a validation tool designed to verify that an HDF5 file is encoded according to the HDF5 File Format Specification. The purpose is to ensure data model integrity and long-term compatibility between evolving versions of the HDF5 Librarylibrary.
Independent Verification Tool: Note that
h5check is designed to operate independently of the HDF5 Librarylibrary:
Given a file,
h5check scans through the encoded content, verifying it against the defined library format. If it finds any non-compliance,
h5check prints the error and the reason behind the non-compliance; if possible, it continues the scanning. If
h5check does not find any non-compliance, it prints an approval statement upon completion.
By default, the file is verified against the latest version of the file format; as of this writing, that is the format recognized by the HDF5 Release 1.8.x series. A format version can be explicitly specified with the
--format=n) option. For example,
--format=16) would specify verification against the format recognized by the HDF5 Release 1.6.x series.