Replies: 2 comments 2 replies
-
I solve this problem by making pydantic models for my zarr arrays / groups: see https://github.com/janelia-cellmap/pydantic-zarr. I'd be curious to hear your feedback on that library. it's definitely been extremely helpful for my own work. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Since you are using Xarray, you may also want to take a look at xarray-schema. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
We use zarr as a backend to store data generated by a pipeline. These data take the form of counts, and metadata.
We typically use
xarray
to write and load zarr stores intoxarray.Dataset
objects.As we begin to formalise, we realise we need a way to validate that a zarr store is what we are expecting. Specifically:
I've looked at pydantic and AVRO, but they don't seem to do exactly what I want. Is anyone aware of any other solutions that would enable this? Or able to provide an example?
Beta Was this translation helpful? Give feedback.
All reactions