How to write zarr for easy reading back with Xarray #7554
-
I have a
But |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @Marston - can you please read our guidelines for github discussions? It's not immediately obvious to me what is going wrong here, and without an error message, copy-pastable example, or an example zarr store that we can access we cannot easily help you further.
There is documentation on using xarray with zarr - does that help you with your issue? If you are trying to open both groups at once simultaneously then you would need to use xarray-datatree, but I'm unclear as to whether that is what you are actually trying to do. |
Beta Was this translation helpful? Give feedback.
If you actually need to create a zarr store manually then you will need to follow the spec, as @keewis linked, but it will probably be much easier to create an xarray.Dataset and use .to_zarr as you say.