Skip to content
/ FAIR Public
forked from chrisroadmap/FAIR

Finite Amplitude Impulse-Response simple climate-carbon-cycle model

License

Notifications You must be signed in to change notification settings

njleach/FAIR

Repository files navigation

FaIRv2.0.0

This repo contains model code and supporting notebooks to accompany the paper describing version 2.0.0 of the FaIR simple climate model (https://gmd.copernicus.org/preprints/gmd-2020-390/). The repo structure is outlined below.

Code

path/to/file.py description
fair/fair_runner.py All functions required to run FaIRv2.0.0-alpha, the development version of FaIRv2.0.0
fair/scripts/data_retrieval.py Functions that retrieve RCMIP protocol datasets, and transform them into FaIRv2.0.0-alpha compatible inputs.
fair/scripts/EBM_to_FaIR.py Functions that convert Energy Balance Model parameters into FaIRv2.0.0-alpha climate response parameters
fair/scripts/FaIR_tuning_scripts.py A function that is used to tune the gas cycles by inverting a concentration timeseries to emissions under a prescribed temperature series.
fair/scripts/stats.py A function for calculating ordinary least squares estimators rapidly.

Example notebook

path/to/file.py description
notebooks/example-nb.ipynb Demonstration of FaIRv2.0.0-alpha I/O formats, plus some examples of how to run experiments.

To install and run the notebook examples, clone the repository, create a virtual environment and from the base directory run

pip install -e .[examples]

Zenodo DOI

TODO

License

CC4.0

About

Finite Amplitude Impulse-Response simple climate-carbon-cycle model

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Jupyter Notebook 78.6%
  • Python 21.4%