Interface for using arkouda's Array API module with xarray.
(modeled after: https://github.com/cubed-dev/cubed-xarray)
- Arkouda (see installation instructions)
- XArray (install via conda-forge)
Clone this repository, cd
into arkouda_xarray and run:
pip install .
With this library installed, XArray's entry point system should automatically recognize that the Arkouda ChunkManager is available. Importing arkouda_xarray
in your code is not necessary.
Xarray objects backed by Arkouda's Array-API compliant arrays can be created in 3 ways:
- passing the array(s) to the
DataArray
orDataSet
constructors (this method doesn't rely on the chunk manager provided by this package) - calling
chunk
on an existing XArray object, passingchunked_array_type='arkouda'
- calling
open_dataset
withchunked_array_type='arkouda'