Wrapping a kerchunk.Array
object directly with xarray
#8699
Labels
array API standard
Support for the Python array API standard
bug
contrib-help-wanted
topic-combine
combine/concat/merge
topic-indexing
topic-internals
topic-lazy array
topic-zarr
Related to zarr storage library
What is your issue?
In fsspec/kerchunk#377 the idea came up of using the xarray API to concatenate arrays which represent parts of a zarr store - i.e. using xarray to kerchunk a large set of netCDF files instead of using
kerchunk.combine.MultiZarrToZarr
.The idea is to make something like this work for kerchunking sets of netCDF files into zarr stores
I had a go at doing this in this notebook, and in doing so discovered a few potential issues with xarray's internals.
For this to work xarray has to:
kerchunk.Array
object which barely defines any array API methods, including basically not supporting indexing at all,xr.concat
,kerchunk.Array
.It's an interesting exercise in using xarray as an abstraction, with no access to real numerical values at all.
The text was updated successfully, but these errors were encountered: