Published March 4, 2022 | Version 1.0
Software Open

Code for "New land-use-change emissions indicate a declining CO2 airborne fraction"

  • 1. Vrije Universiteit Amsterdam, Deltares
  • 2. Vrije Universiteit Amsterdam
  • 3. Woodwell Climate Research Center
  • 4. NASA Goddard Institute for Space Studies
  • 5. Wageningen University

Description

Data and programming scripts for reproducing the results from the Nature publication titled:

"New land-use-change emissions indicate a declining CO2 airborne fraction".

Authors: Margreet J. E. van Marle*, Dave van Wees*, Richard A. Houghton, Robert D. Field, Jan Verbesselt, and Guido R. van der Werf
* These authors contributed equally.

DOI: https://doi.org/10.1038/s41586-021-04376-4

 

This dataset includes the following (All files are preceded by "Marle_et_al_Nature_AirborneFraction_"):

- "Datasheet.xlsx": Excel dataset containing all annual and monthly emissions and CO2 time series used for the analysis, and the resulting airborne fraction time series.

- "Script.py":
BEFORE RUNNING THE SCRIPT: change the 'wdir' variable to the directory containing the provided script and files.
NOTE: This script requires the Python module: 'pymannkendall'
Python script used for reproducing the results and figures from the paper. The provided Datasheet.xlsx file and the .zip and .npz files are required for this program. In case all these files are found by the script, it should run within several seconds. Successful execution of the script will save Figures 1-4 from the main text and print the data from Table 1. In case script execution takes longer, please check if the .xlsx, .zip and .npz files are correctly present in the assigned 'wdir' directory. Otherwise the script will start recalculating these files, which might take a while (see notes below).

- "MC10000_MK_ts_TRENDabs.zip": .zip file containing all results from the Monte-Carlo simulation for trend estimation for Figure 3 (calculated using Python function 'calc_AF_MonteCarlo()'). This .zip file contains multiple .npz files for different emission scenarios and data treatments. This .zip file is managed by the Python script function 'calc_AF_MonteCarlo_filemanager()', there is no need to unzip the file manually. In case the .zip file is not found by the Python script (e.g. because the .zip file was unpacked manually and deleted), the program will start recalculating and save a new .zip file. This can take several minutes dependent on the computer used. Recalculated results could differ very slightly due to the random factor in the Monte-Carlo approach, even though the 10,000 iterations bring this variation to a minimum.

- "MC1000_MK_run50x50_TRENDabs.npz": .npz file containing the Monte-Carlo results used for producing Figure 4 (calculated using Python function 'calc_AF_MonteCarlo_ARR()'). In case the .npz file is not found by the Python script (e.g. because it was deleted or not downloaded), the program will start recalculating and save a new file. This can take around 30 hours(!) dependent on the computer used. Recalculated results could differ slightly due to the random factor in the Monte-Carlo approach.

- "tol_colors.py": Additional Python module used in script.py, required for producing the colors used in the Main text figures. Source: https://personal.sron.nl/~pault/

- Figure files: Figures 1-4 from the Main text saved as .pdf files. Figure 3 is saved as three independent panels. The Figures are also reproduced by script.py if executed successfully.

 

Files

Marle_et_al_Nature_AirborneFraction_Figure1.pdf

Files (903.6 MB)

Name Size Download all
md5:dd7e8a57abf428a66f31a6c669c5eb88
262.0 kB Download
md5:121e5ce874652e3d472ffd23c10b635b
979.6 kB Preview Download
md5:36db052e0b9535c0c767ca76515904b8
985.0 kB Preview Download
md5:38937863c062d3d3cfc6af2e654985e5
977.1 kB Preview Download
md5:6b8cd321612a2b1edf8ff38a204c26c8
977.1 kB Preview Download
md5:ce561289d512568fe58033ab8bcdb97f
977.8 kB Preview Download
md5:5692ff54ce9cdf5de8ef8365530e9230
811.4 kB Preview Download
md5:09d5d2baef42ad6e6a6393a6c7865886
897.2 MB Preview Download
md5:f69aac419eeb817f00e7f44cdbef2442
374.2 kB Download
md5:272d2144190b2f25f2f3092d8e595ad6
77.0 kB Download
md5:46ff164656e004868827e6aeed3ae6d7
3.2 kB Preview Download
md5:0d08a5adb7725e37bd1095eac5a08092
15.2 kB Download

Additional details

Related works

Is supplement to
Journal article: 10.1038/s41586-021-04376-4 (DOI)

Funding

DE-CO2 – Quantifying CO2 emissions from tropical deforestation to ‘close’ the global carbon budget 280061
European Commission