Skip to content
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

Update zarr 3 codec pipeline workflow #423

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mpiannucci
Copy link
Contributor

@mpiannucci mpiannucci commented Feb 4, 2025

We need to handle codecs so that they match the zarr 3 create_array api

@mpiannucci mpiannucci marked this pull request as draft February 4, 2025 15:58
@mpiannucci mpiannucci marked this pull request as ready for review February 4, 2025 16:40
@TomNicholas TomNicholas added zarr-python Relevant to zarr-python upstream v3-migration Required for migration to Zarr-Python 3.0 labels Feb 4, 2025
serializer = v3_codecs_to_serializer(codecs)
return ZarrV3Codecs(
filters=filters, compressors=compressors, serializer=serializer
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious if we replaced the ZArray class with zarr-python's ArrayV3Metadata would there be comparable functionality to parse out the filters, compressors and serializer, so those could be passed to zarr-python's create_array (same args as require_array)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was going to do this with init_array but it requires a store path which i didnt want to deal with atm, but might be the right approach

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v3-migration Required for migration to Zarr-Python 3.0 zarr-python Relevant to zarr-python upstream
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error writing virtual dataset to icechunk
3 participants