Abstract.Water flow through catchments sustains ecosystems and human activity, shapes landscapes, and links climate to the outermost layers of the solid Earth. The profound importance of water moving between the atmosphere and aquifers has led to efforts to develop and maintain coupled models of surface water and groundwater. However, developing inputs to these models is usually time-consuming and requires extensive knowledge of software engineering, often prohibiting their use by many researchers 5 and water managers, and thus reducing these models' potential to promote science-driven decision-making in an era of global change and increasing water-resource stress. In response to this need, we have developed GSFLOW-GRASS, a straightforward set of open-source tools that develops inputs for and runs GSFLOW, the U.S. Geological Survey's coupled groundwatersurface-water flow model. As inputs, GSFLOW-GRASS requires at a minimum a digital elevation model, a precipitation and temperature record, and estimates of channel parameters and hydraulic conductivity. GSFLOW-GRASS is written in Python 10 as a set of (1) GRASS GIS extensions, (2) input-file-builder scripts, and (3) visualization scripts. We developed a set of custom GRASS GIS commands that generate "hydrologic response units" for surface water, discretized topologically as sub-basins of the tributary network; build the MODFLOW grid; and add necessary attributes to each of these geospatial units. These GIS outputs are interpreted by a second set of Python scripts, which link them to hydrologic variables, build inputs to GSFLOW, and run GSFLOW. Lastly, GSFLOW output files are used to produce figures and time-lapse movies of simulation results using 15 a third set of post-processing Python scripts. We demonstrate the broad applicability of these tools to diverse settings through examples based on: the high Peruvian Andes, the Channel Islands of California, and the formerly-glaciated Upper Mississippi valley in Minnesota .
1Geosci. Model Dev. Discuss., https://doi