Skip to main content

Miscellaneous Algorithmic helper methods

Project description

Open Data Cube Algorithms

Xarray and Dask friendly EO Processing Algorithms and Utilities.

Note: This package only contains algorithms. If you want to use them for processing EO data, you'll find using odc-stats much simpler.

  • Cloud Masking
  • Geometric Median
  • Percentiles
  • Dask Aware Raster Reprojection
  • Efficiently generating and saving Cloud Optimized GeoTIFFs to S3
  • Reshaping Dask Arrays for Efficient Computation
  • Converting between Floats with NaNs and Ints with nodata values

Installation

pip install odc-algo

Usage

Building

  1. Install the Python build tool. python -m pip install build
  2. Build this package. python -m build

Development

  1. Follow build instructions
  2. Install as dev pip install -e .[dev]

Alternatively, install with the whl file.

Tasks

  • Decide whether to use pixi, or uv. I think pixi, it handles Rust stuff.
  • Document the Geomedian API we're trying to expose. See odc-stats
  • Document the Percentile API we're exposing.
  • Regresssion Tests instead of installing old dependencies.
  • Update GitHub Actions to build and test Rust backend
  • Update GitHub Actions to build and test against multiple Python versions
  • Consider what type of binary wheels to build. [abi3/multi-python version compatible is tempting]
  • Update Rust dependencies.
  • De-duplicate with odc-geo. It includes COG and Warp functionality that's better maintained, but may not be identical...
  • Consider vendoring the skimage morphology functions we're using, instead of depending on the whole thing.

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

odc_algo-1.1.0.tar.gz (128.5 kB view details)

Uploaded Source

Built Distribution

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

odc_algo-1.1.0-py3-none-any.whl (48.2 kB view details)

Uploaded Python 3

File details

Details for the file odc_algo-1.1.0.tar.gz.

File metadata

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

File hashes

Hashes for odc_algo-1.1.0.tar.gz
Algorithm Hash digest
SHA256 bcf1b58f581ab689ac20536d2da7cabf209f00a8400783a25a6eef8872f7139a
MD5 30f61d57832f69eab39f864ae5bdd9ff
BLAKE2b-256 25a9c9a003321297d4d481d23d57a4463ab2f86952a17e812fe0ab2e68ba9f8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for odc_algo-1.1.0.tar.gz:

Publisher: release.yml on opendatacube/odc-algo

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

File details

Details for the file odc_algo-1.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for odc_algo-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2d5f7a98d601d793e53e9a37a565be945bc918dcf20e56f8904d8a49cebab11
MD5 dab1665780d31c223e7f5ecd74450153
BLAKE2b-256 a09b19f006b4120971253e3958803e93b84eafc0039c56aff40f1bb292f55ba6

See more details on using hashes here.

Provenance

The following attestation bundles were made for odc_algo-1.1.0-py3-none-any.whl:

Publisher: release.yml on opendatacube/odc-algo

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