-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how should "fill_value": null
be read?
#97
Comments
The question is what you would expect? Yes, xarray reads the data but it is returning garbage for non-existing chunks. The problem is that a zarr array with fill_value null which has missing chunks is per se not well-defined. This was a long discussion in the python zarr impl and the conclusion was that fill_value=null will be forbidden in zarr v3. I think that throwing an error is better than returning garbage data, but of course the error message should be improved. |
A suggestion to deal with this could probably be to add a warning message that there are some missing values and fill them with |
I agree with you here. Throwing an error is correct. We could also return an |
We have a zarray with the following
.zarray
:when reading data from the directory I get the following error
I think the error comes from
fill_value:null
. The data can be read with xarray. Is this error correct behavior?@MartinuzziFrancesco
The text was updated successfully, but these errors were encountered: