Skip to main content

Apply a simple ice-volume correction to marine-isotope proxy records in Python

Project description


Travis-CI Build Status

Apply a simple ice-volume correction to marine-isotope δ18O and δD proxy records, in Python.

The correction uses the LR04 benthic stack from Lisiecki and Raymo, 2005. The stack is scaled so that the LGM-to-present change is assumed to be 1.0 ‰ in accordance with the pore-water estimate of Schrag et al. 1996. The package is adapted from the ice-volume correction in Tierney et al. 2017.


Start by importing erebusfall, numpy:

import erebusfall as ef
import numpy as np

...and creating a hypothetical proxy time series...

age_ka = np.arange(0, 20, 1)
proxy = np.random.normal(loc=-2.0, size=len(age_ka))

Now we can plug this into ef.icevol_correction() with a few key options:

proxy_adjusted = ef.icevol_correction(age_ka, proxy, 

We first plug in the proxy age and proxy values. The proxytype='d18o' indicates that we're dealing with δ18O. We can set proxytype='dd' for a δD record. The timeunit argument indicates that age_ka is in thousands of years before present. There are also options for for "years BP" and "million years BP". The output from the function, proxy_adjusted, is the corrected isotope proxy as a numpy array.

See help(ef.icevol_correction) for more documentation.


You can install the package from PyPI with

pip install erebusfall

If you want to use conda:

conda install erebusfall -c sbmalev

Development and Support

Source code is hosted online under an Open Source license. Please feel free to file any bugs and issues you find.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for erebusfall, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size erebusfall-0.0.3-py3-none-any.whl (31.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size erebusfall-0.0.3.tar.gz (20.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page