-
-
Notifications
You must be signed in to change notification settings - Fork 329
Open mode is lost when opening via FSStore #975
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
Comments
For the second case (can't write chunks on consolidated store), my assumption is, that here the I don't yet understand the use of the |
For the first case, this might be a similar one at this location. However as there's no |
From #712 I got the impression that I didn't yet look deeper into the |
I've struggled with the exact semantics of |
Yes, that's what I thought so too, but then, both, But yes, a bit more background on this would be great. |
This issue has been fixed in patch release 2.11.1. 🎉 |
This issue describes failed writes to xarray groups using
FSStore
where I'd expect the write to succeed. My current assumption is, that these issues occure due to mode-flags getting lost when the store is created implicitly (i.e. only an url is passed to zarr functions). I don't yet know how to fix this or if this is intended behaviour, thus I'm creating an issue.Minimal, reproducible code sample, a copy-pastable example if possible
Problem description
The code above raises:
I'd expect that the code works (in particular due to
overwrite=True
)(likely) related variant
raises:
I've explicitly instantiated the store when creating the dataset (which circuments the previous error).
But when trying to use the url directly for updating the dataset, I recieve a similar error (note that this error is raised on the line
root["baz"][0,0] = 7
).context
The following xarray-based code raises the same (second) exception:
Thanks @observingClouds wo showed me this example.
Version and installation information
zarr.__version__
: '2.11.0'numcodecs.__version__
: '0.7.3'The text was updated successfully, but these errors were encountered: