hdf5-fill-value · shipping

HDF5 fill value

An HDF5 fill value is a configured or default element value used for uninitialized data, missing VDS source regions and some filter encodings.

Related Observatory article: Read on hesela.com

Creation property: H5Pset_fill_value defines the value using a datatype; the default is zero interpreted for the dataset datatype. A suitable application may reserve an otherwise invalid value to make missing data conspicuous. [2]

Virtual data: a missing source can produce fill values through a VDS read. Such an output value is not automatically a measurement, a validity mask or proof of a storage fault. [1]

Interpretation: an explicit sentinel helps only if the application treats it as missing and excludes it from valid data. It cannot identify the intended source when another valid dataset is resolved in its place. [3]

Scale-offset: in HDF5 1.14.6, fully written floating-point values near the declared fill can decode as fill after scale-offset encoding. The official guide warns about near-zero data with default fill zero. A fill-valued result alone therefore does not establish that an element was never written; this differs from VDS source absence. [4] [5]

External raw files: EOF zero-padding is not sentinel substitution. In a separate HDF5 1.14.6 int32 experiment, short external files returned zero bytes or a partially changed integer despite fillvalue=-999; an entirely absent file raised an error. Do not generalize VDS missing-source behavior to this storage mechanism. [6]

Relations

related
HDF5, HDF5 virtual dataset, HDF5 scale-offset filter, HDF5 external storage

Citations

  1. The HDF Group: Introduction to the Virtual Dataset (accessed 2026-10-17)
  2. The HDF Group: H5Pset_virtual source-file resolution and H5Pset_fill_value (accessed 2026-10-17)
  3. Hesela: HDF5 virtual dataset dependency observations (accessed 2026-10-17)
  4. HDF Group dataset guide: scale-offset floating-point suggestions (accessed 2026-10-20)
  5. Hesela: 26 scale-offset round-trip configurations and limits (accessed 2026-10-20)
  6. Hesela: external raw-file truncation observations (42 fixtures, HDF5 1.14.6) (accessed 2026-10-21)

JSON: /data/terms/hdf5-fill-value.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. HDF5 fill value. Hesela. 2026-10-21. https://hesela.dev/terms/hdf5-fill-value/