Repository navigation
Conversation
yeah currently in virtual-tiff I get lots of failures (119 failed, 317 passed) with most due to I think this would probably be an issue for other parsers too, such as gribberish and Sean's new HRRRarser. The VirtualiZarr tests also fail with errors such as: |
This is super useful feedback. I'll add virtual-tiff as a dev dependency while I work out how to make these changes non-breaking. |
|
🤖 AI text below 🤖 Correction to my earlier diagnosis: The separate issue in the |
…into feat/v2-v3-codecs
…into feat/v2-v3-codecs
|
Recent changes in this PR:
I think this breakage is warranted for a few reasons:
So a basic question for @zarr-developers/python-core-devs: how much do we value preserving the current, problematic JSON serialization of the codecs in |
@d-v-b this behavior is consistent with the alias solution discussed in zarr-developers/zarr-extensions#2, right? I support using the more interoperable alias for serialization moving forward, but ideally would like zarr-developers/zarr-extensions#2 to be finalized/merged at the same time. I have two other questions:
|
For a codec that takes no configuration at all,
In this PR yes, all the codecs that handle dtype stuff in their configuration will take the v2 dtypes metadata, even for a v3 codec. this is necessary for compatibility with existing data. But this PR makes a breaking change by ensuring that the v3 JSON form of such a codec uses the zarr v3 data type metadata. |
I agree with making this breaking change, favoring a simpler ecosystem over bug-for-bug compatibility. |
|
This change would be great! See also the |
This PR will give each codec a v2 and v3 JSON de/serialization routines.
depends on #3318