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.1.tar.gz (193.9 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.1-py3-none-any.whl (54.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: odc_algo-1.2.1.tar.gz
  • Upload date:
  • Size: 193.9 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.1.tar.gz
Algorithm Hash digest
SHA256 cb7f9439db1caa5a2e637efe114a0570b0c16856d483786bc5caab06b9916eb6
MD5 636a8495ce3154eea77491737a84a5e9
BLAKE2b-256 8be13e2d800540decec87716a4f9db61698b6e32139761d555fc259c9f9bac7c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: odc_algo-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 54.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1fb2883433ca0591fb44aaf92390446c6d87dd83345da93e30701dddc7ba948e
MD5 c311714b62ec35196d599ffe9743058b
BLAKE2b-256 59bb5abc34dc3f070f1937d0964f6bedfeee44a0ef69d9125fa35903e3f3515a

See more details on using hashes here.

Provenance

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