ManifestStore.to_zarr()
#698
TomNicholas
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@ilangold asked if there was any pre-existing tool for converting HDF5 files directly into Zarr stores, and it occurred to me that you could do this very efficiently using
ManifestStore
:Parser
on the filepath for hdf5/other file to determine all chunk locations and metadata,Pros and cons compared to using xarray
Of course you could alternatively use VirtualiZarr like a runtime translation layer and then use xarray's
.to_zarr()
like this:but that has a couple of significant downsides:
open_dataset/zarr
does other complicated decoding steps that you also don't need here,coordinates
metadata field,The main downsides of this suggestion are that:
Given those restrictions, I'm not sure this idea really offers anything beyond your existing two options of
ManifestStore.to_icechunk()
- see Add.to_icechunk()
method toManifestGroup
#591).So I'm not sure this is that useful, but it's interesting! 😆
Beta Was this translation helpful? Give feedback.
All reactions