Skip to main content

carbonplan / trace

working repo for carbonplan's climate trace project

GitHub Build Status MIT License Binder

This repository includes example Jupyter notebooks and other utilities for a collaborative project CarbonPlan is working on involving tracking emissions related to biomass losses from forests.

This project is a work in progress. Nothing here is final or complete.

We have completed the scripts and notebooks for delivery of version 0 of the dataset (carbonplan_trace/v0) which largely reproduces and extends work by Zarin et al (2016) as hosted on the Global Forest Watch platform.

Input datasets include:

  • aboveground biomass for year 2000 (Zarin et al., 2016)
  • binary masks of tree cover loss year for 2001-2020 (Hansen et al (2013))
  • Suomi NPP (VIIRS) Fire Masks for 2011-2020 (Schroeder et al., 2014)
  • country boundary shapefile from the Database of Global Administrative Areas (GADM) version 3.6. Note: Geopolitical boundaries that have changed over the period of record will be tagged to the static country designation as defined in GADM v3.6.

Some tips for reproducing this effort:

  • The scripts/aggregate_emissions.v0.py script can be run to reproduce both the 3 km global emissions raster dataset and the country-average estimates. As a warning, depending on the size of the machine you're running on, you might encounter memory issues when dealing with the 30m datasets. For that reason, we opted to process the 30m tiles in serial. If you are struggling, you might want to check to ensure that your cluster isn't getting overloaded.
  • We recommend using the sample notebook notebooks/blogpost_sample_notebook.ipynb as a starting point to introduce yourself to the structure of the data and how to work with a high resolution global product. We emphasize that the 3km product may be sufficient for some users.

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 non-profit organization that uses data and science for climate action. We aim to improve the transparency and scientific integrity of carbon removal and climate solutions through open data and tools. Find out more at carbonplan.org or get in touch by opening an issue or sending us an email.

Metadata

Release files for carbonplan-trace 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carbonplan-trace 0.4.0
File Size Uploaded
carbonplan-trace-0.4.0.tar.gz 548.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for carbonplan-trace 0.4.0
File Interpreter ABI Platform
carbonplan_trace-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 619.0 kB

Release files / carbonplan-trace-0.4.0.tar.gz

Download URL carbonplan-trace-0.4.0.tar.gz
Size 548.6 kB
Tags Source
SHA-256 checksum
How to use checksums
dffad3033610c857c081b99d5176ce7b0ccfeb9691c20d8826c787ecb3d41348
BLAKE2b-256 checksum
How to use checksums
9b64cb3c4ce317d88fb68be42707e9c2c49ff314f9858e54227254451dc6ac7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / carbonplan_trace-0.4.0-py3-none-any.whl

Download URL carbonplan_trace-0.4.0-py3-none-any.whl
Size 70.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95eb34f1e3665476aea1c442f64359306d77e9c1acaab3758fad2ba4404bb545
BLAKE2b-256 checksum
How to use checksums
73915fafc56a4158bfcc6620a83d4a714d7429c9d52d16a1ea9932e4f4b254c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page