Don't infer a default fill_value
for zarr_format=2
?
#2271
Labels
bug
Potential issues with the zarr-python library
fill_value
for zarr_format=2
?
#2271
Zarr version
v3
Numcodecs version
na
Python Version
na
Operating System
na
Installation
na
Description
Zarr v2 didn't require a fill value to be set when writing data. To make it easier for users to transition to zarr-python v3 (ref pydata/xarray#5475), what do people think about changing the default
fill_value
for array metadata?ArrayV2Metadata.fill_value
would be allowed to be None in memory and on disk.We'd still have a fill value implicitly defined using the v2 rules for whatever fill value is actually used at read time.
Steps to reproduce
Additional output
No response
The text was updated successfully, but these errors were encountered: