This repository includes the code used to produce the results of the following scientific article:
Vieilledent G., C. Vancutsem, C. Bourgoin, P. Ploton, P. Verley, and F. Achard. 2023. Spatial scenario of tropical deforestation and carbon emissions for the 21st century. bioRxiv. doi: 10.1101/2022.03.22.485306. Supplementary Information
Figure: Pantropical map of the risk of deforestation.
This
notebook
provides a minimal and reproducible example presenting the general
approach we followed to model and forecast deforestation in each of the
119 study areas (representing 92 countries) considered in the above
article. We use the Guadeloupe archipelago as a case study. The notebook
is available at the website
associated with the forestatrisk
Python package. This package has been
specifically developed for this study and provides functions to model
and forecast deforestation in the tropics.
We present below the R and Python scripts which have been used to produce the results of the study, from the datasets preparation to the writing of the manuscript.
## Derive past forest cover change maps from the annual product
## of Vancutsem et al. 2021 using Google Earth Engine.
python Tropics/forest_gee_jrc.py
## Download raw data from on-line databases (GADM, SRTM, WDPA, OSM), and Google Drive.
python Tropics/download_raw_data.py
## Compute explanatory variables (elevation, slope, distances, etc.).
python Tropics/compute_variables.py
## Compute deforestation rates and uncertainty
Rscript Intensity/intensity.R
## Estimate contagious deforestation between states of Brazil
python Intensity/brazil_fcc_jrc.py
## Model and forecast
python Tropics/model_and_forecast.py
## Combine rasters to obtain continental maps
python Maps/combine.py
## Synthesize results
Rscript Analysis/synthesis.R
## Plot main maps
Rscript Maps/main_maps.R
Rscript Maps/main_maps_prob.R
## Plot supplementary maps
Rscript Maps/supp_maps.R
## Compile documents
Rscript Manuscript/zzz_knitr_compile/compile_book.R
A website at https://forestatrisk.cirad.fr is accompanying the article cited above. The website includes the following resources:
We release interactive pantropical maps of the past forest cover change (2000–2010–2020), of the risk of deforestation (2020), and of the projected forest cover in 2050 and 2100:
Rasters of results from this study can be downloaded as Cloud Optimized GeoTIFFs (COG):
- Data S1: Uncertainty around projected forest cover.
- Data S2: Uncertainty around projected carbon emissions.
Results from this study have been obtained with the forestatrisk
Python package:
- Package website (with full documentation)
- Tutorials