Skip to content

WFP-VAM/hdc-algo

Repository files navigation

hdc-algo

hdc-algo

This repo contains (mostly numba accelerated) algorithmic code and selected additional functions used in the WFP HumanitarianDataCube (HDC).

Installation

# mamba/conda
mamba install -c wfp-ram hdc-algo

# pip
pip install --extra-index-url=https://data.earthobservation.vam.wfp.org/pypi/ hdc-algo

Development

This project uses uv for dependency management.

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and setup
git clone https://github.com/WFP-VAM/hdc-algo.git
cd hdc-algo
uv sync --all-extras --dev

# Run tests
uv run pytest

# Run linting and formatting
uv run ruff check hdc tests
uv run ruff format hdc tests
uv run mypy hdc

About

Algorithmic code used in the HumanitarianDataCube

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages