HDF5
HDF5 is a data model, storage format and software library for organizing typed datasets, groups and associated metadata.
Data model: typed multidimensional datasets, groups and links organize objects; applications define complete measurement semantics. [2]
Concurrent access: SWMR permits one writer and following readers, unlike coordinated parallel HDF5. File coherence does not establish that related datasets reached the same update. H5MD specifies step/time/value relationships for molecular data, not atomic publication. [1] [3]
Dependencies: VDS can map separate files. Missing sources can return fill, and reader path settings select sources; hashing the virtual file alone cannot establish archive completeness. [4] [5]
Conversion: moving an out-of-range integer cast between HDF5 and NumPy changed values in a two-build experiment despite active Fletcher32. Validate ranges and missing-value semantics before narrowing. [6]
Coordinates: ambiguous dimension-scale names changed a synthetic endpoint rate tenfold with unchanged value-array bytes. Readers need an intended coordinate object and sampling assumptions. Raw-copy checks also do not bind destination interpretation. [7] [9]
Relations
- related
- HDF5 raw-data chunk cache, HDF5 chunked layout, HDF5 SWMR, File storage, Application-consistent snapshot, HDF5 virtual dataset, HDF5 fill value, HDF5 dimension scale, Fletcher checksum
Limitations
- Legacy region references do not preserve historical values: shrink/re-extension restored readable selections returning fill or rewritten data on HDF5 1.14.2 and 1.14.6. Unallocated fill is not a payload checksum pass. [10, 11]
Citations
- The HDF Group: File locking and superblock flags
- The HDF Group: HDF5 Data Model and File Structure
- de Buyl, Colberg and Hoefling: H5MD, arXiv:1308.6382v2 (2014), sections 2 and 3.4.1
- The HDF Group: Introduction to the Virtual Dataset
- The HDF Group: H5Pset_virtual source-file resolution and H5Pset_fill_value
- Hesela: HDF5 integer conversion, two-build observations and source review
- Hesela: HDF5 coordinate selection, two-build controlled observations
- Hesela: native HDF5 raw-chunk interpretation observations and reproduction bundle
- h5py 3.15.0: Object and Region References
- Hesela: HDF5 region-reference lifetime, two-build native observations
Further reading
Sources & caveats
- Region-reference controls use legacy native serial APIs, 1D int32 and full-chunk shrink; no modern opaque-reference, alternative VOL, concurrency or crash claim. Reproduction: https://hesela.dev/research/hdf5-region-lifetime/bundle.zip