A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

forest-risks

Statistical models of forest carbon potential and risks.
https://github.com/carbonplan/forest-risks

Category: Emissions
Sub Category: Carbon Offsets and Trading

Keywords from Contributors

data-catalog intake archiving blog compression climate transforms observation downscale measur

Last synced: about 18 hours ago
JSON representation

Repository metadata

statistical models of forest carbon potential and risks

README.md

carbonplan / forest-risks

forest carbon potential and risks

CI
PyPI
License: MIT
DOI

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

install

pip install carbonplan[forest-risks]

usage

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 regrid.py and convert.py 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.

license

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 nonprofit 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 carbonplan.org or get in touch by opening an issue or sending us an email.

contributors

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

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

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 305
Total Committers: 13
Avg Commits per committer: 23.462
Development Distribution Score (DDS): 0.636

Commits in past year: 2
Committers in past year: 1
Avg Commits per committer in past year: 2.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
freeman-lab t****b@g****m 111
Oriana Chegwidden o****c@u****u 91
Joseph Hamman j****n@u****u 39
dependabot[bot] 4****] 22
Joe Hamman j****e@c****g 17
badgley b****y@g****m 11
badgley g****y@g****m 6
Max Jones 1****s 2
pre-commit-ci[bot] 6****] 2
Joe Hamman j****1@g****m 1
Joe Hand j****e@h****l 1
Kata Martin k****m@g****m 1
Raphael Hagen n****n@g****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: 2 days ago

Total issues: 5
Total pull requests: 108
Average time to close issues: 11 months
Average time to close pull requests: about 2 months
Total issue authors: 3
Total pull request authors: 10
Average comments per issue: 1.4
Average comments per pull request: 0.57
Merged pull request: 41
Bot issues: 0
Bot pull requests: 83

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/carbonplan/forest-risks

Top Issue Authors

  • jhamman (3)
  • orianac (1)
  • mishagrol (1)

Top Pull Request Authors

  • dependabot[bot] (81)
  • orianac (7)
  • badgley (7)
  • jhamman (4)
  • norlandrhagen (2)
  • freeman-lab (2)
  • pre-commit-ci[bot] (2)
  • joehand (1)
  • andersy005 (1)
  • katamartin (1)

Top Issue Labels

Top Pull Request Labels

  • dependencies (81)
  • github_actions (81)

Package metadata

pypi.org: carbonplan-forest-risks

forest carbon potential and risks

  • Homepage: https://github.com/carbonplan/forest-risks
  • Documentation: https://carbonplan-forest-risks.readthedocs.io/
  • Licenses: MIT
  • Latest release: 1.0.0 (published almost 4 years ago)
  • Last Synced: 2025-04-26T14:35:06.008Z (2 days ago)
  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 119 Last month
  • Rankings:
    • Dependent packages count: 7.31%
    • Stargazers count: 11.719%
    • Forks count: 15.416%
    • Average: 21.433%
    • Dependent repos count: 22.088%
    • Downloads: 50.633%
  • Maintainers (3)

Dependencies

dev-requirements.txt pypi
  • pytest * development
  • pytest-cov * development
  • pytest-sugar * development
requirements.txt pypi
  • altair *
  • altair-data-server *
  • carbonplan *
  • dask *
  • fastparquet *
  • fsspec *
  • google-cloud-storage *
  • intake *
  • intake-geopandas *
  • intake-xarray *
  • netcdf4 *
  • networkx *
  • pandas *
  • pytest *
  • rasterio *
  • scikit-learn *
  • tenacity *
  • urlpath *
  • vega_datasets *
  • xarray *
  • zarr *
.github/workflows/main.yaml actions
  • actions/checkout v2.4.0 composite
  • actions/setup-python v2.3.1 composite
  • conda-incubator/setup-miniconda v2.1.1 composite
  • crazy-max/ghaction-docker-meta v3.6.1 composite
  • docker/build-push-action v2 composite
  • docker/login-action v1 composite
  • docker/setup-buildx-action v1.6.0 composite
  • docker/setup-qemu-action v1 composite
  • pre-commit/action v2.0.3 composite
envs/R-notebook/Dockerfile docker
  • $BASE_CONTAINER latest build
envs/python-notebook/Dockerfile docker
  • pangeo/base-image 2020.10.27 build
envs/python-notebook/environment.yml pypi
  • carbonplan *
  • carbonplan-data *
  • carbonplan-forests *
  • carbonplan-styles *
  • numbagg *
  • showit *
setup.py pypi

Score: 11.21387231955567