Skip to main content

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

Project description

xoak

Tests Coverage Documentation Status Binder

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's cKDTree, as well as adapters for index structures implemented in these 3rd-party libraries (optional dependencies):

  • Scikit-Learn: BallTree and KDTree, which support various distance metrics.
  • pys2index: S2PointIndex for efficient indexing of lat/lon point data, based on s2geometry.

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

Install

Xoak can be installed using conda (or mamba):

$ conda install xoak -c conda-forge

or pip:

$ python -m pip install xoak

Xoak's optional dependencies can be installed using conda:

$ 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.2.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: xoak-0.1.2.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xoak-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dcad57c35818926032beef2dc78ef7bd99349bfd427cd3a87699b91c976946d9
MD5 8b6d78fc3b1a63d44c113664c01ec0c2
BLAKE2b-256 ac9ab37ab6a0e582ff6b6a53e7e945f4348a6da8d7cd84445ed28c3086649c17

See more details on using hashes here.

Provenance

The following attestation bundles were made for xoak-0.1.2.tar.gz:

Publisher: pypipublish.yaml on xarray-contrib/xoak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: xoak-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xoak-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 940c6827ef5cec923ad571e392e5a770c1213c4184231bffb792d5b3a5049e38
MD5 a1db8d09c4a6ae319b58961123b64616
BLAKE2b-256 4aafb9942801d47479357d631c7954ca0f01f2a25d4b2e9a1152f5bb71faab79

See more details on using hashes here.

Provenance

The following attestation bundles were made for xoak-0.1.2-py3-none-any.whl:

Publisher: pypipublish.yaml on xarray-contrib/xoak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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