Preprints
https://doi.org/10.5194/egusphere-2026-5201
https://doi.org/10.5194/egusphere-2026-5201
12 Oct 2026
 | 12 Oct 2026
Status: this preprint is open for discussion and under review for Geoscientific Model Development (GMD).

PyAges v1.0: an extensible Python toolkit for inferring groundwater transit-time distributions from environmental tracers

Jean-Raynald de Dreuzy, Sarah Leray, and Jean Marçais

Abstract. Lumped-parameter models infer groundwater transit-time distributions by combining environmental-tracer input histories with parameterized age distributions. Their practical use requires flexible tracer representation, reliable repeated numerical integration, and explicit treatment of uncertainty when different parameter combinations fit observations similarly. We present PyAges v1.0, an open-source Python toolkit that separates tracer definitions, lumped-parameter models, convolution, and calibration; supports Bayesian inference of parameter uncertainty; and uses an integration scheme based on the cumulative distribution function and partial first moment for repeated evaluation of narrow, shifted, mixed, and shape-free transit- time distributions. Independent reference calculations across 270 cases characterize numerical discrepancies of the PyAges convolution operator across four classical model families. A cross-software benchmark against TracerLPM shows that both tools estimate the prescribed parameters with broadly comparable accuracy. Mean transit time is estimated more robustly under added noise than the model- specific parameter controlling either exponential–piston mixing or dispersion. Two field sites, Holten and Ploemeur, illustrate the framework with real observations. At Holten, PyAges posterior medians reproduce all 28 published four-bin age fractions within 0.02. At Ploemeur, calibrations using the full record or only 2014–2015 observations show how repeated measurements can resolve age ambiguity or reveal incompatibility among the assumptions used to interpret the tracers. PyAges therefore provides a reproducible framework for testing tracer and transit-time hypotheses, determining what observations constrain, and integrating tracer inference into broader hydrogeological workflows.

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.
Share
Jean-Raynald de Dreuzy, Sarah Leray, and Jean Marçais

Status: open (until 07 Dec 2026)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Jean-Raynald de Dreuzy, Sarah Leray, and Jean Marçais
Jean-Raynald de Dreuzy, Sarah Leray, and Jean Marçais
Metrics will be available soon.
Latest update: 12 Oct 2026
Download
Short summary
PyAges is an open-source tool for estimating groundwater age from elements and compounds in the water that act as tracers. It separates tracer histories, age models and calibration methods into reusable components and provides a numerical scheme for repeated calculations with uncertainty. Tests against independent calculations, existing software and two field examples confirm its performance and show how repeated observations can reduce ambiguity or reveal inconsistent assumptions.
Share