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
DataArrayorDataSetconstructors (this method doesn't rely on the chunk manager provided by this package) - calling
chunkon an existing XArray object, passingchunked_array_type='arkouda' - calling
open_datasetwithchunked_array_type='arkouda'