hdf5-as-virtual-zarr
v0.1.0
Published
Given an input HDF5 file URL, generate a Zarr References Specification JSON output.
Readme
hdf5-as-virtual-zarr
Given an input HDF5 file URL, generate a Zarr References Specification JSON output.
This TypeScript implementation can run in a web browser, and generates output that is compatible with the ReferenceStore from zarrita.js.
It supports large HDF5 files using range requests (fetching only the subset of bytes required). When possible, large arrays should not be accessed; only the minimal metadata should be accessed.
This is a port of SingleHdf5ToZarr and its translate function from the kerchunk Python package.
Development
Setup
Install PNPM and UV.
pnpm install
pnpm run generate-fixturesTest
pnpm run testBuild
pnpm run buildPublish
pnpm publish --filter "hdf5-as-virtual-zarr"