Skip to content

(fix): blosc v2 typesize in config - #94

Merged
ilan-gold merged 2 commits into
mainfrom
ig/fix_blosc_v2
Apr 10, 2025
Merged

(fix): blosc v2 typesize in config#94
ilan-gold merged 2 commits into
mainfrom
ig/fix_blosc_v2

Conversation

@ilan-gold

Copy link
Copy Markdown
Collaborator

Handling the new typesize in the declaration of the object: zarr-developers/numcodecs#713. I don't think we need to worry about the object being declared with typesize in v2 (and for now, zarrs doesn't seem to support it anyway)

@ilan-gold
ilan-gold requested a review from LDeakin April 9, 2025 15:49
Comment thread python/zarrs/pipeline.py Outdated

@LDeakin LDeakin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does zarr-python serialise the typesize now on V2 blosc-encoded arrays?

@ilan-gold

ilan-gold commented Apr 10, 2025

Copy link
Copy Markdown
Collaborator Author

numcodecs is the culprit. get_config takes all public members of the object as part of the output dict config, which now includes typesize (not declared in v2 file format by zarr-python 3.x.x i.e., left as None but declared in v3 file format by zarr-python 3.x.x)

@ilan-gold
ilan-gold merged commit 23bef57 into main Apr 10, 2025
@ilan-gold
ilan-gold deleted the ig/fix_blosc_v2 branch April 10, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants