/twolyr_cmip

Two layer model code and fitting procedure

Primary LanguageJupyter NotebookMIT LicenseMIT

twolyr_cmip

Build Status License:MITpypi

Two-layer model code and fitting procedure

To install and use:

  • Download the repo to NCAR machine and cd to directory:
git clone https://github.com/andrewpauling/twolyr_cmip.git
cd twolyr_cmip
  • Install conda environment
conda env create -f environment.yml
python setup.py develop
  • Download data to run the script
cd data
./getdata.sh

Then, open JupyterHub, open the notebook in notebooks/twolyr_epsilon_ap.ipynb, select the kernel "Python [conda env:miniconda3-twolyr_cmip]" or whatever your system has called it from the drop-down menu top-right, and run!

The actual code that does the fitting of the model is in twolyr_cmip/twolyr.py, and the notebook uses this for the CMIP6 models I used in my paper.


Project based on the cookiecutter science project template.