Skip to content

WoodwellRisk/cadf

Repository files navigation

License: MIT

Woodwell Risk Central African Drought Forecast (CADF)

...

Data sources

...

Processing steps

Vector data

Our boundary files came from Natural Earth. So far, we have used:

  • 10m land and ocean boundaries [link]
  • 10m country- and state-level boundaries [link].

All SHP files were converted to GeoJSON format in GeoPandas. From there, we used Tippecanoe to convert the GeoJSON files to Mapbox .mbtiles format and used the Mapbox tool mbutil to convert those tiles to .pbf format.

Running this site

First, install Node dependencies.

npm install

Then, run a local development server.

npm run dev

Contributing

If you are considering making suggested changes to the codebase, please install pre-commit in your local environment.

pip install pre-commit

Then, you can initialize the code formatting hooks we set up with prettier like so:

pre-commit install

pre-commit hooks generally only run on files that have been staged for git commits. To make sure you lint and format all files before suggesting changes, you should run:

pre-commit run --all-files

Acknowledgements

This site's interface and functionality rely heavily on code developed by CarbonPlan. Specifically, we used the zarr-layer, and components libraries. You can read more about CarbonPlan's research and software development work here.

This repository contains code from the CarbonPlan components package. Copyright (c) 2020 CarbonPlan, distributed under a MIT License.

This repository contains code from the CarbonPlan zarr-layer package. Copyright (c) 2025 CarbonPlan, distributed under a MIT License.

Releases

No releases published

Packages

 
 
 

Contributors