Encoding a fill value of a structured type and serializing to Zarr (v2) #10587
Unanswered
BrianMichell
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Is this error originating from an xarray file or a zarr file? Either way, I think that this is unexpected behavior and is likely a bug! Could you please open this as a bug report and post the full traceback |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I'm trying to write some data with the Zarr v2 backend. For the most part things are working as intended, however I am struggling to set the
_FillValue
for a structured type. If I omit the_FillValue
parameter for this Variable serializes as expected. I'm wondering if support for user-specified fill values was dropped for structured types since their future in Zarr v3 was dubious, if we have done something incorrectly in our sample code, or whether this is a bug. If it is a bug I am more than happy to take a crack at fixing it!Error:
TypeError: Failed to decode variable 'metadata': unhashable type: 'writeable void-scalar'
System: Windows 11, Ubunut 22.04LTS
Python version: 3.12.10
Package manager: UV 0.7.8
Xarray version: 2025.7.1
Zarr version: 3.1.1
Beta Was this translation helpful? Give feedback.
All reactions