项目作者: hsbay

项目描述 :
Carbon Dioxide Removal (CDR) Modeling Experiments
高级语言: Jupyter Notebook
项目地址: git://github.com/hsbay/cdrmex.git
创建时间: 2019-04-26T05:54:41Z
项目社区:https://github.com/hsbay/cdrmex

开源协议:Creative Commons Attribution 4.0 International

下载


CDRMEx

Carbon Dioxide Removal (CDR) Modeling Experiments

CC-BY-4.0, 2020 Shannon A. Fiume

This project models highly speculative Carbon Dioxide Removal to understand
its effects and speculate how much carbon may need to be removed to return to a
carbon dioxide concentration of 280 ppm. The experiments are performed in MAGICC6.8
and have been run on pymagicc. The repo contains the scenario input files for MAGICC
and a notebook that outlines the experiments and results.

The experiments are shown in ONCtests.ipynb which is
a jupyter notebook that runs pymagicc, and requires windows or
wine when run on a non-windows platform. To run these experiments, download
wine,
python, pip,
pymagicc, this repo, and open the
notebook in jupyter.

Install and run the workbook

Download/install wine

Next open a terminal, and add wine to the path.

Then run:

  1. pip install -r requirements.txt
  2. jupyter-notebook ONCtests.ipynb

Install for development

Open a terminal and do something like the following:

  1. which wine
  2. git clone https://github.com/hsbay/cdrmex
  3. git clone https://github.com/openscm/pymagicc
  4. cd pymagicc
  5. make venv
  6. ./venv/bin/pip install --editable .
  7. ./venv/bin/pip install ipywidgets appmode
  8. ./venv/bin/pip install -r requirements.txt
  9. jupyter nbextension enable --py --sys-prefix widgetsnbextension
  10. jupyter nbextension enable --py --sys-prefix appmode
  11. jupyter serverextension enable --py --sys-prefix appmode
  12. ./venv/bin/jupyter-notebook ../cdrmex/ONCtests.ipynb

After the notebook is up, run all the cells, if they haven’t already been populated.

This workbook uses pymagicc by R. Gieseke, S. N. Willner and M. Mengel, (2018).
Pymagicc: A Python wrapper for the simple climate model MAGICC.
Journal of Open Source Software, 3(22), 516,
https://doi.org/10.21105/joss.00516

MAGICC is by:
M. Meinshausen, S. C. B. Raper and T. M. L. Wigley (2011).
“Emulating coupled atmosphere-ocean and carbon cycle models with a simpler model, MAGICC6: Part I “Model Description and Calibration.”
Atmospheric Chemistry and Physics 11: 1417-1456.
https://doi.org/10.5194/acp-11-1417-2011

This software is CC-BY-4.0 and carries no warranty towards any liability, use at your own risk.
See license.txt for more information.