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

Uploaded Python 3

File details

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

File metadata

  • Download URL: odc_algo-1.2.0.tar.gz
  • Upload date:
  • Size: 154.0 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.2.0.tar.gz
Algorithm Hash digest
SHA256 9fba4aa1ffba62c00a220df0cfd47800f3572b7e308e2bf30c450f42962ba704
MD5 a364481d0d8c1fbe2666b54b80475eae
BLAKE2b-256 13e34416426389283986035f2f7dd2b180567c7bada2484539db99afb7a57c6a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: odc_algo-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 52.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3dff1bcee9aa5d61fca0963caeb4b134d8b40579a6377103230f0a0975d6b00e
MD5 2b6b98ece0190b19478d46d86ce78f79
BLAKE2b-256 9b27f5988de5e615b2a18a2a3fa7939fd525cc83cb02686f48ed55544485eb0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for odc_algo-1.2.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