Skip to content

Source code for "Sea level constrained by observations and commitment"

License

Notifications You must be signed in to change notification settings

mflaxman10/sealevel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sea level constrained by observations and commitment

If you make use of this code, please cite

Future sea level rise constrained by observations and long-term commitment
M. Mengel et al. PNAS 2016

Find the paper here: http://dx.doi.org/10.1073/pnas.1500515113.

This repository contains the code to produce the results as presented in the paper. There are two main parts: The calibration of the model and using the model for projections.

Making projections

See the projections.ipynb for projections using a sample global temperature mean timeseries. If you do not have jupyter notebook, install it or look at projection.py.

Recalibrating the model

See src/do_calibration.py. Model calibration is based on data for past thermal expansion, glaciers and ice caps loss and ice sheet evolution, which is not completely openly available. Please contact the M. Mengel or the authors of the datasets applied for calibration if you plan to recalibrate or extend the model.

Installation

git clone https://github.com/matthiasmengel/sealevel.git

cd sealevel

then with pip

pip install requirements.txt

or with conda

conda env create -f environment.yml

The model is written in python. If this is new to you, you may have a look at anaconda python. The code has not been tested for Windows.

Dependencies

scipy, numpy, dimarray, pandas matplotlib for plotting, jupyter for convenience.

See requirements.txt for details.

Issues and contributing

Please post issues on the issue tracker or contact the author. Contributions or propositions to extend the model are most welcome.

Versions

v 1.0.0: code as used for the Mengel et al., PNAS 2016, http://dx.doi.org/10.1073/pnas.1500515113.

License

This code is licensed under GPLv3, see the LICENSE.txt. It was authored by Matthias Mengel working at Potsdam Institute for Climate Impact Research.

About

Source code for "Sea level constrained by observations and commitment"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%