Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

mesas.py

StorAge Selection is a theoretical framework for modeling transport through control volumes. It is appropriate if you are interested a system that can be treated as a single control volume (or a collection of such), and wish to make minimal assumptions about the internal organization of the transport. SAS assumes that the material leaving a system is some combination of the material that entered at earlier times. This can be useful for constructing simple models of very complicated flow systems, and for inferring the emergent transport properties of a system from tracer data.

For more information see the free HydroLearn course: Tracers and transit times in time-variable hydrologic systems: A gentle introduction to the StorAge Selection (SAS) approach

Installation

Stable release (v1.0, Fortran)

The current stable release on conda-forge is the older Fortran-based v1.0:

conda install -c conda-forge mesas

This installs any additional dependencies at the same time.

v2.0 (pure Python, in beta)

Version 2.0 is a pure Python reimplementation whose numerical solver is JIT-compiled with Numba -- no Fortran compiler needed. It is currently in beta. Install the latest development version from source:

git clone https://github.com/charman2/mesas.git
cd mesas
pip install -e .

Further instructions can be found here: https://mesas.readthedocs.io/en/latest/installation.html

Documentation

Documentation for the code is available here: https://mesas.readthedocs.io/en/latest/

Citation

If you use mesas.py in your research, please cite:

Harman, C. J. and Xu Fei, E.: mesas.py v1.0: a flexible Python package for modeling solute transport and transit times using StorAge Selection functions, Geosci. Model Dev., 17, 477-495, https://doi.org/10.5194/gmd-17-477-2024, 2024.

DOI

Download files

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

Source Distribution

mesas-2.0.0a1.tar.gz (543.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mesas-2.0.0a1-py3-none-any.whl (48.3 kB view details)

Uploaded Python 3

File details

Details for the file mesas-2.0.0a1.tar.gz.

File metadata

  • Download URL: mesas-2.0.0a1.tar.gz
  • Upload date:
  • Size: 543.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mesas-2.0.0a1.tar.gz
Algorithm Hash digest
SHA256 4d19130397e8fa16532fae7dcd411297d085aa7c11aeb3e89d84988cfde12c98
MD5 e9a98a65379890acfbaf3c55076bd698
BLAKE2b-256 c0b63b3c787167767f1f4c5a6ed354c7826fba46d47e31fdf8502079405f58b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mesas-2.0.0a1.tar.gz:

Publisher: publish.yml on charman2/mesas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mesas-2.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: mesas-2.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 48.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mesas-2.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 35b2859b448d35b847a7a32983f3c575f86daeb7ff8b5c594f9d68c31300bb46
MD5 efe4a7762018be48fc7d20170342c179
BLAKE2b-256 467173725e8be7181214aaa27cb5f52faa55b2f91a5222651f15a0017baa7d29

See more details on using hashes here.

Provenance

The following attestation bundles were made for mesas-2.0.0a1-py3-none-any.whl:

Publisher: publish.yml on charman2/mesas

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page