-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Up-to-date instructions for reading & writing to Zarr with Xarray #10410
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
Conversation
I summarize the conclusions from the discussion in zarr-developers/zarr-python#2706 (comment), taking leave from Tom and Ryan's books. I found that these docs didn't reflect the default state of Zarr and Xarray, and I hope this makes for less painful debugging for the next person.
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. |
for more information, see https://pre-commit.ci
doc/user-guide/io.rst
Outdated
For writing, you must explicitly set up a ``MutableMapping`` | ||
instance and pass this, as follows: | ||
For writing, you may either specify a bucket URL or explicitly set up a | ||
``zarr.abc.store.Store`` instance, as follows: | ||
|
||
.. code:: python | ||
|
||
import gcsfs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a great place to use inline tabs. I'm thinking 3 tabs: "URL", "bbstore", and "fsspec". Are you up for making that change? We already depend on this plugin: https://sphinx-inline-tabs.readthedocs.io/en/latest/usage.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea, and TIL the syntax. No problem at all.
that looks great @alxmrs ! |
I summarize the conclusions from the discussion in zarr-developers/zarr-python#2706 (comment), taking leaves from Tom and Ryan's books. I found that these docs didn't reflect the default state of Zarr and Xarray, and I hope this makes for less painful debugging for the next person.