Skip to main content

MERPH

Bayesian methods for inferring mass eruption rate from column height (or vice versa) for volcanic eruptions

Introduction

MERPH uses Bayesian methods to explore the relationship between the mass eruption rate (Q) of a volcanic eruption and the height reached by the volcanic eruption column (H) that is produced.

The mass eruption rate is a quantity that is very important in volcanology and in the dispersion of volcanic ash in the atmosphere, but it is very difficult to measure directly.

Often the mass eruption rate is inferred from observations of the height of the volcanic eruption column, since the eruption column is often much easier to measure. The eruption column height is linked to the mass eruption rate through the fluid dynamics of turbulent buoyant plumes, but there are often external volcanological and atmospheric effects that contribute and complicate the relationship.

Datasets of the mass eruption rate and eruption column height have been compiled and used to determine an empirical relationship these quantities, using linear regression. This has then been used to infer the mass eruption rate from the plume height.

MERPH goes further, by using Bayesian methods to perform the regression. Bayesian methods:

  • allow us to incorporate a range of uncertainties quantitatively into our model;
  • provide a meaningful quantitative comparison of different models.

Main Features

MERPH is a python package containing MER--Plume height data sets: * Sparks * Mastin * Aubry * IVESPA

and tools to perform Bayesian linear regression of the data and posterior prediction.

The package also contains

  • example jupyter notebooks to illustrate the use

  • a command line interface to perform regression and posterior predicition


Install

MERPH can be installed from pypi using pip.

It is recommended to create a virtual environment, e.g. with Anaconda/Miniconda (conda create --name merph "python=3.11"), and install in the environment.

Basic, light-weight set up

The basic modules (with no notebooks or app interface) can be installed with pip install merph

Other features

Install with example notebooks using pip install merph[nb]


How to use

I recommend looking first at the notebook examples, which show how the MERPH module can be used. After installing, the examples can be launched using the command line interface: merph-example 1 and merph-example 2.

The command merph launches a command line interface for basic use.


Dependencies

Basic, light-weight set up

  • matplotlib>=3.7.1
  • numpy>=1.24.2
  • pandas>=1.4.1
  • scipy>=1.8.0
  • click>=4.0

Other features

Notebooks
  • notebook

Contacts

Mark J. Woodhouse mark.woodhouse@bristol.ac.uk

Repository

https://bitbucket.org/markwoodhouse/merph

Metadata

Release files for merph 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for merph 1.0.0
File Size Uploaded Provenance Actions
merph-1.0.0.tar.gz 76.2 kB Without provenance Details for merph-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for merph 1.0.0
File Interpreter ABI Platform Actions
merph-1.0.0-py3-none-any.whl Python 3 none any Details for merph-1.0.0-py3-none-any.whl

Total release size: 155.1 kB

Release files / merph-1.0.0.tar.gz

Download URL merph-1.0.0.tar.gz
Size 76.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2ba100a4b7e27c9137aa6503d9e46042b0d5fcdbe3d9a648d96091ede564c8d7
BLAKE2b-256 checksum
How to use checksums
4cd82586973832dc08582c74f534d14bd48262803b613b1a5e22eaec092467d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / merph-1.0.0-py3-none-any.whl

Download URL merph-1.0.0-py3-none-any.whl
Size 78.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63529a060450742c9f19d7e587fa46d7ecb2995fd969a7e4d76e406847384474
BLAKE2b-256 checksum
How to use checksums
f221d89d7231a89c3e9adaff72f9c3de83af3a6a3d64c44886c3996535c1f1fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Security for merph 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page