-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
[v3] zarr 3 fails to create child groups #2228
Comments
I'm starting to look at this, since it's causing some failures in xarray. We'll need to think through how best to do this. I'd like to avoid having to list the keys already in the store to discover whether or not we need to set them. I think the best option, if we can implement it, is some kind of |
@TomAugspurger - @d-v-b also started on this today. You two should coordinate and perhaps compare notes / PR reviews. |
Tom is basically doing a better version of what I did, so i might just rebase my branch off this :) edit: I made the comment above when I mistakenly thought this was the "store.with_mode" discussion. As for intermediate groups, from what I can tell tom and I are approaching this from different angles, so it should be useful to compare and sync our approaches. I will link to my branch shortly once I push my latest commits |
I've started on this at https://github.com/zarr-developers/zarr-python/compare/v3...TomAugspurger:zarr-python:fix/intermediates?expand=1, and am slightly worried about adding a I was able to do atomic writes for MemoryStore and LocalStore without issue I think. Just use I didn't immediately find a good way to that with fsspec. At least on Azure there's an Checking |
Zarr version
3.0.0.alpha5
Numcodecs version
NA
Python Version
3.11
Operating System
Mac
Installation
pip
Description
The v3 branch is missing some important behavior around the implicit creation of sub-nodes. In 2.x, this behavior existed:
Note the creation of sub groups
foo
,foo.bar
, andfoo.bar.spam
.Steps to reproduce
Note that zarr failed to create
zarr.json
objects for any of the parent groups.Additional output
No response
The text was updated successfully, but these errors were encountered: