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.

Installing

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)
codab.download()
provinces = codab.load(admin_level=1)

Contributing

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

Links

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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file aa-toolbox-0.5.0.tar.gz.

File metadata

  • Download URL: aa-toolbox-0.5.0.tar.gz
  • Upload date:
  • Size: 104.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for aa-toolbox-0.5.0.tar.gz
Algorithm Hash digest
SHA256 aca751de538c4d745de30e6088f9c7c1c959e23706008d573a428909d0b8e190
MD5 5d0f1ec4234caccde8210c9cead342e9
BLAKE2b-256 cfd5fc19ca6aa174343474ab1f2d211fb380fde2e913bbdc25e536c48a19bc67

See more details on using hashes here.

File details

Details for the file aa_toolbox-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: aa_toolbox-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 71.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for aa_toolbox-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f90bd2e983e28943e2049609f9bccbe7e25f83646eedadbd93c80b1fb0787f71
MD5 f7ac56784d9f6b2a28c0bdf5be0225bc
BLAKE2b-256 ffb21cb74196c5e6abd31c81f5ab54b84ca78d13c04e69db3f3e457d13636c84

See more details on using hashes here.

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