pymt is the Python Modeling Toolkit. It is an Open Source Python package, developed by the Community Surface Dynamics Modeling System (CSDMS), that provides the tools needed for coupling models that expose the Basic Model Interface (BMI).
pymt in three points:
Tools for coupling models of disparate time and space scales
A collection of Earth-surface models
Extensible plug-in framework for adding new models
What does it look like? Here is an example of a simple pymt program:
from pymt.models import Cem, Waves
waves = Waves()
cem = Cem()
waves.initialize(*waves.setup())
cem.initialize(*cem.setup())
for time in range(1000):
waves.update()
angle = waves.get_value("wave_angle")
cem.set_value("wave_angle", angle)
cem.update()
pymt is an element of the CSDMS Workbench, an integrated system of software tools, technologies, and standards for building and coupling models.
User Guide¶
If you are looking for information on using pymt to configure, run, and couple models, this part of the documentation is for you.
API Reference¶
If you are looking for information on a specific function, class, or method, this part of the documentation is for you.
Miscellaneous Pages¶
- Conda environments
- Contributing
- Credits
- Release Notes
- 1.3.1 (2021-03-18)
- 1.3.0 (2020-10-21)
- 1.2.1 (2020-09-22)
- 1.2.0 (2020-09-11)
- 1.1.3 (2020-04-23)
- 1.1.2 (2020-04-08)
- 1.1.0 (2020-02-26)
- 1.0.3 (2019-05-15)
- 1.0.2 (2019-05-14)
- 1.0.1 (2019-05-13)
- 1.0.0 (2019-02-18)
- 0.2.9 (2019-02-09)
- 0.2.8 (2019-02-07)
- 0.2.7 (2019-01-23)
- 0.2.6 (2018-10-24)
- 0.2.5 (2018-10-04)
- 0.2.4 (2018-09-07)
- 0.2.3 (2018-07-06)
- 0.2.2 (2018-07-02)
- 0.2.1 (2018-07-01)
- 0.2.0 (2016-12-28)
- License
Help¶
If you encounter any problems when using pymt, please visit us at the CSDMS Help Desk and explain what occurred. Or, if you’re developing with pymt feel free to open an issue in the pymt GitHub repository.