Skip to main content
U.S. flag

An official website of the United States government

Modflow-setup: Robust automation of groundwater model construction

September 30, 2022

In an age of both big data and increasing strain on water resources, sound management decisions often rely on numerical models. Numerical models provide a physics-based framework for assimilating and making sense of information that by itself only provides a limited description of the hydrologic system. Often, numerical models are the best option for quantifying even intuitively obvious connections between human activities and water resource impacts. However, despite many recent advances in model data assimilation and uncertainty quantification, the process of constructing numerical models remains laborious, expensive, and opaque, often precluding their use in decision making. Modflow-setup aims to provide rapid and consistent construction of MODFLOW groundwater models through robust and repeatable automation. Common model construction tasks are distilled in an open-source, online code base that is tested and extensible through collaborative version control. Input to Modflow-setup consists of a single configuration file that summarizes the workflow for building a model, including source data, construction options, and output packages. Source data providing model structure and parameter information including shapefiles, rasters, NetCDF files, tables, and other (geolocated) sources to MODFLOW models are read in and mapped to the model discretization, using Flopy and other general open-source scientific Python libraries. In a few minutes, an external array-based MODFLOW model amenable to parameter estimation and uncertainty quantification is produced. This paper describes the core functionality of Modflow-setup, including a worked example of a MODFLOW 6 model for evaluating pumping impacts to a lake in central Wisconsin, United States.

Publication Year 2022
Title Modflow-setup: Robust automation of groundwater model construction
DOI 10.3389/feart.2022.903965
Authors Andrew T. Leaf, Michael N. Fienen
Publication Type Article
Publication Subtype Journal Article
Series Title Frontiers in Earth Science
Index ID 70239278
Record Source USGS Publications Warehouse
USGS Organization New York Water Science Center; Upper Midwest Water Science Center