An Earth Sciences Box Modeling Toolkit
Project description
Table of Contents
- ESBMTK - An Earth-sciences box modeling toolkit
- News
- Contributing
- Installation
- Documentation
- License
ESBMTK - An Earth-sciences box modeling toolkit
ESBMTK is python library which aims to simplify typical box modeling projects the in Earth-Sciences. I started this project to teach myself python and explore object oriented programming. The code became however functional enough that the focus of this project has shifted to make box modeling more approachable for classroom teaching. So performance and scalability are not great. Specifically, the solved is a simple forward Euler scheme, so stiff problems are not handled gracefully.
At present, it will calculate masses/concentrations in reservoirs and fluxes including isotope ratios. It provides a variety of classes which allow the creation and manipulation of input signals, and the generation of graphical results. There is however no support for chemical reactions (including equilibrium reactions).
News
- Oct. 27th, added documentation on how to integrate user written process classes, added a class which allows for concentration dependent flux. Updated the documentation, added examples
- Oct. 25th, Initial release on github.
Contributing
Don't be shy. Contributing is as easy as finding bugs by using the code, or maybe you want to add a new process code? If you have plenty of time to spare, ESMBTK could use a solver for stiff problems, or a graphical interface ;-)
Installation
ESBMTK relies on the following python versions and libraries
- python > 3.5
- matplotlib
- numpy
- pandas
- logging
- nptyping
- numbers
please install the above with pip or conda etc.
At present, there is no ready made installation routine. Rather
download the esbmtk.py
library into your local working library using
one of the following commands
- https://github.com/uliw/esbmtk/archive/main.zip
- https://github.com/uliw/esbmtk.git
- git@github.com:uliw/esbmtk.git
Documentation
See the documentation folder, specifically the quickstart guide.
At present, I also provide the following example cases (as py-files and in jupyter notebook format)
- A trivial carbon cycle model which shows how to set up the model, and read an external csv file to force the model
- The same model as be before but now to demonstrate how to add pyramid shaped signal, and how to use the rate constant process to adjust concentration dependent flux ratesconcentration dependent flux rates.
Last but not least, I added a short guide how to add your own process classes to the ESBMTK
License
ESBMTK: A general purpose Earth Science box model toolkit Copyright (C), 2020 Ulrich G. Wortmann
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file esbmtk-0.1.1.tar.gz
.
File metadata
- Download URL: esbmtk-0.1.1.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07255e4900e79ba2f93c67fdc910ec0cb17d2aa9623a90ddf6768f5179a56b7e |
|
MD5 | 79df0b0d55117bbe4ab79c797e50867a |
|
BLAKE2b-256 | ecb57943b7e78f2723790c2009d6714a7702b2f818e0b72c58dee473fc702bad |
File details
Details for the file esbmtk-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: esbmtk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 69.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/0.0.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76a80b4ebb6d2abda178f70080c1edbfcbe43a79c8ca599a00ba5d2b55eb3426 |
|
MD5 | 72b0c53072a67cd35bfa8f30ebcdffef |
|
BLAKE2b-256 | 01b5e4a824943c5a1cbd6423eb1626deb1c02db1567e4adba992669afcfb30cc |