-
Notifications
You must be signed in to change notification settings - Fork 28
Zarr v3 Prototype #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Zarr v3 Prototype #194
Conversation
This reduces the test diff
This also reduces the test diff
Change VersionedStore to FormattedStore
TODO: Fix Zarr v3 type strings
7051c32
to
d4217fb
Compare
Pull Request Test Coverage Report for Build 15430475317Details
💛 - Coveralls |
|
||
See Zarr version 2 | ||
""" | ||
struct FormattedStore{V,SEP,STORE <: AbstractStore} <: AbstractStore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it necessary to have the separator as a type parameter? Could this simply be a struct field?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I earlier had tried this approach.
The main question is how much conditional evaluation do you want to do with each call to citostring
versus constant propagation.
The separator parameter is really a "chunk key encoding" parameter. There are currently six cases:
- Zarr v2,
'.'
(default) - Zarr v2,
'/'
- Zarr v3,
'.'
- Zarr v3,
'/'
(default) - Zarr v3, V2 chunk key encoding,
'.'
(default) - Zarr v3, V2 chunk key encoding,
'/'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump @meggart
This is a forward looking branch that builds on top of #182 to test what a Zarr v3 implementation might look like.
The initial goal is read and write valid Zarr v3 arrays that are similar conceptually to Zarr v2 arrays.