Reading OME-Zarr into Xarray
Hi,
I'm curious what your plans are regarding reading OME-Zarr files into Xarray? It seems like this package currently only implements to to_multiscale and to_zarr functinoality.
I was playing around with making an xarray backend to wrok for ome-zarr files so you could just xr.open_zarr("some-name.ome.zarr") and ended up going a bit farther than I intended and ended up with this project https://github.com/ianhi/xarray-ome?tab=readme-ov-file#xarray-ome
which makes use of @thewtex's ngff-zarr
I'd love to not duplicate effort on ome-zarr <-> xarray so reaching out about this. It currently seems like there are slightly different goals we have. Please correct me if I'm wrong on the below
Xarray-ome:
- Strictly ome-zarr into or out of xarray
- no in memory manipulations (e.g. generate multiscales)
Xarray-multiscales:
- converting in memory objects into ome-zarr compatible datatrees
- writing datatree to ome-zarr
@ianhi amazing work!! 💖 👏 Yes, I think we have the same mission and should avoid duplicated effort. Let's find a time to chat.
Yes @ianhi, yes!