This repository versions, validates, and publishes the scientific runtime data used by HERMES. The data are kept outside the HERMES source and Python wheels so code installations remain small and reproducible.
The initial dataset is the content published as Zenodo record 20544178. Its concept DOI is 10.5281/zenodo.7603202.
| Component | Installed by default | Contents |
|---|---|---|
core |
Yes | Maintained cosmic-ray, dark-matter, gas, interaction, and radiation-field data |
picard-legacy |
No | Legacy PICARD HDF5 test data |
A tagged release publishes:
hermes-data-VERSION.tar.gzhermes-data-VERSION.tar.gz.sha256hermes-data-picard-legacy-VERSION.tar.gzhermes-data-picard-legacy-VERSION.tar.gz.sha256release-index.json
Each archive extracts a data/ directory and contains data/MANIFEST.json and
data/VERSION. The default archive deliberately excludes PICARD/HDF5 data.
After v1.0.0 has been published:
curl -LO https://github.com/HERMES-SkyMaps/hermes-data/releases/download/v1.0.0/hermes-data-1.0.0.tar.gz
curl -LO https://github.com/HERMES-SkyMaps/hermes-data/releases/download/v1.0.0/hermes-data-1.0.0.tar.gz.sha256
shasum -a 256 -c hermes-data-1.0.0.tar.gz.sha256
tar -xzf hermes-data-1.0.0.tar.gz
export HERMES_DATA_PATH="$PWD/data"Use a version-specific URL and verify the SHA-256. Consumers must not use a
latest URL because that would make an existing HERMES release change its
scientific inputs over time.
The planned Python package will provide the equivalent operation through an
explicit hermes-data install command and store each version in a user cache.
Only Python's standard library is required:
make all
make distmake all checks:
- the SHA-256 and size of every source file against
manifest.json; - provenance coverage for every path;
- gzip integrity and FITS/HDF5 signatures;
- the dimensions, axis order, numerical values, and metadata of the single 30 x 24 x 1211 Vernetto radiation-field FITS cube;
- finite densities, exact coordinate axes, and pinned scientific reference values;
- deterministic archive construction, component isolation, and tamper detection through unit tests.
make dist then builds both archives, reads every member back, verifies its
SHA-256, and writes dist/release-index.json.
data/ versioned runtime files
manifest.json SHA-256, size, source, and component per file
components.json archive component policy
sources.json provenance and citations
scientific-regressions.json structural and numerical invariants
scripts/ manifest, validation, and release tools
tests/ release-tool unit tests
See CONTRIBUTING.md before changing any data file and SOURCES.md for attribution requirements.
The dataset is distributed under CC BY 4.0; see LICENSE.md. Users must also cite the relevant upstream model or table listed in SOURCES.md, as well as HERMES when appropriate.