Preprints
https://doi.org/10.5194/egusphere-2024-3962
https://doi.org/10.5194/egusphere-2024-3962
08 Jan 2025
 | 08 Jan 2025
Status: this preprint is open for discussion and under review for Hydrology and Earth System Sciences (HESS).

HydroModPy: A Python toolbox for deploying catchment-scale shallow groundwater models 

Alexandre Gauvain, Ronan Abhervé, Alexandre Coche, Martin Le Mesnil, Clément Roques, Camille Bouchez, Jean Marçais, Sarah Leray, Etienne Marti, Ronny Figueroa, Etienne Bresciani, Camille Vautier, Bastien Boivin, June Sallou, Johan Bourcier, Benoit Combemale, Philip Brunner, Laurent Longuevergne, Luc Aquilina, and Jean-Raynald de Dreuzy

Abstract. In response to the growing demand for groundwater flow models, we present HydroModPy, an open-source toolbox designed to automate their deployment at the catchment scale. Built on top of the MODFLOW-enabling FloPy library, HydroModPy combines the robust WhiteboxTools toolbox for geospatial analysis and the well-validated MODFLOW code for groundwater modeling. This Python-based toolbox streamlines the construction, calibration, and analysis of unconfined aquifer models while adhering to FAIR (Findable, Accessible, Interoperable, and Reusable) principles. It enhances model reproducibility through editable Python code, supports multi-site deployment, and provides compatibility with alternative groundwater flow solvers. Furthermore, it integrates pre- and post-processing functionalities to simplify workflows. The toolbox enables catchment delineation and hydrological feature extraction from DEMs, followed by semi-automatic model construction and advanced visualization of hydraulic head and flow results. Users can choose from predefined aquifer structures and hydraulic properties such as exponential decay of hydraulic conductivity and porosity with depth or import complex 3D geological models. HydroModPy outputs can be exported in standard formats (e.g., raster, shapefile, netCDF), including water table elevation, water table depth, groundwater storage, groundwater-dependent hydrographic network and streamflow rates, and subsurface residence times. HydroModPy is tailored for the deployment in diverse geomorphological and hydrological settings, enabling the testing and exploration of aquifer models under varying recharge conditions. Its deployment capabilities are demonstrated in complex shallow basement and crystalline aquifers, where topography and geology primarily govern groundwater flow dynamics from hillslope to catchment scales. As an open-source toolbox, HydroModPy is designed for the community and actively encourages contributions from its users. It supports research in hydro(geo)logy and land and water management, while also providing valuable opportunities for teaching and education.

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 preprint. The responsibility to include appropriate place names lies with the authors.
Alexandre Gauvain, Ronan Abhervé, Alexandre Coche, Martin Le Mesnil, Clément Roques, Camille Bouchez, Jean Marçais, Sarah Leray, Etienne Marti, Ronny Figueroa, Etienne Bresciani, Camille Vautier, Bastien Boivin, June Sallou, Johan Bourcier, Benoit Combemale, Philip Brunner, Laurent Longuevergne, Luc Aquilina, and Jean-Raynald de Dreuzy

Status: open (until 19 Feb 2025)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Alexandre Gauvain, Ronan Abhervé, Alexandre Coche, Martin Le Mesnil, Clément Roques, Camille Bouchez, Jean Marçais, Sarah Leray, Etienne Marti, Ronny Figueroa, Etienne Bresciani, Camille Vautier, Bastien Boivin, June Sallou, Johan Bourcier, Benoit Combemale, Philip Brunner, Laurent Longuevergne, Luc Aquilina, and Jean-Raynald de Dreuzy

Model code and software

HydroModPy code Alexandre Gauvain and Ronan Abhervé https://gitlab.com/Alex-Gauvain/HydroModPy/

Alexandre Gauvain, Ronan Abhervé, Alexandre Coche, Martin Le Mesnil, Clément Roques, Camille Bouchez, Jean Marçais, Sarah Leray, Etienne Marti, Ronny Figueroa, Etienne Bresciani, Camille Vautier, Bastien Boivin, June Sallou, Johan Bourcier, Benoit Combemale, Philip Brunner, Laurent Longuevergne, Luc Aquilina, and Jean-Raynald de Dreuzy
Metrics will be available soon.
Latest update: 08 Jan 2025
Download
Short summary
HydroModPy is an open-source toolbox that makes it easier to study and model groundwater flow at catchment scale. By combining mapping tools with groundwater modeling, it automates the process of building, analyzing and deploying aquifer models. This allows researchers to simulate groundwater flow that sustains stream baseflows, providing insights for the hydrology community. Designed to be accessible and customizable, HydroModPy supports sustainable water management, research, and education.