Skip to main content

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

Project description

# xoak

[![Tests](https://github.com/ESM-VFC/xoak/workflows/test/badge.svg)](https://github.com/ESM-VFC/xoak/actions?query=workflow%3Atest) [![Coverage](https://codecov.io/gh/ESM-VFC/xoak/branch/master/graphs/badge.svg?branch=master)](https://codecov.io/github/ESM-VFC/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/ESM-VFC/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.0.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

xoak-0.1.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xoak-0.1.0.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for xoak-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7c74ecf5672bcb4eae9b0a4eaa2219f38ace0c2ed50d5d33a98a9bb005f26dfe
MD5 d5928d67f80a4359e106c3deddf72a99
BLAKE2b-256 c617bd82b3eab1ea2ccf4bb78ea8d50d477e6363a463669860f4caee8f423aa7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xoak-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for xoak-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6af8034c10cac65e2febc410cac6df088dafaa87196aaf98f6d4dfec3a40c26
MD5 ff317ca49755bf98111d5e1f4f40ecfc
BLAKE2b-256 38e592ed598adbdf3ef38174e701064970d0cbc44b731505049c5ee0949b5a99

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