This repo holds example code for the Earth Science Box Modeling Toolkit. Please see the https://esbmtk.readthedocs.io/en/latest/ for ESBMTK installation and usage instruction.
Download the examples via:
git clone git@github.com:uliw/ESBMTK-Examples.git
or as zipfile via https://github.com/uliw/ESBMTK-Examples/archive/refs/heads/main.zip
This directory contains the example code that is shown in the manual. For details and explanations see https://esbmtk.readthedocs.io/en/latest/
po4_1.py
A simple 2-box P-cycle examplepo4_2.py
A simple 2-box P-cycle example, demonstrating how to force a model with the signal classpo4_3.py
A simple 2-box P-cycle example demonstrating the use of mutiple speciespo4_4.py
A simple 2-box P-cycle example demonstrating how to add isotope calculations
This directory contains the ESBMTK implementation of the Boudreau et al. 2010 model see https://doi.org/10.1029/2009gb003654
model_walkthrough.ipynb
is Jupyter Notebook explaining the model setup. Ii is also available online as an interactive Jupyter Notebook via Binder. Note, this takes while to load.boudreau2010.py
is the model definitionsteady_state_plots.py
runs the model as a steady state problemis92a_comparison_plots.py
runs the model with the is92a scenario.
This directory contains a script to calculate the hypsometric data used by ESBMTK. The data is being retrieved PyGMT, which needs to be installed manually via conda or pip.
hypsometry.py