Skip to main content

Toolbox for anticipatory action

Project description

aa-toolbox: Toolbox for anticipatory action

license Test Status PyPI Status Documentation Status Coverage Status pre-commit Code style: black Imports: isort

The anticipatory action (AA) toolbox is a Python package to support development of AA frameworks, by simplifying the downloading and processing of commonly used datasets.

The datasets that we currently support are:

  • CHIRPS rainfall
  • COD ABs (Common Operational Datasets administrative boundaries)
  • FEWS NET food insecurity
  • GloFAS river discharge
  • IRI seasonal rainfall forecast
  • USGS NDVI (normalized difference vegetation index)

For more information, please see the documentation.


Install and update using pip:

pip install -U aa-toolbox

A Simple Example

Download the admin boundary CODs for Nepal, and retrieve provinces as a GeoDataFrame:

from aatoolbox import create_country_config, CodAB

country_config = create_country_config('npl')
codab = CodAB(country_config=country_config)
provinces = codab.load(admin_level=1)


For guidance on setting up a development environment, see the contributing guidelines


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

aa-toolbox-0.5.0.tar.gz (104.4 kB view hashes)

Uploaded source

Built Distribution

aa_toolbox-0.5.0-py3-none-any.whl (71.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page