You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FixedScaleOffset flattens arrays, breaking further image codecs #852
that's an unfortunate bug! how are you using FixedScaleOffset? If you are working with zarr v3 data, then there are alternatives that don't have this problem (the cast_value and scale_offset codecs, which are defined here: https://github.com/zarr-developers/cast-value.py)
Activity
d-v-b commentedon Aug 3, 2026
that's an unfortunate bug! how are you using
FixedScaleOffset? If you are working with zarr v3 data, then there are alternatives that don't have this problem (thecast_valueandscale_offsetcodecs, which are defined here: https://github.com/zarr-developers/cast-value.py)raphaeljolivet commentedon Aug 3, 2026
Thanks, I didn't notice there were several scal/offset codec.
I am working with both zarr2 and zarr3 actually.
I will try wih this one.
I still think this should be fixed, or stated in the documentation.
Maybe an option like "keep_dimensions" would make the change backward compatible.
d-v-b commentedon Aug 3, 2026
This makes sense, i don't have time to add this but if you want to open a PR i can review it