Data format
HDF5 Sample Files
HDF5 (.h5) files store hierarchical scientific datasets and metadata in a binary container. Use sample HDF5 files to validate dataset inspection, table loading, and scientific-tool interoperability.
3 files
All to 50KB
SHA256 verified
Manifest included
Quick facts
Files first
HDF5 Sample Files — Download
Starter file
DownloadCharset HDF5 Dataset
Download FixtureBig-Endian HDF5 Dataset
Download FixtureUse cases
HDF5 Testing Workflows
Dataset Preview and Structure Review
Open Format HDF5Charset and Endian Validation
Open Format HDF5Compare and decide
HDF5 Format Comparisons
FAQ and reference
HDF5 File FAQ
Checksum Verification
Use checksums to confirm file integrity after download.
shasum -a 256 your_file_name_here
# Compare output with SHA256 values listed above.
Where is the machine-readable manifest?
Use the manifest when you need stable names, SHA256 values, and URLs for automation.
Use in code — curl, Python, Node, wget
Copy any snippet directly into scripts, test suites, or CI pipelines. All URLs are stable and publicly accessible with no auth required.
# Download hdf5_big_endian_dataset_sample.h5
curl -L -o hdf5_big_endian_dataset_sample.h5 \
https://samplefile.com/samples/download/data/hdf5/hdf5_big_endian_dataset_sample.h5/
# Or fetch a random HDF5 file
curl -s "https://samplefile.com/samples/api/random?format=hdf5" | jq -r '.download_url'
# Download hdf5_big_endian_dataset_sample.h5
wget -O hdf5_big_endian_dataset_sample.h5 \
https://samplefile.com/samples/download/data/hdf5/hdf5_big_endian_dataset_sample.h5/
import requests
# Download a specific file
url = "https://samplefile.com/samples/download/data/hdf5/hdf5_big_endian_dataset_sample.h5/"
resp = requests.get(url)
with open("hdf5_big_endian_dataset_sample.h5", "wb") as f:
f.write(resp.content)
# Or fetch a random HDF5 file via API
meta = requests.get("https://samplefile.com/samples/api/random?format=hdf5").json()
resp = requests.get(meta["download_url"])
with open(meta["name"], "wb") as f:
f.write(resp.content)
// Download a specific file
const fs = require("fs");
const https = require("https");
const url = "https://samplefile.com/samples/download/data/hdf5/hdf5_big_endian_dataset_sample.h5/";
https.get(url, (res) => {
res.pipe(fs.createWriteStream("hdf5_big_endian_dataset_sample.h5"));
});
// Or fetch a random HDF5 via the API
const meta = await fetch("https://samplefile.com/samples/api/random?format=hdf5").then(r => r.json());
const file = await fetch(meta.download_url);
// use file.arrayBuffer(), file.body, etc.
# Random HDF5 file (JSON response)
GET https://samplefile.com/samples/api/random?format=hdf5
# All HDF5 files
GET https://samplefile.com/samples/api/files?format=hdf5
# Manifest with SHA256 checksums
GET https://samplefile.com/samples/data/hdf5/manifest.json
# Response includes: name, size_bytes, mime_type, sha256, download_url
Validation Methodology
- Validate extension and MIME detection before processing.
- Benchmark performance with small and larger files.
- Test malformed-input handling and error messaging.
Fixture Matrix
Use the curated HDF5 matrix to choose the right clean, edge-case, and broken fixtures for this format.
Open Matrix