Disrespect Others, Respect the Climate? Applying Social Dynamics with Inequality to Forest Climate Models
This repository contains the source code for the simulations and plots in the ``Disrespect Others, Respect the Climate? Applying Social Dynamics with Inequality to Forest Climate Models'' manuscript. The preprint is available on arXiv.
- requirements.txt: list of python requirements
- Plotly_plot.ipynb: Jupyter notebook that generates static and interactive phase portraits (Figure 1)
- outcomesovertime.ipynb: Jupyter notebook that generates mitigation proportion trajectories (Figures 3, 5)
- heatmaps.ipynb: Jupyter notebook that generates mitigation proportion trajectories (Figures 2, 4, 6-8)
To run the simulations, create a virtual environment
python3 -m venv .venv
source .venv/bin/activate
and install the dependencies
python3 -m pip install -r requirements.txt
The jupyter notebooks can be viewed by launching jupyter
jupyter notebook
and selecting the appropriate .ipynb
file
The scripts can be run using python directly:
python3 <script name>.py