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
nbytes_stored incorrect when dimension_separator="/" #2174
When saving an array to disk and loading it again with dimension_separator="/", the number of stored bytes is incorrectly reported. In this case it is just reporting the size of the .zarray file.
changed the title [-]nbytes_stored incorrect when dimension_separator="/"[/-][+]`nbytes_stored` incorrect when `dimension_separator="/"`[/+]on Sep 11, 2024
Activity
[-]nbytes_stored incorrect when dimension_separator="/"[/-][+]`nbytes_stored` incorrect when `dimension_separator="/"`[/+]kabilar commentedon Sep 11, 2024
+1 Thank you, @dstansby.
dstansby commentedon Sep 11, 2024
Root cause of this is #253, but I'll leave this open as it gives a nice self contained example of the issue.
Note that for OME-zarr the deafult separator is
/, so currently zarr-python v2 will report the wrong size for all OME-zarr arrays 😱kabilar commentedon Sep 11, 2024
I believe the
Chunks initializedmetadata is also incorrect. See example below.Output
d-v-b commentedon Sep 24, 2026
I can't replicate this bug on v3, and v2 is EOL. closing as completed