HDF4¶
virtualizarr.parsers.HDF4Parser ¶
Create a ManifestStore from an HDF4 file.
Parameters:
-
group(str | None, default:None) –The group within the file to be used as the Zarr root group for the ManifestStore.
-
skip_variables(Iterable[str] | None, default:None) –Variables in the file that will be ignored when creating the ManifestStore.
-
reader_options(dict | None, default:None) –Configuration options used internally for kerchunk's fsspec backend.
__call__ ¶
__call__(url: str, registry: ObjectStoreRegistry) -> ManifestStore
Parse the metadata and byte offsets from a given HDF4 file to produce a VirtualiZarr ManifestStore.
Parameters:
-
url(str) –The URL of the input HDF4 file (e.g., "s3://bucket/file.hdf").
-
registry(ObjectStoreRegistry) –An ObjectStoreRegistry for resolving urls and reading data.
Returns:
-
ManifestStore–A ManifestStore that provides a Zarr representation of the parsed HDF4 file.