Skip to content

lolow/ENGAGE-overshoot-impacts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ENGAGE - Impacts and overshoot of net-zero scenarios

This repository is released under the Apache License 2.0; see the LICENSE for details.

Copyright 2021 Laurent Drouet, Simone Padoan.

License

Overview

This code has been used for the data analysis and the figures from Drouet et al. (2021).

Usage

It is written in R and relies on two packages for reproducibility: drake for the workflow and renv for the dependency management. To run the analysis, you need to install first the renv packages, as it will be suggested if you open R from the main directory. Then execute once the following command to install the missing dependencies:

renv::restore()

To launch the data analysis, run

drake::r_make()

Note that the data analysis is heavily computing demanding, as it takes two days of computation using 85 nodes of 36 cores in the CMCC supercomputer. For this, you will need to adjust the drake configuration to your computing system. Please see the documentation at https://books.ropensci.org/drake/hpc.html.

To build the figures, run

# graphs
require("ggplot2")
require("viridisLite")
require("ggrepel")
require("ggsci")
require("scales")
require("patchwork")

#maps
require("rnaturalearth")
require("rnaturalearthdata")
require("rgeos")
require("sf")

make(plan2)

For any questions, please ask laurent.drouet [at] eiee.org.

Funding acknowledgement

EU logo

This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 821471 (ENGAGE).

About

Source code of the analysis and the figures of the impact analysis of the ENGAGE scenarios.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published