Doc: document Zarr compression options for to_zarr#12269
Doc: document Zarr compression options for to_zarr#12269jacobtomlinson merged 3 commits intodask:mainfrom
Conversation
Add a short example showing how to pass compression settings (e.g. Blosc with a specific compression level) via storage_options when writing Dask arrays to Zarr.
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 21 files + 2 21 suites +2 5h 14m 26s ⏱️ + 9m 56s For more details on these failures, see this check. Results for commit 45b311f. ± Comparison against base commit 2cb642e. ♻️ This comment has been updated with latest results. |
| ... storage_options={"compressor": compressor}, | ||
| ... ) | ||
|
|
||
| The available compressors and compression settings depend on the Zarr |
There was a problem hiding this comment.
Would you mind adding a link to the Zar docs that explain this? I think that would be helpful for the users
|
Thank you @abslock128w this looks pretty good. I left a few comments. @jacobtomlinson just in case would you give this a pass through in case I'm missing something, beyond what's in the comments. this is the exact rendering in the docs: https://dask--12269.org.readthedocs.build/en/12269/array-creation.html#zarr |
Add a direct link to the Zarr documentation explaining available compressors and compression levels.
|
Thanks for the feedback! I’ve made the suggested changes. |
ncclementi
left a comment
There was a problem hiding this comment.
Small suggestion, if you accept it I think we are good to go.
cleaner render Co-authored-by: Naty Clementi <natyclementi@gmail.com>
|
Thanks for the review @ncclementi The CI failure is unrelated. Is this something you've seen before @TomAugspurger? |
|
Nope, I don't think I have. |
Added a short example showing how to pass compression settings (e.g. Blosc with a
specific compression level) via
storage_optionswhen writing Dask arrays to Zarr.pre-commit run --all-files(not run locally)