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.1.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.1-py3-none-any.whl (48.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: odc_algo-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 84f46df6edb3e2b3f86862e427f4fd1423f75dbea81e0e1223f0bb18b38d5194
MD5 479e1ff03ad97afc3606f1d55fd83050
BLAKE2b-256 159e7f5734c09833f194176057bb577a3275f958189bef39b92988683d607fe9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: odc_algo-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79491d0dab32680a230b7859df9c16c16b0ea5b3e0ce5475a6711410fa708c26
MD5 43ac4f9325d97d71d7b846e2023f808a
BLAKE2b-256 c3af2c79c0b45296f76c36b118e12398ad30067f234770a39c3d258727e2ae71

See more details on using hashes here.

Provenance

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