Skip to content

Blogpost for Zarr 2.11 #901

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

Closed
jakirkham opened this issue Dec 1, 2021 · 2 comments · Fixed by zarr-developers/blog#6
Closed

Blogpost for Zarr 2.11 #901

jakirkham opened this issue Dec 1, 2021 · 2 comments · Fixed by zarr-developers/blog#6

Comments

@jakirkham
Copy link
Member

There are a few significant changes in this planned release worth highlighting for end users. Along these lines it would be useful to have a blogpost to provide a bit more details on what was implemented and any behavior changes users should expect. Here are a few big things that stick out to me (though feel free to call out others). Would suggest that we write maybe a short blurb (maybe a paragraph) on each of these and then combine them together. Thoughts? 🙂

cc @jni @d-v-b @grlee77 @joshmoore

@jni
Copy link
Contributor

jni commented Jan 27, 2022

Ok, suggestions:

For fancy indexing:

Zarr arrays now support NumPy-style fancy indexing with arrays of integer coordinates. This is equivalent to using zarr.Array.vindex. Mixing slices and integer arrays is not supported.

For empty chunks:

One of the advantages of the zarr format is that it is sparse, which means that chunks with no data (more precisely, with data equal to the fill value, which is usually 0) don't need to be written to disk at all. They will simply be assumed to be empty at read time. However, until this release, the zarr library would write these empty chunks to disk anyway. This changes in this version: a small performance penalty at write time leads to significant speedups at read time and in filesystem operations in the case of sparse arrays. To revert to the old behavior, pass the argument write_empty_chunks=True to the array creation function.

Happy to edit as needed! 😊

@jakirkham
Copy link
Member Author

This was done in PR ( zarr-developers/blog#6 ). Closing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants