Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

carbonplan / forest-risks

forest carbon potential and risks

CI MIT License DOI

This repository includes our libraries and scripts for mapping forest carbon potential and risks.


pip install carbonplan[forest-risks]


This codebase is organized into modules that implement data loading and model fitting as well as utitlies for plotting and other common tasks. Most anlayses involve some combination of the load and fit modules.

The scripts folder contains tools to import data, run models, and parse results.

The and scripts are for converting the results to zarr files for storage and geojson for visualization purposes.

Several notebooks are additionally provided that show the use of these tools for fitting models and inspecting model outputs. Notebooks are organized by the model type, e.g. biomass, fire, etc.

data products

As part of this project we have created derived data products for five key variables relevant to evaluating forest carbon storage potential and risks.

  • biomass The potential carbon storage in forests assuming continued growth of existing forests.
  • fire The risks associated with forest fires.
  • drought The risk to forests from insect-related tree mortality.
  • insects The risk to forests from insect-related tree mortality.

Gridded rasters for each of these layers are available for the continental United States at a 4km spatial scale. For biomass and fire, projections are shown through the end of the 21st century in decadal increments. Drought and insect models are still in development so we currently only show historical risks for these disturbance types. All data are accessible via this catalog. Additional formats and download options will be provided in the future.


All the code in this repository is MIT licensed. When possible, the data used by this project is licensed using the CC-BY-4.0 license. We include attribution and additional license information for third party datasets, and we request that you also maintain that attribution if using this data.

about us

CarbonPlan is a non-profit organization that uses data and science for climate action. We aim to improve the transparency and scientific integrity of climate solutions with open data and tools. Find out more at or get in touch by opening an issue or sending us an email.


This project is being developed by CarbonPlan staff and the following outside contributors:

  • Bill Anderegg (@anderegg)
  • Grayson Badgley (@badgley)
  • Anna Trugman