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
When an array with "dimension_separator": "/" is resized, the metadata field is overwritten (removed from the .zarray file). Subsequent reading operations will silently fall back to the default ("."), and fill zeros because it will not find the chunks with the expected path name.
Is it of interest to verify the metadata against the specification before writing operations? Even something as simple as a TypedDict instead of a dict used here can catch these bugs without much overhead.
Zarr version
v2.15.0, v2.16.1
Numcodecs version
v0.11.0
Python Version
3.9.16, 3.10.12
Operating System
Linux, macOS
Installation
using pip into a conda environment
Description
When an array with
"dimension_separator": "/"
is resized, the metadata field is overwritten (removed from the.zarray
file). Subsequent reading operations will silently fall back to the default ("."
), and fill zeros because it will not find the chunks with the expected path name.Steps to reproduce
Additional output
No response
The text was updated successfully, but these errors were encountered: