Skip to main content

Xarray extension that provides indexes for selecting irregular, n-dimensional data.

Project description

# xoak

[![Tests](https://github.com/xarray-contrib/xoak/workflows/test/badge.svg)](https://github.com/xarray-contrib/xoak/actions?query=workflow%3Atest) [![Coverage](https://codecov.io/gh/xarray-contrib/xoak/branch/master/graphs/badge.svg?branch=master)](https://codecov.io/github/xarray-contrib/xoak?branch=master) [![Documentation Status](https://readthedocs.org/projects/xoak/badge/?version=latest)](https://xoak.readthedocs.io/en/latest/?badge=latest) [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/xarray-contrib/xoak/master?filepath=doc%2Fexamples)

Xoak is an Xarray extension that allows point-wise selection of irregular, n-dimensional data encoded in coordinates with an arbitrary number of dimensions.

It provides a built-in index adapter for [Scipy](https://docs.scipy.org/doc/scipy/reference/)’s cKDTree, as well as adapters for index structures implemented in these 3rd-party libraries (optional dependencies):

Xoak also provides a mechanism for easily adding and registering custom index adapters.

## Install

Xoak can be installed using conda (or mamba):

`bash $ conda install xoak -c conda-forge `

or pip:

`bash $ python -m pip install xoak `

Xoak’s optional dependencies can be installed using conda:

`bash $ conda install scikit-learn pys2index -c conda-forge `

## Documentation

Documentation is hosted on ReadTheDocs: https://xoak.readthedocs.io/

## License

MIT License, see LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xoak-0.1.1.tar.gz (28.9 kB view details)

Uploaded Source

Built Distribution

xoak-0.1.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file xoak-0.1.1.tar.gz.

File metadata

  • Download URL: xoak-0.1.1.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for xoak-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aa6e30ac9733a4e10b20d9a90cbfe987fcdd3e14b0b6e514392238cd54fad703
MD5 157b7a464d8438abc6c4810f1b5cfa75
BLAKE2b-256 09b053a22316878099844c1c4c666e50043b8e7f18ca68e5a3f81f44be5cd219

See more details on using hashes here.

File details

Details for the file xoak-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: xoak-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for xoak-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef34f444989ce5ca14a15822c69ab8434b3b21273311bf6123f1d1f36be237a8
MD5 3025c5df77d3cf5a78270eb40fd21f96
BLAKE2b-256 79f5c95bd99c67568e1f34855a0c96e2fc61956c452e5a49020380c32ee59d1c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page