-
Notifications
You must be signed in to change notification settings - Fork 47
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
Refactoring the io and in-memory lazy vs non-lazy representation #293
Comments
Refactoring the geometry argument of the shapes model: #315 |
question regarding incremental, plan is to remove entirely the write/read steps when |
I'd maybe remove sdata.images['my_image'] = im
# or even the following, that is already implemented and uses single dispatch to forward
# the right `__setitem__`
sdata['my_image'] = im
sdata.write('my_data.zarr')
# example of in-place operation (can be both lazy or in-memory)
sdata['my_image'] = sdata['my_image'] + 1
sdata.write(element='my_image') We could add a parameter |
I'd then have something like this to load an element in-memory. # all is read lazy by default
sdata = read_zarr('my_data.zarr')
sdata.load_in_memory(element='my_image') |
We should also consider adding the option to keep data lazy but making it persistent ( |
Here are the linked issues
Incremental IO
#186
#222
(old PR containing discussion) #138
Lazy vs non-lazy
#243
#153
#297
The text was updated successfully, but these errors were encountered: