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.2.0.tar.gz (13.5 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.2.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xoak-0.2.0.tar.gz
Algorithm Hash digest
SHA256 04700c697444ab734581aa0fd5b30d4ca70018ee491472643c5286788cf9e797
MD5 56c9e92a886f4d4210f6498d6e02d9e6
BLAKE2b-256 06079799b36a14e2a8c3fbcea8e71275e0eece2e075c36830d50de0109793688

See more details on using hashes here.

Provenance

The following attestation bundles were made for xoak-0.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: xoak-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6d862d021141f34f3e4c5244d212a2de835e92467e29912f88a14e68fc04a22
MD5 5483680506e7312dba4da7a38479a7e1
BLAKE2b-256 acc8a2e1783ac1c69a33559c3dc36bdab594df9319b329998ab75943a1b431c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for xoak-0.2.0-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