{
  "status": "shipping",
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-28",
  "slug": "hdf5-dimension-scale",
  "term": "HDF5 dimension scale",
  "aliases": [
    "H5DS dimension scale"
  ],
  "definition": "An HDF5 dimension scale is a dataset associated with an array dimension to supply application-defined coordinates or labels.",
  "note": "Identity: a scale's name is separate from its dataset path and need not be unique. h5py name lookup returns the first matching attached scale, while the HDF5 storage profile does not define scale-list order. Do not treat insertion order as a portable selection rule. [h5py-dims] [h5ds-spec]\n\nConsistency: an axis label does not attach a scale. Coordinate interpretation and compatible extents are application responsibilities; several scales or unequal extents may be intentional. [h5ds-spec]\n\nObserved consequence: in two synthetic HDF5 builds, selecting between duplicate time-scale names changed an endpoint rate from 10 to 1 count/s with identical value-array bytes. Thirteen of fourteen cases were numerically readable, but only two met the experiment's single-time-axis policy. These are configuration outcomes, not reliability frequencies. [hesela-dimensions]\n\nMigration: in constructed native-VOL HDF5 1.14.2/1.14.6 files, object copies retained values, labels and scale counts without preserving H5DS associations. The 1.14.6 attribute-copy path repairs top-level references but not nested references in that branch; expand_refs did not repair the tested dimension attributes. [h5-copy-nested] [hesela-migration]\n\nAcceptance: reopen the copy and verify the intended coordinate object, shared identity, units, values and both reference directions. H5DSis_attached checks both directions; readable forward coordinates alone can survive a missing reverse list. Explicit destination reconstruction passed the small fixture, not a general conversion or crash-recovery guarantee. [h5-copy-attachment] [hesela-migration]",
  "related": [
    "hdf5",
    "hdf5-swmr"
  ],
  "advantages": [],
  "limitations": [],
  "citations": [
    {
      "id": "h5ds-spec",
      "title": "The HDF Group: HDF5 High Level Dimension Scales, storage profile and limitations",
      "url": "https://support.hdfgroup.org/documentation/hdf5/latest/_h5_d_s__u_g.html",
      "accessed": "2026-10-22"
    },
    {
      "id": "h5py-dims",
      "title": "h5py: Dimension Scales",
      "url": "https://docs.h5py.org/en/stable/high/dims.html",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-dimensions",
      "title": "Hesela: HDF5 coordinate selection, two-build controlled observations",
      "url": "https://hesela.com/analyses/hdf5-swmr-application-consistency/#dimension-scales",
      "accessed": "2026-10-22"
    },
    {
      "id": "h5-copy-nested",
      "title": "HDF5 1.14.6: attribute-copy nested-reference boundary",
      "url": "https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/src/H5Aint.c",
      "accessed": "2026-10-28"
    },
    {
      "id": "h5-copy-attachment",
      "title": "HDF5 1.14.6: H5DS reference mode and bidirectional attachment",
      "url": "https://raw.githubusercontent.com/HDFGroup/hdf5/hdf5_1.14.6/hl/src/H5DS.c",
      "accessed": "2026-10-28"
    },
    {
      "id": "hesela-migration",
      "title": "Hesela: dimension-scale migration, native controls and replay",
      "url": "https://hesela.com/analyses/hdf5-swmr-application-consistency/#copying-axes",
      "accessed": "2026-10-28"
    }
  ],
  "provenance": [
    "Hesela's synthetic files were observed with h5py 3.10.0/HDF5 1.14.2 and h5py 3.15.0/HDF5 1.14.6. Writers closed before fresh readers opened; no live acquisition, H5MD consumer or power-loss behavior was tested.",
    "Migration observations are nine constructed cases, twice on each of HDF5 1.14.2 and 1.14.6. Replayed on 1.14.6 during publication preparation on 2026-10-28. No current-release, non-native VOL or netCDF/xarray claim."
  ]
}
