<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-11-4755-2018</article-id><title-group><article-title>GSFLOW–GRASS v1.0.0: GIS-enabled hydrologic modeling of coupled groundwater–surface-water systems</article-title><alt-title>GSFLOW–GRASS</alt-title>
      </title-group><?xmltex \runningtitle{GSFLOW--GRASS}?><?xmltex \runningauthor{G.-H. C. Ng et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1 aff2">
          <name><surname>Ng</surname><given-names>G.-H. Crystal</given-names></name>
          <email>gcng@umn.edu</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff2">
          <name><surname>Wickert</surname><given-names>Andrew D.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-9545-3365</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Somers</surname><given-names>Lauren D.</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Saberi</surname><given-names>Leila</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff4">
          <name><surname>Cronkite-Ratcliff</surname><given-names>Collin</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-5485-3832</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff5">
          <name><surname>Niswonger</surname><given-names>Richard G.</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>McKenzie</surname><given-names>Jeffrey M.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-0469-6469</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Department of Earth Sciences, University of Minnesota, Minneapolis, Minnesota, USA</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>St. Anthony Falls Laboratory, University of Minnesota, Minneapolis, Minnesota, USA</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Department of Earth and Planetary Sciences, McGill University, Montreal, Quebec, Canada</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>Geology, Minerals, Energy and Geophysics Science Center, United States Geological Survey, Menlo Park, California USA</institution>
        </aff>
        <aff id="aff5"><label>5</label><institution>Earth Systems Modeling Branch, United States Geological Survey, Menlo Park, California, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">G.-H. Crystal Ng (gcng@umn.edu)</corresp></author-notes><pub-date><day>30</day><month>November</month><year>2018</year></pub-date>
      
      <volume>11</volume>
      <issue>12</issue>
      <fpage>4755</fpage><lpage>4777</lpage>
      <history>
        <date date-type="received"><day>22</day><month>December</month><year>2017</year></date>
           <date date-type="rev-request"><day>30</day><month>January</month><year>2018</year></date>
           <date date-type="rev-recd"><day>9</day><month>November</month><year>2018</year></date>
           <date date-type="accepted"><day>12</day><month>November</month><year>2018</year></date>
      </history>
      <permissions>
        
        
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018.html">This article is available from https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018.pdf</self-uri>
      <abstract>
    <p id="d1e162">The 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 and water managers, 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 bundled set of open-source tools that
develops inputs for, executes, and graphically displays the results of
GSFLOW, the U.S. Geological Survey's coupled groundwater and surface-water
flow model. In order to create a robust tool that can be widely implemented
over diverse hydro(geo)logic settings, we built a series of GRASS GIS
extensions that automatically discretizes a topological surface-water flow
network that is linked with an underlying gridded groundwater domain. 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. We demonstrate the broad applicability of the toolbox
by successfully testing it in environments with varying degrees of drainage
integration, landscape relief, and grid resolution, as well as the presence
of irregular coastal boundaries. These examples also show how GSFLOW–GRASS
can be implemented to examine the role of groundwater–surface-water
interactions in a diverse range of water resource and land management
applications.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p id="d1e172">Predicting and understanding the hydrologic impacts of climate, land use, and
other natural and anthropogenic change is a scientific endeavor that is
increasingly necessary to manage water resources. Addressing this need
requires streamlined access to models that integrate surface and subsurface
processes across a watershed. This integrated approach is required because
traditional hydrologic models that focus only on a single component within a
watershed cannot properly predict the effects of changing conditions and
feedbacks across their boundaries. The widespread use of integrated models is
stymied, however, by labor-intensive requirements for creating consistent
sets of extensive model inputs, including the challenges of generating
computationally robust surface and subsurface model domains.</p>
      <?pagebreak page4756?><p id="d1e175">Driven by the growing recognition of tightly coupled groundwater and surface-water dynamics and the need to evaluate and manage the two as a single
resource <xref ref-type="bibr" rid="bib1.bibx95" id="paren.1"/>, the U.S. Geological Survey (USGS) developed and
released GSFLOW. This integrated hydrologic model couples the groundwater
flow model MODFLOW with the rainfall–runoff model PRMS (Precipitation Runoff
Modeling System) <xref ref-type="bibr" rid="bib1.bibx46" id="paren.2"/>. Both MODFLOW
<?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx25 bib1.bibx57" id="paren.3"/><?xmltex \hack{\egroup}?> and PRMS <xref ref-type="bibr" rid="bib1.bibx37 bib1.bibx47" id="paren.4"/> are popular models with significant user bases. GSFLOW has
been previously applied to various watersheds in the US, for example in
California <xref ref-type="bibr" rid="bib1.bibx18" id="paren.5"/>, Wisconsin <xref ref-type="bibr" rid="bib1.bibx30" id="paren.6"/>, Pennsylvania
<xref ref-type="bibr" rid="bib1.bibx21" id="paren.7"/>, and Oregon <xref ref-type="bibr" rid="bib1.bibx80 bib1.bibx23" id="paren.8"/>, as well as
to applications outside of the US <xref ref-type="bibr" rid="bib1.bibx26 bib1.bibx84" id="paren.9"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
      <p id="d1e210">The process of implementing GSFLOW includes many hurdles that require
significant time and computational knowledge to overcome. GSFLOW is not
“fully integrated” in the sense that it does not simultaneously solve
surface and subsurface flow equations; instead it consists of an iterative
coupling between MODFLOW and PRMS that requires nearly all the individual
input files for each of the two original models as well as an additional
GSFLOW-specific linkage file. While a fully integrated model may have all the
input information streamlined into a small number of internally consistent
and efficiently organized files, to run GSFLOW, the user bears the burden of
generating a multitude of diversely formatted ASCII files and ensuring that
they contain inputs that correctly correspond with each other and can produce
convergent coupled simulations. Freely available USGS GUIs – ModelMuse
<xref ref-type="bibr" rid="bib1.bibx94" id="paren.10"/> and the PRMS GUI <xref ref-type="bibr" rid="bib1.bibx47" id="paren.11"/> – and proprietary
GUIs (mostly for MODFLOW) can help users separately develop inputs to the two
individual base models, but they do not offer support for creating the GSFLOW
linkage file. The company Earthfx
(<uri>http://www.earthfx.com/</uri>last access: 22 November 2018)
provides full GSFLOW support as part of their VIEWLOG package designed
for the environmental consulting industry. More openly accessible software
endeavors have also improved the usability of integrated hydrologic models
<xref ref-type="bibr" rid="bib1.bibx10 bib1.bibx85 bib1.bibx24" id="paren.12"/>, including the USGS's new input data-processing tool for GSFLOW <xref ref-type="bibr" rid="bib1.bibx24" id="paren.13"/>, but the community still lacks
a free and complete package spanning preprocessing to post-processing for
heterogeneous surface and subsurface domains. This gap motivates our present
work, which we anticipate will enable more widespread hydrologic modeling.</p>
      <p id="d1e228">Our overarching goal is to develop a bundled package – GSFLOW–GRASS –
to handle the complexity of the coupled GSFLOW model, thus tackling the grand
challenge of accessibility plaguing many integrated modeling systems. We
develop an integrated toolbox featuring fully automated, robust, and
open-source codes that cover the entire model implementation process within a
consistent and efficient framework, from building topologically linked
hydrologic domains and assembling model input parameters to visualizing model
outputs. Our use of only free and open-source programming languages and
software is a key feature of the toolbox's accessibility. Python scripts
generate model input files and model output graphics, and extensions using
the open-source GRASS GIS platform build topographically defined
sub-watersheds linked to subsurface grid cells. Open-source software
facilitates the implementation of GSFLOW–GRASS by diverse academic, government,
and individual entities, enables further community development of
GSFLOW–GRASS, and aligns with the USGS's goal to make its resources publicly
accessible.</p>
      <p id="d1e232">Developing a fully automated toolbox that can be readily executed for diverse
physical settings raises the key technical obstacle of how to robustly build
stream networks and subbasins linked to subsurface computational domains
without labor-intensive user intervention. Whereas overland flow routing and
the calculation of drainage basins from topography are standard GIS
capabilities, our tool improves upon these by automatically building
topologically structured vectorized drainage networks without manual
corrections using a least-cost path approach <xref ref-type="bibr" rid="bib1.bibx50" id="paren.14"/>, while also
including information on adjacency and routing pathways through the network
that is required by integrated hydrologic models. The main technical
advancement of GSFLOW–GRASS is the development of streamlined GRASS GIS
extensions that have passed a diverse range of stress tests, including steep
to low-relief topographies, large and intricate to small and simple drainage
systems, incomplete to full topographic drainage integration, and inland to
coastal watersheds. These new capabilities enable rapid, automated
delineation of surface-water drainage networks linked to subsurface domains
across any generalized landscape and computationally feasible resolution
within the range of scales permissible by GSFLOW. By doing this all within a
framework that also includes open-source model input and post-processing
tools, GSFLOW–GRASS presents a solution toward more accessible integrated
hydrologic modeling.</p>
      <p id="d1e238">The release of GSFLOW–GRASS coincides with the USGS's new development of
GSFLOW–Arcpy, an input data-processing tool similarly aimed at facilitating
the use of GSFLOW <xref ref-type="bibr" rid="bib1.bibx24" id="paren.15"/>. The two software packages solve the
problem of generating linked surface-water and groundwater model domains
using complementary technical formulations and approaches. The major
distinction is GSFLOW–GRASS's use of a topographically determined surface-water discretization, while GSFLOW–Arcpy employs a regular rectangular
domain. Each domain type has its strengths: regular grids allow for a flexible
representation of spatially heterogeneous properties, while topographically
based units can efficiently cover steep and complex terrain. The availability
of these two packages will facilitate rigorous testing of the comparative
merits of the different domain types, which remains an open question in
hydrologic modeling (see model intercomparison tests that include
representatives of each; e.g., <xref ref-type="bibr" rid="bib1.bibx66 bib1.bibx48" id="altparen.16"/>). Together,
these software toolboxes can also reach more users with different needs and
resources. GSFLOW–Arcpy's implementation is well suited for ArcGIS users who
can separately leverage existing MODFLOW tools and are<?pagebreak page4757?> primarily seeking to
create surface-water input components for GSFLOW. GSFLOW–GRASS aims to
provide a fully automated toolbox that can be accessible to new hydrologic
modelers who lack access to commercial ArcGIS software and would benefit from
a complete suite of preprocessing and post-processing tools to execute GSFLOW.
Offering different model implementation options affords greater flexibility
depending on a user's software preferences, data formats, and application
requirements, which we anticipate will help grow a diverse community of
integrated hydrologic model users.</p>
</sec>
<sec id="Ch1.S2">
  <title>Background</title>
<sec id="Ch1.S2.SS1">
  <title>GSFLOW</title>
      <p id="d1e258">GSFLOW simulates spatially distributed surface to subsurface water flow in a
watershed using modified model codes from PRMS and MODFLOW. It is designed
for simulations of watersheds with areas of a few square kilometers to
several thousand square kilometers <xref ref-type="bibr" rid="bib1.bibx46" id="paren.17"><named-content content-type="post">p. 2</named-content></xref>. Although
GSFLOW can run in modes equivalent to the stand-alone PRMS-IV model and the
stand-alone MODFLOW model, only the “integrated” version is described here.
Near-surface watershed processes within the shallow soil zone, including
evapotranspiration, infiltration, runoff, and interflow, are represented by
the PRMS subcomponent of GSFLOW. Groundwater flow below the “soil zone”,
including vertical soil water movement in the deeper unsaturated zone and
saturated flow through horizontal aquifer layers, is represented by the
MODFLOW subcomponent. Streamflow and exchange between streams and underlying
groundwater systems are also represented by the MODFLOW subcomponent. We
describe here the key features of GSFLOW in order to guide new users in
implementing it and interpreting its results; <xref ref-type="bibr" rid="bib1.bibx46" id="text.18"/> document
the full details of the model.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><caption><p id="d1e271">Major features of the GSFLOW–GRASS geometry. <bold>(a)</bold> Each segment is
one link in the network. At each node, two tributary segments combine to flow
into a single segment. Each is numbered. They need not be in any particular
order, as indicated, but a downstream-increasing numbering scheme is required
for updated inflows to all segments to be computed during the same iteration.
<bold>(b)</bold> Flow in each of the subbasin HRUs is routed directly to a
corresponding stream segment. The arrow on the upper left indicates that flow
from outside of the representative tributary junction may also be part of the
drainage network. Our topological approach to defining HRUs allows HRUs to be
numbered the same as the stream segments that they enclose. Our code is
written in such a way that future developments can relax this symmetry.
<bold>(c)</bold> MODFLOW operates on a grid that underlies the PRMS-based stream
network and HRUs; each cell has a unique ID that is sequentially numbered.
<bold>(d)</bold> “Gravity reservoirs” are defined by the intersection of the PRMS
HRUs and the MODFLOW grid. “Reaches” are defined as the section of each
PRMS stream segment that lies within a single MODFLOW grid cell and are
numbered sequentially downstream as shown.</p></caption>
          <?xmltex \igopts{width=241.848425pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f01.pdf"/>

        </fig>

<sec id="Ch1.S2.SS1.SSS1">
  <title>Domain discretization</title>
      <?pagebreak page4758?><p id="d1e297">GSFLOW adopts a hybrid spatial domain discretization approach
(Fig. <xref ref-type="fig" rid="Ch1.F1"/>) to establish its computational units. Stream
segments are links in a river network that are used in both the PRMS and
MODFLOW subcomponents of GSFLOW (Fig. <xref ref-type="fig" rid="Ch1.F1"/>a).
Horizontally, the PRMS subcomponent uses hydrological response units (HRUs)
of any shape as its fundamental discretized unit
(Fig. <xref ref-type="fig" rid="Ch1.F1"/>b). These are used for calculations of the upper
soil zone and the part of the surface not covered by the stream network. The
MODFLOW subcomponent uses rectangular grid cells for the deeper subsurface
(Fig. <xref ref-type="fig" rid="Ch1.F1"/>c) and to further discretize the stream network
into reaches (Fig. <xref ref-type="fig" rid="Ch1.F1"/>d). Establishing reaches as the
fundamental unit of computation for the stream network instead of segments
makes it possible to resolve fine-spatial-resolution groundwater–surface
exchanges. Like MODFLOW grid cells, HRUs can be set to rectangles <xref ref-type="bibr" rid="bib1.bibx24" id="paren.19"/>, but they
are also commonly defined topologically to correspond to subbasins, as they
are in our approach (Fig. <xref ref-type="fig" rid="Ch1.F1"/>). In general,
gridded domains are easier to construct and extend readily to parallelized
computational systems, and they allow flexible spatial specification of soil
and land cover heterogeneity. In contrast, ungridded domains, such as the
triangulated irregular networks (TINs) used in models including tRIBS
<xref ref-type="bibr" rid="bib1.bibx88" id="paren.20"/> and PIHM <xref ref-type="bibr" rid="bib1.bibx64" id="paren.21"/>, can conform more efficiently to
complex terrain. In the case of PIHM <xref ref-type="bibr" rid="bib1.bibx64" id="paren.22"/>, TINs were also
implemented for better water balance performance through the mass-conserving
finite-volume method <xref ref-type="bibr" rid="bib1.bibx41" id="paren.23"/>; further, nested TINs can provide
efficient solutions when higher resolution is desired for certain target
areas <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx89" id="paren.24"/><?xmltex \hack{\egroup}?>. Other hydrological models with ungridded
domains use topographically defined subbasins as efficient computational
units, including SWAT <xref ref-type="bibr" rid="bib1.bibx4" id="paren.25"/>, SAC-SMA <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx2" id="paren.26"/><?xmltex \hack{\egroup}?>,
HEC-HMS <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx20" id="paren.27"/><?xmltex \hack{\egroup}?>, and TOPNET
<?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx6" id="paren.28"/><?xmltex \hack{\egroup}?>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><caption><p id="d1e355">Soil-water storage reservoirs in the PRMS component of GSFLOW.
Within each HRU, soil-water accounting calculations are carried out for three
conceptual reservoirs in the order of increasing water storage and according
to user-specified parameters. Climate forcing applies to the capillary
reservoir; the gravity reservoir exchanges water with the deeper unsaturated
and saturated zones represented by the MODFLOW component of GSFLOW, and
Dunnian runoff and fast interflow occur in the preferential flow reservoir.
<xref ref-type="bibr" rid="bib1.bibx46" id="paren.29"><named-content content-type="pre">Adapted from</named-content><named-content content-type="post">Fig. 12.</named-content></xref></p></caption>
            <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f02.pdf"/>

            <p id="d1e369">.</p>
          </fig>

      <p id="d1e373">Vertically, the PRMS subcomponent of GSFLOW is discretized into conceptual
shallow soil zone reservoirs, which do not correspond directly to physical
locations within the soil column but are instead based on user-specified
conceptual thresholds. Specifically, within an HRU, the soil zone is
subdivided into three reservoir types – the capillary reservoir, gravity
reservoir, and preferential flow reservoir, which are filled in order of
increasing water storage using efficient water-accounting calculations
(Sect. <xref ref-type="sec" rid="Ch1.S2.SS1.SSS2"/>) (Fig. <xref ref-type="fig" rid="Ch1.F2"/>). Underlying the PRMS soil
zone are MODFLOW grid cells representing the deeper unsaturated zone and the
saturated zone. While grid cells have uniform horizontal discretization,
vertical layer thicknesses can be variable in order to accommodate different
hydrostratigraphy. To link the PRMS and MODFLOW grids, the user must define
gravity reservoirs at each different intersection of an HRU and a grid cell
(Fig. <xref ref-type="fig" rid="Ch1.F1"/>d). The MODFLOW component of GSFLOW also relies
on a user-specified stream network; stream segments represent tributaries,
and the intersection of a stream segment with MODFLOW grid cells defines
stream reaches (Fig. <xref ref-type="fig" rid="Ch1.F1"/>a, d).</p>
      <p id="d1e384">GSFLOW uses a daily computational time step for both the PRMS component and
MODFLOW component. Flows are exchanged between each component at each time
step. Multiple MODFLOW “stress periods” can be invoked to represent
different subsurface boundary conditions within a simulation period, but
their lengths must be integer days.<?xmltex \hack{\newpage}?></p>
</sec>
<sec id="Ch1.S2.SS1.SSS2">
  <title>Process description</title>
      <p id="d1e394">This section includes a brief description of the main hydrologic processes
represented in GSFLOW, with select parameters listed in Table <xref ref-type="table" rid="Ch1.T1"/>.
Full details can be found in the GSFLOW manual <xref ref-type="bibr" rid="bib1.bibx46" id="paren.30"/>. In
particular, Table 1 from <xref ref-type="bibr" rid="bib1.bibx46" id="text.31"/> summarizes all the
surface-water processes captured by PRMS modules, groundwater processes
captured by MODFLOW stress packages, and model coupling procedures captured
by GSFLOW.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><caption><p id="d1e408">Select GSFLOW parameters <xref ref-type="bibr" rid="bib1.bibx46" id="paren.32"><named-content content-type="pre">adapted
from</named-content><named-content content-type="post">Appendix 1</named-content></xref>.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1"><italic>pref_flow_den</italic></oasis:entry>
         <oasis:entry colname="col2">Decimal fraction of the soil zone available for preferential flow versus capillary zone flow</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>soil_moist_max</italic></oasis:entry>
         <oasis:entry colname="col2">Maximum available capillary water-holding capacity of soil zone</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>soil_rechr_max</italic></oasis:entry>
         <oasis:entry colname="col2">Maximum quantity of water in the capillary reservoir (value must be less than or equal to <italic>soil_moist_max</italic>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>soil_type</italic></oasis:entry>
         <oasis:entry colname="col2">Soil type: 1 <inline-formula><mml:math id="M1" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> sand; 2 <inline-formula><mml:math id="M2" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> loam; 3 <inline-formula><mml:math id="M3" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> clay</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>soil_moist_max</italic></oasis:entry>
         <oasis:entry colname="col2">Maximum volume of water per unit area in the capillary reservoir</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>slowcoef_lin</italic></oasis:entry>
         <oasis:entry colname="col2">Linear flow-routing coefficient for slow interflow</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>slowcoef_sq</italic></oasis:entry>
         <oasis:entry colname="col2">Nonlinear flow-routing coefficient for slow interflow</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>ssr2gw_rate</italic></oasis:entry>
         <oasis:entry colname="col2">Linear coefficient in the equation used to compute gravity drainage to MODFLOW finite-difference cell</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>ssr2gw_exp</italic></oasis:entry>
         <oasis:entry colname="col2">Exponent in the equation used to compute gravity drainage to MODFLOW finite-difference cell</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>ssrmax_coef</italic></oasis:entry>
         <oasis:entry colname="col2">Maximum amount of gravity drainage to MODFLOW finite-difference cell</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>sat_threshold</italic></oasis:entry>
         <oasis:entry colname="col2">Maximum volume of water per unit area in the soil zone, between field capacity and saturation thresholds</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>hru_percent_imperv</italic></oasis:entry>
         <oasis:entry colname="col2">Decimal fraction of HRU area that is impervious</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>ICALC</italic></oasis:entry>
         <oasis:entry colname="col2">An integer value used to indicate method used to calculate stream depth in this segment</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><italic>IRTFLG</italic></oasis:entry>
         <oasis:entry colname="col2">An integer value that flags whether transient streamflow routing is active</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d1e608">The PRMS component of GSFLOW includes modules that can convert commonly
available climate data into complete forcing inputs needed for model
simulations. These include methods for determining potential solar radiation,
potential evapotranspiration, and snow accumulation or depletion; they also
include different algorithms for spatially distributing data from one or a
few observations points over the entire watershed.</p>
      <p id="d1e611">For unsaturated zone flow, PRMS does not implement the Richards equation but
instead applies computationally fast soil-water routing calculations to
determine inputs and outputs for each HRU as well as exchanges among the
three conceptual reservoir types within an HRU (GSFLOW manual, Fig. 19,
Table 9). The “capillary zone” reservoir represents water held by capillary
forces; it receives water through infiltration (based on parameter
<italic>pref_flow_den</italic>) and loses water through evaporation and
transpiration (based on parameters <italic>soil_moist_max</italic>,
<italic>soil_rechr_max</italic>, and <italic>soil_type</italic>). After reaching field
capacity (parameter <italic>soil_moist_max</italic>), water transfers from the
capillary zone to “gravity reservoirs”, where water can flow horizontally
as slow interflow (based on parameters <italic>slowcoef_lin</italic> and
<italic>slowcoef_sq</italic>) or drain vertically into the deeper subsurface domain
that is handled by MODFLOW (based on parameters <italic>ssr2gw_rate</italic>,
<italic>ssr2gw_exp</italic>, and <italic>ssrmax_coef</italic>). Gravity reservoirs can also
receive groundwater discharge from the MODFLOW component when hydraulic head
values exceed the lower limit of the soil zone. A fraction of gravity
reservoir storage moves to the “preferential flow reservoir” (based on
parameters <italic>pref_flow_den</italic> and <italic>sat_threshold</italic>), where fast
interflow occurs (based on parameters <italic>fastcoef_lin</italic> and
<italic>fastcoef_sq</italic>). If the preferential flow reservoir becomes full
(based on parameter <italic>sat_threshold</italic>), then water exits the soil zone
as Dunnian (saturation excess) runoff. Hortonian (infiltration excess) runoff
calculations apply for impervious fractions of HRUs (set by parameter
<italic>hru_percent_imperv</italic>). Surface runoff and interflow are routed
between HRUs using a cascading flow scheme that follows user-specified
indexing of linked HRUs and eventually reaches the stream network.</p>
      <p id="d1e665">The MODFLOW component of GSFLOW computes water flow in the deeper unsaturated
zone (UZF stress package), streams (SFR package), and saturated groundwater
units (BCF, LPF, or UPW flow packages). Unsaturated zone flow is calculated
using a kinematic wave approach, which assumes that capillary (pressure
gradient) flow is<?pagebreak page4759?> negligible compared to gravity-driven flow.
Capillary-dominated effects are instead represented in the soil zone of the
PRMS component described above. Unsaturated zone flow in the MODFLOW
component is calculated as waves representing wetting and drying fronts.
Gravity reservoir drainage from the PRMS component flows to the top of the
unsaturated zone of the MODFLOW component, unless the water table is above
the soil zone base – defined by the top of the MODFLOW domain – in which
case the gravity reservoirs drain directly to the saturated zone. Saturated
zone simulations (MODFLOW) employ the finite-difference method to the
groundwater flow equation.</p>
      <p id="d1e668">Streamflow, as calculated by the MODFLOW component, includes inputs from
upstream reaches, surface runoff and interflow from the PRMS component, base
flow from the saturated zone discharge, and flows from possible underlying
unsaturated areas. Outputs include flow to downstream reaches, leakage to
groundwater, and flows to possible underlying unsaturated areas. Discharge
across the streambed follows Darcy's law with specified streambed hydraulic
properties. Five different options exist for stream discharge and head
computations (parameter <italic>ICALC</italic>). The user can specify stream depths
for each reach, apply Manning's equation to an assumed wide rectangular
channel, apply Manning's equation for an eight-point-based channel and
floodplain geometry, apply at-a-station power-law relationships between
discharge, flow width, and flow depth <xref ref-type="bibr" rid="bib1.bibx40" id="paren.33"/>, or specify an
input lookup table of hydraulic geometries for each segment. Streamflow can
be simulated as either steady-state flow (parameter <italic>IRTFLG</italic> <inline-formula><mml:math id="M4" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0),
whereby outflow to the next stream reach balances inputs, or as transient flow
(parameter <italic>IRTFLG</italic> <inline-formula><mml:math id="M5" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 0) using a kinematic wave formulation for
surface-water routing in channels, which applies the assumption that the
water surface slope approximates the friction slope and therefore negates
backwater effects.</p>
      <p id="d1e698">Some modifications were made to the original stand-alone PRMS and MODFLOW
codes for their use in GSFLOW. Notably, the soil zone structure of PRMS was
significantly altered to facilitate its linkage with a MODFLOW subsurface
domain. Other modifications are noted in the GSFLOW manual <xref ref-type="bibr" rid="bib1.bibx46" id="paren.34"><named-content content-type="post">see
sections on “Changes to PRMS” and “Changes to
MODFLOW-2005”</named-content></xref>. An additional feature starting in version
1.2.0 that is not described in the original manual is the inclusion of
MODFLOW-NWT <xref ref-type="bibr" rid="bib1.bibx57" id="paren.35"/>, a more numerically robust update to
MODFLOW-2005 <xref ref-type="bibr" rid="bib1.bibx25" id="paren.36"/> for groundwater flow.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS2">
  <title>GRASS GIS</title>
      <p id="d1e719">GRASS GIS is an open-source, multipurpose, and cross-platform geographic
information system <xref ref-type="bibr" rid="bib1.bibx54 bib1.bibx55 bib1.bibx56" id="paren.37"/> that
supports utilities for efficient raster and vector computations
<xref ref-type="bibr" rid="bib1.bibx74 bib1.bibx52 bib1.bibx81 bib1.bibx28" id="paren.38"/>. It includes both
graphical and command-line interfaces and may be driven by shell or Python
scripts. It supports both 2-D and 3-D raster and vector data and includes
SQL-based attribute table database management. GSFLOW–GRASS utilities are
written for the most recent stable release version of GRASS GIS, v7.4. This
supports Python scripting for both high-level built-in commands and for
low-level access to database entries and vector geometries
<xref ref-type="bibr" rid="bib1.bibx96" id="paren.39"/>. We take advantage of these capabilities to develop an
automated workflow to build GSFLOW inputs through GRASS GIS.</p>
      <?pagebreak page4760?><p id="d1e731">We chose GRASS GIS as the interface to develop inputs because (1) it is
open-source and cross-platform; (2) it enforces rigid vector topology, which
is critical for building stream networks; (3) its broad library of built-in
hydrologic tools include those for vectorized drainage network development
with downstream-increasing indexing <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx32" id="paren.40"/><?xmltex \hack{\egroup}?>, which is
essential for setting flow paths and adjacencies; (4) its generic Python
scripting library and PyGRASS application programming interface (API) make it
easy to develop new extensions; (5) these extensions may be added to the
official subversion (svn) repository, from which they can be automatically
downloaded and installed on user computers using the <preformat preformat-type="code"><![CDATA[g.extension]]></preformat>
command; and (6) it provides a GUI and command-line interface (CLI) that are
consistent with one another. The GUI and CLI interfaces are not required for
GSFLOW–GRASS because the GRASS GIS component is handled mostly behind the
scenes by a batch-processing Python script (<preformat preformat-type="code"><![CDATA[buildDomainGRASS.py]]></preformat>,
Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>); however, they allow end users to rerun certain
portions of the process and/or produce their own workflows using the
GSFLOW–GRASS extensions as building blocks. The open-source aspect of the
present work is in part motivated by the need for water assessment and
planning tools in the developing world <xref ref-type="bibr" rid="bib1.bibx58" id="paren.41"/>, and these extensions,
combined with the interchangeable and consistent GUI and CLI, can help users
to generate their own advanced customizations of GSFLOW–GRASS.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <title>Methods</title>
      <p id="d1e758">We adopt a heterogeneous surface and subsurface computational domain for
GSFLOW–GRASS that employs subbasin surface HRUs that are linked to
subsurface grid cells. In addition to the computational efficiency of
discretizing complex terrain into subbasins with complex shapes rather than
using a gridded surface domain at the resolution required to resolve the
HRUs, the use of subbasin HRUs that route surface runoff directly to stream
segments also eliminates the need for establishing a cascading network
(Sect. <xref ref-type="sec" rid="Ch1.S2.SS1.SSS2"/>). Because of GSFLOW's conceptual (rather than
gradient-based) surface-water routing scheme, numerical differences between
subbasin and gridded HRU's are difficult to predict, but the automated
GSFLOW–GRASS toolbox can help enable future testing to rigorously
interrogate their respective performances.</p>
      <p id="d1e763">GSFLOW–GRASS strikes a balance between generating a ready-to-go GSFLOW
implementation and providing flexibility to customize applications. With a
newly developed set of automated and robust GIS domain builder tools,
GSFLOW–GRASS can be applied to any digital elevation model (DEM) to produce
GSFLOW model simulations. Only a few steps are required to set up a GSFLOW
model on the user's computer system. For further model tuning, all scripts in
the toolbox are open-source and commented to allow changes to any parameter
as well as the development of optional GSFLOW capabilities not included in the
default GSFLOW–GRASS implementation. Many popular hydrologic model
implementation programs have GUIs, including ModelMuse <xref ref-type="bibr" rid="bib1.bibx94" id="paren.42"/>,
Visual Modflow <xref ref-type="bibr" rid="bib1.bibx90" id="paren.43"/>, Hydrus <xref ref-type="bibr" rid="bib1.bibx75" id="paren.44"/>, ArcSWAT
<xref ref-type="bibr" rid="bib1.bibx53" id="paren.45"/>, and MIKE-SHE <xref ref-type="bibr" rid="bib1.bibx14" id="paren.46"/>. While these are easiest
for novice model users, GUIs can be challenging to develop for cross-platform
implementations and generally support less flexibility for customization.
Thus, we chose a mostly command-line approach, which has been designed and
tested for use on Linux and Windows operating systems.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><caption><p id="d1e783">GSFLOW–GRASS workflow.</p></caption>
        <?xmltex \igopts{width=213.395669pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f03.pdf"/>

      </fig>

<sec id="Ch1.S3.SS1">
  <title>User-specified settings and model inputs</title>
      <p id="d1e797">To seamlessly unify the different GSFLOW–GRASS functionalities, including
the automated GRASS GIS domain builder, GSFLOW input file builder, and
visualization components (Fig. 3), users specify model inputs and configurations using
a settings text file. All inputs from the settings file are read in and
processed by the <preformat preformat-type="code"><![CDATA[ReadSettings.py]]></preformat> script. GSFLOW requires a daunting
number of different model inputs (nearly 200 parameters for the PRMS
subcomponent alone). For ease of use, only a handful of application-specific
and commonly adjusted inputs may be assigned using the settings file, and
default parameter values are applied elsewhere. While the default (and
simplest) approach to GSFLOW–GRASS is to modify only the settings file,
other parameters (including those mentioned in Sect. <xref ref-type="sec" rid="Ch1.S2.SS1.SSS2"/>) may
be readily changed in the input file builder by searching for<?pagebreak page4761?> the parameter
names defined in the GSFLOW manual and changing their values. The open-source
nature of our toolbox also allows users to add parameters to the settings
files for future extensions of GSFLOW–GRASS.</p>
      <p id="d1e805">Specifying and including spatially variable properties is a major challenge
to distributed modeling. The settings file accommodates the use of variable
aquifer hydraulic conductivity, channel width, and Manning's <inline-formula><mml:math id="M6" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> parameters,
which are described further in Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS3"/>. Universal
solutions are beyond the scope of the default toolbox, but we do provide a
generalized GRASS GIS extension called <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> to facilitate
the generation of heterogeneous model inputs; <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat>,
further described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS4"/>, can take any spatially
variable data in a raster or vector GIS format and map it to one of the
GSFLOW discretization structures: subbasin HRUs for PRMS surface-water
processes, regular grid cells for MODFLOW groundwater processes, gravity
reservoirs that link the HRUs and MODFLOW grid cells, or stream segments or
reaches for MODFLOW streamflow processes. This allows users to add data from
any source – e.g., meteorological forcing, soil properties, hydrogeologic
stratigraphy, or vegetation and land cover – to the GSFLOW–GRASS data
structures. Other software tools have facilitated hydrologic modeling by
automating the connection with established databases
<xref ref-type="bibr" rid="bib1.bibx87 bib1.bibx39 bib1.bibx10 bib1.bibx24" id="paren.47"/>. The USGS's GIS Weasel
tool <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx87" id="paren.48"/><?xmltex \hack{\egroup}?> may be used for deriving PRMS parameters from
physical data sets such as STATSGO, which can then be mapped to the
appropriate GSFLOW data structure using <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat>. The current
GSFLOW–GRASS release aims to provide a general set of tools and does not
directly link with any specific databases, which are typically only available
in observation-rich regions and countries.</p>
      <p id="d1e837">The settings file is divided into subsections, each of which drives a portion
of the model setup and organization. The “paths” section defines the
computer directory structure for the project and GSFLOW executable, as well
as the project name and GSFLOW version. Three GRASS GIS sections,
GRASS_core, GRASS_drainage, and GRASS_hydraulics, set the GIS
location and path to the DEM, the surface and subsurface flow discretization
parameters, and open-channel flow geometry and resistance, respectively. The
“run_mode” section allows the user to execute GSFLOW in either spin-up
or restart mode <xref ref-type="bibr" rid="bib1.bibx67" id="paren.49"/>. Spin-up simulations start with a
preliminary MODFLOW steady-state execution using a specified infiltration
rate (see below) to calculate reasonable initial groundwater head conditions
for the subsequent transient simulation that includes both the surface and
subsurface domains; the steady-state step can be essential for obtaining
numerically convergent groundwater results and more realistic solutions for
the entire coupled system. At the end of a spin-up run, final PRMS and
MODFLOW state variables are saved in files that can be specified in the
run_mode section to initiate restart coupled runs without the
preliminary groundwater steady-state period. The “time” section is used to
specify the temporal window of the simulation. The “climate inputs” section
sets input parameters for the PRMS climate_hru option, which is the
standard climate implementation supported by GSFLOW–GRASS (see
Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS1"/>) . Finally, the “hydrogeologic_inputs”
section defines the preliminary steady-state MODFLOW infiltration rate, used
for spin-up runs and either a layered or fully distributed subsurface
hydraulic conductivity structure. The <preformat preformat-type="code"><![CDATA[ReadSettings.py]]></preformat> script uses
these inputs to create a directory structure and organize all GIS and
simulations files. This imposed directory structure supports easy exchange
between the different tool kit modules and allows the use of relative
directory names, which facilitates the sharing of model files across
computer systems and between users.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <title>GRASS GIS domain builder</title>
      <p id="d1e855">A critical challenge for any distributed hydrologic model is the fully
automated development of a reproducible, topologically correct, and
interlinked data structure that describes water flow through a catchment in a
computationally efficient manner. Semiautomated approaches to building
surface flow networks are common <xref ref-type="bibr" rid="bib1.bibx43 bib1.bibx5" id="paren.50"><named-content content-type="pre">e.g.,</named-content></xref>, but
the development of a fully automated approach has been impeded by the
mathematical and logistical difficulties of building a topologically ideal
drainage network (i.e., one whose fundamental unit is a tributary junction).
Many standard GIS tools encounter problems when handling complex digital
topography (represented using a DEM) that may contain natural or artificial
depressions and whose grid cells are often much larger than real topographic
features. Further complications arise when incorporating surface flow
networks into integrated hydrologic models because each link within the
network must then be tagged with sufficient information to identify drainage
pathways through the whole network, and the stream network must also be
linked with sometimes different geometries and resolutions for surface water
and the groundwater flow grids.</p>
      <?pagebreak page4762?><p id="d1e863">We addressed this challenge by creating 11 new GRASS GIS “extensions”, also
called “add-ons”, that work alongside core GRASS GIS commands to transform
user inputs (including a single DEM) into a set of GSFLOW inputs. This
workflow creates an automatically generated network of streams and HRUs that
is spatially linked to a MODFLOW grid. The domain-building procedure is
automated through the <preformat preformat-type="code"><![CDATA[buildDomainGRASS.py]]></preformat> script, which takes inputs
from the settings text file, implements the domain-building workflow, and
produces ASCII files used by GSFLOW–GRASS's Python input builder
scripts.<?xmltex \hack{\newpage}?></p>
<sec id="Ch1.S3.SS2.SSS1">
  <title>Surface-water network</title>
      <p id="d1e875">In the first step of the fully automated domain-building workflow, GRASS GIS
imports a user-provided DEM to define the drainage network and HRUs. After
hydrologically correcting the DEM by filling pits and removing cells that
have flow inputs from outside the map area (GSFLOW–GRASS requires the full
topographical catchment to be included in the model domain), a Hortonian
drainage network is constructed using the <preformat preformat-type="code"><![CDATA[r/v.stream.*]]></preformat> tool kit
<xref ref-type="bibr" rid="bib1.bibx32" id="paren.51"/> that relies on a single flow direction implementation
of the <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> flow-routing algorithm <xref ref-type="bibr" rid="bib1.bibx50" id="paren.52"/>. Subbasins
associated with each stream segment are designated as HRUs in order to follow
both the natural discretization of the landscape and the architecture of PRMS
<xref ref-type="bibr" rid="bib1.bibx47" id="paren.53"/>. River headwaters are defined based on a threshold
drainage area that may be weighted by the user to represent, for example,
nonuniform precipitation or snowmelt inputs. Such weights permit a more
realistic representation of drainage density and, as a result, increased
model resolution in areas that contribute more water to the catchment.</p>
      <p id="d1e893">The GRASS GIS drainage network creation algorithm, <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat>
<xref ref-type="bibr" rid="bib1.bibx50" id="paren.54"/>, is both efficient and accurate. For computations that can
take place entirely within memory, its speed exceeds that of both Terraflow
and the D8 routing used by ArcGIS
<xref ref-type="bibr" rid="bib1.bibx34 bib1.bibx45 bib1.bibx3 bib1.bibx44" id="paren.55"/>. This speed results
from its sorting algorithm and priority queue, and a standard desktop
workstation today can process DEMs in memory with tens of thousands of cells
on each side. The least-cost path approach taken by <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> does
not require any pit-filling step, but we do include it in order to create a more
consistent DEM with downslope-routed flow for the remainder of the analysis.
The flow-routing component of the more recent Fastscape algorithm by
<xref ref-type="bibr" rid="bib1.bibx13" id="text.56"/> could be faster than <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat>, but these have not
been benchmarked, and Fastscape is not yet integrated into the GRASS GIS
toolchain, which is necessary for all of the subsequent steps.
<xref ref-type="bibr" rid="bib1.bibx35" id="text.57"/> demonstrated that <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> is more accurate than
Terraflow <xref ref-type="bibr" rid="bib1.bibx3" id="paren.58"/>, especially in low-relief areas and those in which
tree canopy elevations are mistakenly interpreted as ground-surface
elevations; this latter issue is pervasive across many digital elevation
models, including the widely used Shuttle Radar Topography Mission (SRTM) DEM
<xref ref-type="bibr" rid="bib1.bibx19 bib1.bibx51" id="paren.59"/>.</p>
      <p id="d1e927">In spite of these advantages, <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> has not been used before to
build flow networks for integrated hydrologic models. Other integrated
hydrologic model domain-building tools use local drainage direction
information <xref ref-type="bibr" rid="bib1.bibx10 bib1.bibx49 bib1.bibx24" id="paren.60"/>. While not an
integrated hydrologic model due to its limited subsurface modeling
capabilities, the
Soil &amp; Water Assessment Tool (SWAT) <xref ref-type="bibr" rid="bib1.bibx78" id="paren.61"/> incorporated GRASS GIS version 4
with an earlier and much slower version of <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat>.  Beyond this, <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> is
typically discussed in the drainage algorithm literature
<xref ref-type="bibr" rid="bib1.bibx8 bib1.bibx44 bib1.bibx73 bib1.bibx71" id="paren.62"><named-content content-type="pre">e.g.,</named-content></xref>,
directly applied to flow-routing and cost-path calculations
<xref ref-type="bibr" rid="bib1.bibx91 bib1.bibx12" id="paren.63"><named-content content-type="pre">e.g.,</named-content></xref>, or included as a component of an
assessment tool <xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx70" id="paren.64"><named-content content-type="pre">e.g.,</named-content></xref>. By integrating
<preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> into GSFLOW–GRASS via the <preformat preformat-type="code"><![CDATA[r/v.stream.*]]></preformat> tool kit
for Hortonian drainage network analysis <xref ref-type="bibr" rid="bib1.bibx32" id="paren.65"/>, we are able to
harness the capabilities and efficiency of the hydrologic computational
engine within GRASS GIS for integrated hydrological modeling.</p>
      <p id="d1e970">Following drainage network construction, the next step in the automated
workflow is to map the connections between each segment in the tributary
network. To do this, we developed an extension called
<preformat preformat-type="code"><![CDATA[v.stream.network]]></preformat>, which builds atop the upstream to downstream
stream segment and HRU indexing in the existing <preformat preformat-type="code"><![CDATA[r/v.stream.*]]></preformat> tool kit
<xref ref-type="bibr" rid="bib1.bibx32" id="paren.66"/>. This index is a unique positive integer identifier
applied to each segment and its overlapping HRU and is called a “category”
in GRASS GIS. For each segment and overlapping HRU in the drainage network
(Fig. <xref ref-type="fig" rid="Ch1.F1"/>a, b), <preformat preformat-type="code"><![CDATA[v.stream.network]]></preformat> writes the
category value of the immediately downstream stream segment to the
“tostream” column in its associated attribute table row. Any stream segment
exiting the map area is given a “tostream” value of 0. This links the
stream segments and HRUs in the watershed as a directed graph
<xref ref-type="bibr" rid="bib1.bibx16 bib1.bibx27 bib1.bibx83" id="paren.67"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
      <p id="d1e994">At this point, the user may optionally break out of the automated workflow
and edit the vector geometries that define the streams and subbasins. While
we expect that many users will find the fully automated approach to be a
major advantage over those that require manual intervention – these add a
source of subjectivity and laborious processing time – <xref ref-type="bibr" rid="bib1.bibx24" id="text.68"/>
note that human-developed drainage structures may cause a discrepancy between
topographically routed flow and actual flow paths that require manual adjustments. This manual adjustment is
not standard and requires the addition of a break point in
<preformat preformat-type="code"><![CDATA[buildDomainGRASS.py]]></preformat>, as well as for the user to manually adjust the
category numbers (indices) and “tostream” network topology values in the
attribute tables for the segments and HRUs if the changes are substantial
enough to change the flow network.</p>
      <p id="d1e1003">After this, the study area is limited to a single drainage basin using the
new <preformat preformat-type="code"><![CDATA[v.stream.inbasin]]></preformat> extension, completing the development of the
drainage network geometry and topology. This step is included because the
goal of many hydrologic studies is to understand a single watershed basin. If
this is not the case, <preformat preformat-type="code"><![CDATA[buildDomainGRASS.py]]></preformat> may be<?pagebreak page4763?> edited to skip this
step and to analyze all complete drainage networks within the domain.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><caption><p id="d1e1014">Water table depths <bold>(a)</bold> without and <bold>(b)</bold> with
hydrologic correction. Circled areas display where the hydrologic correction
produced continuous shallow groundwater through the channel network.
Rectangles indicate where the hydrologic correction allowed water held behind
artificial dams to drain. This example is from the Shullcas River watershed
(Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/>).</p></caption>
            <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f04.png"/>

            <p id="d1e1030">.</p>
          </fig>

      <p id="d1e1034">Each stream segment is then supplied with attribute values required for
GSFLOW through the <preformat preformat-type="code"><![CDATA[v.gsflow.segments]]></preformat> extension. This numbers each
segment for GSFLOW (Fig. <xref ref-type="fig" rid="Ch1.F1"/>a) and populates the
associated database table with hydraulic geometry, channel roughness
(constant or spatially distributed), and channel and floodplain width
(constant or spatially distributed). Additional less commonly used options
are also available, including additional input discharge for the
upstream-most stream segments (e.g., from human intervention), input diffuse
runoff, and direct precipitation on the stream.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS2">
  <title>Groundwater flow grid</title>
      <p id="d1e1048">Following the completion of the surface-water domain, the next step is to
build the groundwater domain. MODFLOW-NWT uses a rectangular
finite-difference grid structure <xref ref-type="bibr" rid="bib1.bibx25 bib1.bibx57" id="paren.69"/>. The cell
size for this grid is selected by the user in the settings file. It is often
necessary to discretize the MODFLOW groundwater domain on a grid that is
coarser than the DEM used for surface flow routing in order to increase
computational efficiency while still allowing GSFLOW–GRASS to generate a
complex surface-water network; the proper grid cell size depends on the size
of the HRUs and the strength of the surface-water–groundwater coupling;
<preformat preformat-type="code"><![CDATA[v.gsflow.grid]]></preformat> builds the MODFLOW grid as a set of GIS vector areas
(Fig. <xref ref-type="fig" rid="Ch1.F1"/>c) using the built-in <preformat preformat-type="code"><![CDATA[v.mkgrid]]></preformat> command.
The resolution of this grid is approximately that desired by the user and
meets two criteria designed to most accurately and efficiently capture the
topographic information represented in the fine-scale flow-routing DEM.
First, the grid size must allow for MODFLOW grid cell edges to align
perfectly with flow-routing DEM cell edges. Second, the grid size must be
able to generate a domain that fits exactly within a tight-fitting bounding
box snapped to the closest flow-routing DEM cell edges outside of the study
watershed. As a final step, this tight-fitted domain is padded by three cells
on each side to ensure appropriate boundary condition handling.</p>
      <p id="d1e1062">The <preformat preformat-type="code"><![CDATA[r.gsflow.hydrodem]]></preformat> function then performs a hydrologically correct resampling of
the original flow-routing DEM to the resolution of the MODFLOW grid cells.
This resampling is required when users desire a MODFLOW grid that is coarser
than the flow-routing DEM for computational feasibility. Without a
hydrologically correct resampling, MODFLOW cells would be assigned the
overall mean elevation from the corresponding region of the flow-routing DEM.
In this case, MODFLOW grid cell elevations may average across valley floors
and valley walls, creating a bumpy river longitudinal profile that contains
artificial dams (Fig. <xref ref-type="fig" rid="Ch1.F4"/>a). With the hydrologic
correction, MODFLOW cells that do not contain stream segments remain
unchanged, but cells containing stream segments are assigned the mean
elevation of only the river channel cells in the flow-routing DEM. This
enforces decreasing elevations down the drainage network, and
Fig. <xref ref-type="fig" rid="Ch1.F4"/>b demonstrates the resulting continuous flow
through the catchment.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS3">
  <title>Surface-water–groundwater coupling</title>
      <p id="d1e1079">The final step in developing the GSFLOW domain is to link the surface-water
geospatial data structures (HRUs and segments) with the MODFLOW rectangular
grid; <preformat preformat-type="code"><![CDATA[v.gsflow.reaches]]></preformat> and <preformat preformat-type="code"><![CDATA[v.gsflow.gravres]]></preformat> construct the
reaches and gravity reservoirs (Sect. <xref ref-type="sec" rid="Ch1.S3.SS1"/>), which are the
intersection of segments and HRUs, respectively, with each MODFLOW grid cell
(Fig. <xref ref-type="fig" rid="Ch1.F1"/>d). The database table for the reaches includes
values for the thickness of the stream-bed sediment (defaults to 1 m) and
its hydraulic conductivity (defaults to 5 m day<inline-formula><mml:math id="M7" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, characteristic of
sand and gravel).</p>
</sec>
<sec id="Ch1.S3.SS2.SSS4">
  <title>Accessing additional GSFLOW functionality</title>
      <p id="d1e1110">GSFLOW supports more input options than we have defined for our GRASS GIS
<preformat preformat-type="code"><![CDATA[v.gsflow.*]]></preformat> commands, though we have included many of the most common
options. These are sufficient to set up and run a GSFLOW simulation. However,
they may not encompass all of the variables that some users may consider to
be important.</p>
      <p id="d1e1116">Therefore, GSFLOW–GRASS includes the <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> tool for users
to add other attributes to database tables, with a focus on spatial
distributions. These attributes can include spatially variable precipitation
and temperature, parameter choices for model spin-up, and fully distributed
maps of hydraulic conductivity, specific yield, streambed hydraulic
properties, soil texture, vegetation type, and evapotranspiration parameters (current
input configurations described in Sect. 3.3).
The core capability of <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> is the use of averaging and
nearest-neighbor methods to connect input data from raster grids, vector
areas (polygons), or vector points to the attribute tables of the HRUs,
segments, gravity reservoirs, reaches, and/or MODFLOW grid cells. As these
are custom additions, calls to <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> must be added by end
users to <preformat preformat-type="code"><![CDATA[buildDomainGRASS.py]]></preformat>. Once added, the end user can follow our
template code in the input file builder to add these to the GSFLOW input
files; <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> therefore adds user-driven flexibility, whereby input
data can be supported by GSFLOW–GRASS, and a starting point for
users who may want to expand on its capabilities.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS5">
  <title>Geospatial data export</title>
      <p id="d1e1140">In the final step, the generated attributes and geometries are exported. This
information is stored in GRASS GIS as raster grids and vector geometries
associated with SQL database tables; <preformat preformat-type="code"><![CDATA[buildDomainGRASS.py]]></preformat> exports a
rasterized “basin mask” (1 in the basin, 0 outside) and the hydrologically
corrected DEM at the MODFLOW grid resolution, as well as<?pagebreak page4764?> vectorized GIS data
(shapefile format) for the HRUs, gravity reservoirs, MODFLOW grid, stream
segments, stream reaches, pour point, full study basin area, and downstream
boundary condition cells. Then, <preformat preformat-type="code"><![CDATA[v.gsflow.output]]></preformat> exports the database tables
associated with the vectorized GIS data in comma-separated variable (CSV)
files that can be read in by the input file builder scripts
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/>) for use in GSFLOW. These exported data are then
ready to be parsed into GSFLOW inputs using the Python input file builder
scripts (Sect. <xref ref-type="sec" rid="Ch1.S3.SS3"/>) and/or to be used for data visualization
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS5"/>).</p>
      <p id="d1e1155">This separation between the GIS and ASCII input file components is
intentional. The GRASS domain builder component typically requires several
minutes to run and often only needs to be executed once for a watershed. The
ASCII files, on the other hand, can form an effective basis for ensembles of
runs. These can be used to calibrate parameters or explore hydrologic
sensitivity to variable forcing scenarios.</p>
</sec>
</sec>
<sec id="Ch1.S3.SS3">
  <title>GSFLOW input file builder</title>
      <p id="d1e1165">GSFLOW–GRASS includes a set of input file builder scripts that are
streamlined to incorporate the model domain discretization constructed by the
GRASS GIS workflow and generate corresponding model inputs for the GSFLOW
control file, PRMS-type input files, and MODFLOW-type input files. Most of
the new features in GSFLOW that are not in stand-alone PRMS or MODFLOW follow
the same modular modeling system input data file format <xref ref-type="bibr" rid="bib1.bibx38" id="paren.70"/>
as PRMS, which includes the use of a control file as the main interface file,
modules for different computational options, and the PRMS input file
syntax. In contrast, MODFLOW uses a name file as its main interface file,
implements packages for computational options, and follows its own file
syntax. The following builder scripts handle these different formats and are
automatically executed through the tool kit's run file (Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>).
The builder scripts may also be customized for extensions beyond the default
implementation.</p>
<sec id="Ch1.S3.SS3.SSS1">
  <title>GSFLOW control file</title>
      <p id="d1e1178">The GSFLOW control file is the highest-level input file and is created by the
<preformat preformat-type="code"><![CDATA[printGSFLOWControlfile.py]]></preformat> script in the GSFLOW–GRASS tool kit. The
tool kit is streamlined for configuring the integrated mode of GSFLOW (set
through the <italic>model_mode</italic> parameter).</p>
      <p id="d1e1187">Inputs for the control file parameters are organized under six numbered
sections in <preformat preformat-type="code"><![CDATA[printGSFLOWControlfile.py]]></preformat>. The script sets parameters
related to climate forcing, time domain, and run mode based on what the user
specifies in the settings file; all other parameters are preset to default
values. Further customization of control file parameters (stored in the list
variable <italic>con_par_name</italic>) requires simply changing default values (in
the corresponding list variable <italic>con_par_values</italic>) in the script;
spatially variable entries can be generated with the aid of the
<preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> tool. The first two sections are required and include
details about the simulation execution and module choices. The third section
establishes spin-up versus restart run modes based on settings file entries.
Sections 4 and 5 contain customizable lists of output variables to be
printed, which can be used by visualization scripts in GSFLOW–GRASS
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS5"/>). The last optional section is for running the model
in a debugging mode.</p>
      <p id="d1e1204">Note that the default implementation of this tool kit uses the
climate_hru module for precipitation and<?pagebreak page4765?> minimum and maximum daily
temperature; this means that the model will employ preexisting files
containing data already specified by HRU. The PRMS component of GSFLOW does
include other modules for distributing data from one or a handful of weather
stations, but these typically require application-specific empirical
parameters that are difficult to incorporate in a generic tool kit. Use of the
climate_hru module provides flexibility for the user to implement their
own spatial interpolation or extrapolation methods, which can then be
transferred to the GSFLOW domain with the <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> tool.
GSFLOW–GRASS's default implementation also uses the Priestley–Taylor
formulation for potential evapotranspiration calculations
<xref ref-type="bibr" rid="bib1.bibx46" id="paren.71"/>. This module was chosen because of its reliance on only
air temperature and solar radiation (calculated by the PRMS component of
GSFLOW) and because of the relative ease of accounting for different
vegetation properties through the parameter <italic>pt_alpha</italic> (in the PRMS
parameter file, Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS2"/>).</p>
      <p id="d1e1218">After the six parameter input sections in <preformat preformat-type="code"><![CDATA[printGSFLOWControlfile.py]]></preformat>,
the script builds the control file and then generates an executable file
(shell script for Linux or batch file for Windows) for running GSFLOW with
the control file. After all other input files are created, this executable is
called by the tool kit's automated run file (Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>). The
executable can also be used to run GSFLOW outside of the GSFLOW–GRASS
tool kit.</p>
</sec>
<sec id="Ch1.S3.SS3.SSS2">
  <title>PRMS-type input files</title>
      <p id="d1e1232">Input files required for the PRMS component of GSFLOW are the parameter file
(param_file in the control file), which includes empirical surface and
soil zone properties, and the data file (data_file in the control file),
which includes climate observations for the spatial
interpolation and extrapolation algorithms. If the climate_hru module is
selected, as it is in the tool kit's default implementation
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS1"/>), then individual input files with
HRU-distributed climate variables must also be specified. For a quick setup
of GSFLOW–GRASS, the script <preformat preformat-type="code"><![CDATA[printClimatehru.py]]></preformat> takes daily
observations from a single file and distributes them uniformly over all HRUs.
The tool kit handles the minimum required climate variables – daily
precipitation, maximum temperature, and minimum temperature – and it is set up
to be readily extended to also include humidity, solar radiation, and/or wind
speed. A spatially uniform approach may be acceptable when the size of a
rainstorm is typically greater than the size of a catchment and climatic
variables vary only weakly with slope and aspect. Larger and higher-relief
catchments require spatially distributed climate inputs for realistic
outputs; these require custom inputs from the end user, which can be ported
from any discretization to the HRU domain with the aid of the
<preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> tool.</p>
      <p id="d1e1243">The parameter file is created by the script <preformat preformat-type="code"><![CDATA[printPRMSparamfile.py]]></preformat>. The
script includes sections for domain dimensions and for parameter inputs,
both of which are streamlined to take values parsed from the GRASS GIS domain
builder outputs (as indicated in the comments in the script). Because of
PRMS's conceptual soil moisture regimes, the parameter file requires a
substantial number of parameter inputs related to the soil and vegetation
that cannot easily be specified without calibration. As a default to help the
user get GSFLOW up and running, most parameter values in
<preformat preformat-type="code"><![CDATA[printPRMSparamfile.py]]></preformat> are preset, mostly using calibrated values from
the Sagehen watershed example that was distributed with the GSFLOW model
version 1.2.1. We have indicated with the comment “# <inline-formula><mml:math id="M8" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>*</mml:mo><mml:mo>*</mml:mo><mml:mo>*</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> CHANGE FOR
SPECIFIC SITE” those parameters that could also be altered based on known
characteristics of one's watershed site. This includes various soil and
land cover inputs, such as <italic>soil_type</italic> (sand, loam, or clay),
<italic>cov_type</italic> (bare soil, grasses, shrubs, or trees),
<italic>transp_end</italic> (end month of transpiration, for phenology), and
<italic>pt_alpha</italic> (Priestley–Taylor parameter <inline-formula><mml:math id="M9" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula>, which can be based
on literature values). In addition to these highlighted parameters, users can
review all parameters to determine whether others could be particularly
important for their specific application. These may include some of the
parameters mentioned in Sect. <xref ref-type="sec" rid="Ch1.S2.SS1.SSS2"/> that determine exchanges
between different soil zone reservoirs. Spatially variable information can be
transferred to the HRU domain using the <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> tool.
Rigorous calibration of PRMS parameters can eventually be carried out with
inverse codes such as PEST <xref ref-type="bibr" rid="bib1.bibx17" id="paren.72"/> or UCODE
<xref ref-type="bibr" rid="bib1.bibx61 bib1.bibx62" id="paren.73"/>.</p>
</sec>
<sec id="Ch1.S3.SS3.SSS3">
  <title>MODFLOW-type input files</title>
      <p id="d1e1304">GSFLOW requires input files for each MODFLOW package utilized, which can
include any of the packages listed in Table 1 of the GSFLOW manual
<xref ref-type="bibr" rid="bib1.bibx46" id="paren.74"><named-content content-type="post">Appendix 1, 176–226, provides details</named-content></xref>. Our tool kit
by default creates a relatively general MODFLOW setup, which includes
required input files and omits most optional ones, such as the well package.
The tool kit creates
four basic package input files (name file, basic package file, discretization
file, and the optional output control file for customizing output files), two
different groundwater flow package options (the layer-property flow (LPF)
from MODFLOW-2005 and the upstream weighting package (UPW) from MODFLOW-NWT),
the numerical solver package (preconditioned conjugate gradient (PCG) for LPF
and Newtonian (NWT) input file for UPW), the streamflow-routing package
(SFR), and the unsaturated-zone flow package (UZF).</p>
      <p id="d1e1312">The script <preformat preformat-type="code"><![CDATA[printMODFLOWInputs.py]]></preformat> creates a set of internally consistent input files
that incorporate the domains constructed by the GRASS GIS workflow
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>) and conform to the simulation directory structure
established through the <preformat preformat-type="code"><![CDATA[ReadSettings.py]]></preformat> utility. By default,
<preformat preformat-type="code"><![CDATA[printMODFLOWInputs.py]]></preformat> calls the MODFLOW-NWT UPW/NWT flow package
instead of the MODFLOW-2005<?pagebreak page4766?> because of the superior numerical performance of
the former in tests with steep elevation gradients (e.g.,
Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/>). If desired, users can easily switch to the LPF/PCG
formulation from MODFLOW-2005 by setting <italic>sw_2005_NWT</italic> <inline-formula><mml:math id="M10" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1 in
<preformat preformat-type="code"><![CDATA[printMODFLOWInputs.py]]></preformat>.</p>
      <p id="d1e1342">Input files created outside of our tool kit for a stand-alone MODFLOW model
implementation of identical discretization will for the most part be usable
with the integrated GSFLOW model. However, as indicated in Table 1 of the
GSFLOW manual, some MODFLOW packages were modified for their use in GSFLOW.
Advantages of implementing our tool kit over using pre-created MODFLOW input
files are that it already incorporates these GSFLOW modifications, it
automatically uses the GRASS GIS builder results for the domain, and it
guarantees a directory structure that is consistent with the rest of the
input files and the visualization scripts.</p>
      <p id="d1e1345">The GSFLOW–GRASS tool kit also offers an optional script
<preformat preformat-type="code"><![CDATA[createSpatialHydCond.py]]></preformat> for generating spatially distributed hydraulic
conductivity fields for the upper layer based on elevation and/or distance
from the stream network, with the assumption that lower elevations and/or
riparian corridors have higher hydraulic conductivity properties. Because
application-specific entries cannot easily be generalized for input through
the settings file, users should directly customize elevation and stream
distance thresholds, as well as corresponding hydraulic conductivity values,
at the top of the <preformat preformat-type="code"><![CDATA[createSpatialHydCond.py]]></preformat> script. This script will
automatically import domain information from the settings file and export
results to the file location specified by the settings file;
<preformat preformat-type="code"><![CDATA[createSpatialHydCond.py]]></preformat> serves as a ready-to-go tool for creating
physically plausible hydraulic conductivity patterns, and it provides an
example for how users can create their own scripts to customize spatially
distributed inputs. A similar type of script could create spatially
distributed infiltration fields for the preliminary MODFLOW steady-state
simulation in spin-up runs (e.g., <italic>finf</italic> entry in the settings file).
These tools can provide preliminary inputs to jump-start GSFLOW model
implementations. However, realistic construction of hydrogeologic frameworks
relies on data from sources such as well logs, geologic maps, geophysical
measurements, and pumping tests <xref ref-type="bibr" rid="bib1.bibx68 bib1.bibx69" id="paren.75"/>. For these, we
recommend that users import the appropriate data sources into GRASS GIS and
use the <preformat preformat-type="code"><![CDATA[v.gsflow.mapdata]]></preformat> extension to map these parameters onto the
appropriate GSFLOW objects (e.g., HRUs, MODFLOW cells). Properties for stream
segments and reaches – such as streambed hydraulic conductivity and
unsaturated hydraulic properties below the streambed – are set to default
values that can be changed through the GRASS GIS extensions. By default, the
streamflow calculation is set to use Manning's equation by assuming a wide
rectangular channel (<italic>ICALC</italic> <inline-formula><mml:math id="M11" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1). Spatially variable stream
widths and/or Manning's <inline-formula><mml:math id="M12" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> values may be set through the settings file
based on either gridded or point-based (e.g., survey) data, and
<preformat preformat-type="code"><![CDATA[v.gsflow.segments]]></preformat> also supports the delineation of both channel and
floodplain geometries and roughness parameters.</p>
</sec>
</sec>
<sec id="Ch1.S3.SS4">
  <title>GSFLOW run file</title>
      <p id="d1e1394">For the user's convenience, the GSFLOW–GRASS tool kit includes an executable
run file, which is a shell script for Linux, <preformat preformat-type="code"><![CDATA[goGSFLOW.sh]]></preformat>, and a batch
file for Windows, <preformat preformat-type="code"><![CDATA[goGSFLOW.bat]]></preformat>. The run file collects input from a
specified settings file and then runs all of the above input file builder
scripts: the script <preformat preformat-type="code"><![CDATA[runGSFLOW.py]]></preformat>, which launches the GSFLOW
simulation, and the runtime visualization script
<preformat preformat-type="code"><![CDATA[plotGSFLOWTimeSeries_Runtime.py]]></preformat>, further described below. If the
runtime visualization is not desired, the user can comment out the
corresponding execution line in the run file. As long as the user does not
wish to use more features than are exposed in the settings file, no direct
interface with the code is required to run GSFLOW–GRASS. This permits a
“quick-start” implementation of GSFLOW, which can substantially lower the
barrier to entry for using this model.</p>
      <p id="d1e1409">The run file may be implemented only after the model domain is generated
through <preformat preformat-type="code"><![CDATA[buildDomainGRASS.py]]></preformat>. The GSFLOW–GRASS tool kit separates the
GRASS domain builder module from the run file because users will typically
only need to construct their domain once, but will perform multiple runs of
the model with variable parameter inputs, for example, for model calibration
or to simulate different time periods.</p>
      <p id="d1e1415">After preliminary quick-start simulation tests, users can further customize
their runs by taking advantage of the modular structure of the tool kit, which
has a separate script for each input file. For example, to target specific
aspects of the model, such as the surface runoff properties, corresponding
parameters may be adjusted in the PRMS parameter file by editing and
rerunning <preformat preformat-type="code"><![CDATA[printPRMSparamfile.py]]></preformat>. Select input file builder scripts
can be run either within Python or by editing the executable run file.</p>
</sec>
<sec id="Ch1.S3.SS5">
  <title>Visualization tools</title>
      <?pagebreak page4767?><p id="d1e1427">Our tool kit includes post-processing Python scripts that employ the
Matplotlib plotting library <xref ref-type="bibr" rid="bib1.bibx31" id="paren.76"/> for visualizing the domain
discretization, key MODFLOW inputs, and model output results. The model
discretization for the PRMS component of GSFLOW is exported from GRASS GIS as
a set of standard vector GIS files (shapefiles). Our Python plotting scripts
use these shapefiles to create figures of the surface HRU and stream segment
discretization (<preformat preformat-type="code"><![CDATA[plotBasin.py]]></preformat>) and to generate movies of
HRU-distributed and stream-segment-distributed variables
(<preformat preformat-type="code"><![CDATA[plotHRUvars.py]]></preformat> and <preformat preformat-type="code"><![CDATA[plotSegmentDischarge.py]]></preformat>). These output
variables (e.g., evapotranspiration and streamflow) are set through
<italic>aniOutVar_names</italic> in the GSFLOW control file (see Section
<xref ref-type="sec" rid="Ch1.S3.SS3.SSS1"/>). The exported shapefiles may also be used to
visualize model results with standard GIS packages <xref ref-type="bibr" rid="bib1.bibx63" id="paren.77"><named-content content-type="pre">e.g.,
QGIS:</named-content></xref> outside of GSFLOW–GRASS.</p>
      <p id="d1e1453">For the MODFLOW component of GSFLOW, the tool kit's script
<preformat preformat-type="code"><![CDATA[plotMODFLOW.py]]></preformat> plots spatially distributed layer elevations, hydraulic
conductivity, and a map of active computational grid cells. The script also
plots spatially distributed MODFLOW simulations results over time, including
for hydraulic head, change in head, water table depth, and recharge from the
unsaturated zone. For storage efficiency, the tool kit creates and reads in
head and unsaturated zone output files in binary format.</p>
      <p id="d1e1459">For basin total GSFLOW results, the Python script
<preformat preformat-type="code"><![CDATA[plotGSFLOWTimeSeries.py]]></preformat> generates time series lines for user-selected
variables from the main GSFLOW CSV output file. The names of all variables, along
with their descriptions and units, are listed in <preformat preformat-type="code"><![CDATA[GSFLOWcsvTable.py]]></preformat>,
which is imported into <preformat preformat-type="code"><![CDATA[plotGSFLOWTimeSeries.py]]></preformat> to ensure consistency
in figure labels and axes. Our toolbox also includes the runtime
visualization script <preformat preformat-type="code"><![CDATA[plotGSFLOWTimeSeries_Runtime.py]]></preformat> that is by
default called by the run file (but can be commented out if desired) and
displays a continuously updated time series plot of basin total precipitation
and discharge. Tracking simulation progress with runtime plots can be very
useful for complex integrated models, which can have lengthy simulation
times.</p>
      <p id="d1e1474">The visualization scripts can be run using a command-line parser and/or by
editing plot options that appear near the top of each script. More advanced
users may modify the bodies of the scripts to change features such as axis
intervals or color schemes. For users who want to adjust the scripts, we
suggest running them in the iPython interactive programming console
<xref ref-type="bibr" rid="bib1.bibx60" id="paren.78"/>, which is also incorporated into the Spyder integrated
development environment (IDE). Although this visualization approach requires
some familiarity with Python and/or command-line argument parsing, it
accommodates a wide range of plotting preferences. All plots and videos may
be displayed as on-screen figures (in raster or vector formats using the
interactive Matplotlib window) and may be saved as images (interactively) or
videos (<preformat preformat-type="code"><![CDATA[*.mp4]]></preformat> format) as defined by inputs to the plotting script.</p>
      <p id="d1e1484">Other existing no-fee USGS GUI programs for MODFLOW also provide
visualization capabilities, and using these with the input and output files
produced with GSFLOW–GRASS is possible. In particular, GW Chart
<xref ref-type="bibr" rid="bib1.bibx93" id="paren.79"/> can be directly implemented for plotting basin-level time
series results. Additionally, Model Viewer <xref ref-type="bibr" rid="bib1.bibx29" id="paren.80"/> and ModelMuse
<xref ref-type="bibr" rid="bib1.bibx94" id="paren.81"/> are able to read in and plot spatially variable head
results from binary files with the extension .bhd, but this does require
manual post-processing steps. For Model Viewer, the user needs to copy all
MODFLOW input and output files to a new folder inside the Model Viewer
project directory and select the namefile when prompted. For ModelMuse, the
user must first delete the line that starts with IWRT from the name file
in order to load the project into the program. Once the project settings are
loaded into ModelMuse, the user can use the “import model results” tool to
select the binary head file.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><caption><p id="d1e1498">Our test sites include the high Andes, a mountainous island, and a
formerly glaciated Mississippi tributary.</p></caption>
          <?xmltex \igopts{width=142.26378pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f05.pdf"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><caption><p id="d1e1509">Model based on Cannon River, Minnesota, USA. <bold>(a)</bold> Map with
MODFLOW grid, HRU outlines, stream segments (blue), and digital elevation
model. <bold>(b)</bold> Simulated discharge after an 11 cm rainfall event.
<bold>(c, d)</bold> Relatively low-gradient hydraulic head distributions in two
MODFLOW layers representing an upper glacial till unit (low hydraulic
conductivity) and lower fractured carbonate bedrock (higher hydraulic
conductivity), with elevation contours (m a.s.l.). <bold>(e)</bold> A 3-year
hydrograph showing uncalibrated discharge simulations matching observations
reasonably well during nonpeak flood times but poorly during many of the
actual peaks.</p></caption>
          <?xmltex \igopts{width=455.244094pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f06.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S4">
  <title>Examples</title>
      <p id="d1e1537">Three example implementations for
the study sites shown in Fig. 5 (characteristics listed in Table 2) demonstrate (1) the variety of hydrological
processes and environments that can be explored using GSFLOW–GRASS and
(2) how the tool kit's GIS domain builder can handle diverse topographic
settings, including those prone to problems with standard GIS stream network
tools (Table <xref ref-type="table" rid="Ch1.T3"/>). Towards the first point, the specific examples chosen represent a
range of practical applications for water and land management. Towards the
second point, each simulation presents a unique set of technical challenges
in developing a topographically based model domain that can properly route
rainfall through a network of stream segments and subbasins as well as a
connected groundwater flow grid. It is important to note, however, that no
calibration effort was made to match field observations for these test cases.
The simulation results thus serve as purely schematic examples based on
certain settings and do not aim to capture actual conditions at the
corresponding sites. The three examples all contain complex hydrology with
interactions between surface water and groundwater and are exemplars of
practical management concerns. Together they span a range of environments:
high to low elevations, steep to low-gradient catchments, coastal to inland
settings, tectonically active to cratonal, and with partially to fully
integrated drainage. Their catchment areas range from 12.5 to 3723.0 km<inline-formula><mml:math id="M13" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>,
covering the range of scales that GSFLOW was developed to simulate.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2" specific-use="star"><caption><p id="d1e1554">Catchment and hydrological characteristics of the GSFLOW–GRASS
example sites.</p></caption><oasis:table frame="topbot"><?xmltex \begin{scaleboxenv}{.9}[.9]?><oasis:tgroup cols="8">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="right"/>
     <oasis:colspec colnum="8" colname="col8" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Drainage</oasis:entry>
         <oasis:entry colname="col3">Flow-routing</oasis:entry>
         <oasis:entry colname="col4">MODFLOW</oasis:entry>
         <oasis:entry colname="col5">Min. HRU</oasis:entry>
         <oasis:entry colname="col6">Elevation</oasis:entry>
         <oasis:entry colname="col7">Mean annual</oasis:entry>
         <oasis:entry colname="col8">Daily</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Site</oasis:entry>
         <oasis:entry colname="col2">area (km<inline-formula><mml:math id="M14" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col3">cell size (m<inline-formula><mml:math id="M15" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col4">cell size (km<inline-formula><mml:math id="M16" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col5">area (km<inline-formula><mml:math id="M17" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col6">range (m)</oasis:entry>
         <oasis:entry colname="col7">rainfall (mm)</oasis:entry>
         <oasis:entry colname="col8">rainfall CV</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Cannon River, Minnesota, USA</oasis:entry>
         <oasis:entry colname="col2">3723</oasis:entry>
         <oasis:entry colname="col3">225</oasis:entry>
         <oasis:entry colname="col4">1</oasis:entry>
         <oasis:entry colname="col5">10</oasis:entry>
         <oasis:entry colname="col6">203–413</oasis:entry>
         <oasis:entry colname="col7">756</oasis:entry>
         <oasis:entry colname="col8">3.2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Water Canyon, Santa Rosa Island,</oasis:entry>
         <oasis:entry colname="col2">12.5</oasis:entry>
         <oasis:entry colname="col3">8100</oasis:entry>
         <oasis:entry colname="col4">0.0324</oasis:entry>
         <oasis:entry colname="col5">0.4</oasis:entry>
         <oasis:entry colname="col6">23–378</oasis:entry>
         <oasis:entry colname="col7">265</oasis:entry>
         <oasis:entry colname="col8">5.4</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">California, USA</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4"/>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7"/>
         <oasis:entry colname="col8"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Shullcas River, Junín Region, Peru</oasis:entry>
         <oasis:entry colname="col2">161.4</oasis:entry>
         <oasis:entry colname="col3">930.93</oasis:entry>
         <oasis:entry colname="col4">0.25</oasis:entry>
         <oasis:entry colname="col5">1</oasis:entry>
         <oasis:entry colname="col6">3526–5527</oasis:entry>
         <oasis:entry colname="col7">1076</oasis:entry>
         <oasis:entry colname="col8">1.4</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup><?xmltex \end{scaleboxenv}?></oasis:table><?xmltex \begin{scaleboxenv}{.9}[.9]?><table-wrap-foot><p id="d1e1557"><?xmltex \hack{\vspace*{1mm}}?>Precipitation statistics
from 12 May 1938 to 5 November 1943 (Cannon); 23 April 1990 to
27 September 2017 (Water Canyon); 26 August 2013 to 29 September 2016
(Shullcas). “Flow-routing cell size” is the original DEM resolution used to
construct the stream network and irregular HRU cells, which are ultimately
coarser sized (“Min. HRU area”). CV: coefficient of variation.</p></table-wrap-foot><?xmltex \end{scaleboxenv}?></table-wrap>

      <p id="d1e1785">These applications show that
even before any parameter adjustments, the GSFLOW–GRASS tool kit can readily
generate GSFLOW model domains and parameter inputs that<?pagebreak page4768?> produce numerically
convergent simulations in a variety of topographies and hydroclimatic
conditions.</p>
      <p id="d1e1788">Preliminary simulations with the default GSFLOW–GRASS provide a valuable
springboard for the next step of performing the calibration needed to
generate realistic model outputs for specific sites. The GSFLOW–GRASS
toolbox can be customized to quickly generate additional model runs with
varying input values to expedite the parameter calibration. It can also
facilitate the implementation of sensitivity or other Monte Carlo-type
analyses that are critical for identifying issues such as equifinality and
over-parameterization and for determining uncertainty estimates
<xref ref-type="bibr" rid="bib1.bibx9 bib1.bibx22 bib1.bibx65 bib1.bibx77" id="paren.82"/>.</p>
<sec id="Ch1.S4.SS1">
  <title>Cannon River, Minnesota, USA</title>
      <?pagebreak page4769?><p id="d1e1800">The Cannon River is a tributary to the upper Mississippi River in Minnesota,
USA. Its headwaters cross low-relief uplands that are capped by
low-hydraulic-conductivity glacial deposits <xref ref-type="bibr" rid="bib1.bibx59" id="paren.83"/> and are
intensively farmed <xref ref-type="bibr" rid="bib1.bibx36" id="paren.84"/>. Its lower reaches pass through a
valley cut into fractured carbonate bedrock that is popular for recreation.
This combination of agricultural and recreational uses leads to a suite of
management concerns related to agricultural nutrients and fine sediments
<xref ref-type="bibr" rid="bib1.bibx16" id="paren.85"/> impacting both surface water and the underlying bedrock
aquifers <xref ref-type="bibr" rid="bib1.bibx86 bib1.bibx79" id="paren.86"/>, thus motivating the need for
integrated hydrologic modeling tools. Furthermore, its large basin and
high-resolution topography make the Cannon River drainage basin an
appropriate test site to evaluate the accuracy and computational efficiency
of GSFLOW–GRASS across a range of HRU and MODFLOW grid cell areas.</p>
      <p id="d1e1815">We implemented GSFLOW–GRASS for the Cannon River watershed (Fig. <xref ref-type="fig" rid="Ch1.F6"/>) using the
Minnesota statewide 1 m lidar data set
(<uri>http://www.mngeo.state.mn.us/chouse/elevation/lidar.html</uri>,
last access: 22 November 2018), which we resampled to 15 m resolution.
Meteorological data from nearby Zumbrota, Minnesota, were obtained from the
Midwestern Regional Climate Center <xref ref-type="bibr" rid="bib1.bibx1" id="paren.87"/>. The flexible
GSFLOW–GRASS input builder allows for easy implementation of two MODFLOW
layers to represent an upper glacial till unit (low hydraulic conductivity)
and the underlying fractured carbonate bedrock (higher hydraulic
conductivity), which produced somewhat steeper hydraulic head gradients in
the upper layer compared to the lower layer (Fig. <xref ref-type="fig" rid="Ch1.F6"/>c, d).</p>
      <p id="d1e1828">In this low-relief watershed (Table <xref ref-type="table" rid="Ch1.T2"/>), Pleistocene glaciation
produced nonintegrated upland drainage that presents computational
challenges that are very different from those in steep watersheds. Much of
the Cannon River watershed's postglacial topography is characterized by
small localized hills and enclosed basins that have not yet been organized
(i.e., integrated) by fluvial erosion into a linked valley network, in which
water flows directly to a stream without encountering an enclosed depression
(such as a lake, wetland, or dry basin). In such settings that lack
integrated drainage, downslope flow-routing and pit-filling algorithms
that are typically used to build hydrologic model domains
<xref ref-type="bibr" rid="bib1.bibx10 bib1.bibx49 bib1.bibx24" id="paren.88"><named-content content-type="pre">e.g.,</named-content></xref> can fail or produce
spurious results by inappropriately modifying the real topography. As
described in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS1"/>, GSFLOW–GRASS determines
surface-water flow using the GRASS GIS's efficient and accurate
<preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> extension, which implements a least-cost path algorithm
designed to produce drainage networks that route flow in the long-range path
of steepest descent regardless of the degree of local drainage integration.
By using <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> alongside a set of new GRASS GIS extensions that
integrate it into the GSFLOW framework, GSFLOW–GRASS is able to
automatically create a topologically correct and linked drainage network for
hydrologic model simulations in settings that lack integrated drainage.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><caption><p id="d1e1848">Changes in model output reproducibility, model runtime, and
domain-building time with changes in both HRU resolution (drainage threshold)
and MODFLOW resolution (MODFLOW grid cell area). <bold>(a)</bold> Root mean
square error in basin discharge between each simulation and the
highest-resolution simulation. <bold>(b)</bold> Time required to set up the input
parameters and run the model. <bold>(c)</bold> Time required to build the domain.
All computations were run on a Project Sputnik Dell XPS13 first-generation
laptop with an Intel i7-4510U 2.0 GHz CPU and 8 GB of RAM running Ubuntu
18.04.</p></caption>
          <?xmltex \igopts{width=170.716535pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f07.png"/>

        </fig>

      <p id="d1e1867">The Cannon River watershed is by far the largest of the three model
implementations and thus greatly benefits from the coarsened surface and
subsurface domains (Table <xref ref-type="table" rid="Ch1.T2"/>). To test the robustness and
efficiency of GSFLOW–GRASS over different resolution configurations, we
compared the accuracy and compute time of the Cannon River example case
across 1 order of magnitude in threshold surface drainage area (for the HRU
delineation) and 2 orders of magnitude in MODFLOW subsurface grid cell
area, starting from the base case resolution shown in
Fig. <xref ref-type="fig" rid="Ch1.F7"/>. Note that the threshold surface
drainage area increase was limited by the total watershed size.
Figure <xref ref-type="fig" rid="Ch1.F7"/>a shows that coarsening the irregular
HRU resolution results in little (at finer MODFLOW resolution) to negligible
(at coarser MODFLOW resolution) increase in error compared to coarsening the
rectangular MODFLOW grid. This demonstrates that the accuracy of the
GSFLOW–GRASS topographically based surface discretization is well<?pagebreak page4770?> maintained
even with large-sized cells. Over the 2 orders of magnitude increase in
rectangular MODFLOW grid cell sizes, errors steadily grow to about 35 %,
but the GSFLOW–GRASS hydrological correction step
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS2"/>) helped prevent even greater errors. The
trade-off for accuracy is compute time: GSFLOW runtime is much more sensitive
to the MODFLOW resolution than to the surface domain resolution
(Fig. <xref ref-type="fig" rid="Ch1.F7"/>b). However, the domain builder
algorithm – which requires longer compute times than the 5.5-year GSFLOW
simulation for the Cannon River – is sensitive to both the surface drainage
resolution and the MODFLOW grid cell area, and it is even more sensitive to
the surface drainage resolution (Fig. <xref ref-type="fig" rid="Ch1.F7"/>c).
GSFLOW–GRASS's fully automated surface drainage delineation thus allows users
to overcome one of the most time-consuming obstacles to implementing
integrated hydrologic models by constructing efficient and accurate irregular
HRUs. The GSFLOW–GRASS tool kit makes it easy to carry out systematic GSFLOW
configuration tests like this to assess model performance.</p>
      <p id="d1e1883">Comparisons between the simulated streamflow at the watershed outlet and
corresponding observations at Welch, MN, reveal that without any parameter
calibrations, the model produces realistic discharge during nonpeak flood
times and during one of the observed peaks during July 1942
(Fig. <xref ref-type="fig" rid="Ch1.F6"/>e). The severely over-simulated discharge in July 1943
may be evidence for a local convective summer storm system passing over the
Zumbrota weather station, which is located outside of the watershed boundary.
Recurring failure of the model to capture April discharge indicates that
snowmelt-related parameters require adjustment. The automated GSFLOW–GRASS
tool kit can facilitate the application of parameter estimation approaches
<xref ref-type="bibr" rid="bib1.bibx17 bib1.bibx61 bib1.bibx62" id="paren.89"><named-content content-type="pre">e.g.,</named-content></xref>. A calibrated model can
then be used to evaluate the flushing of shallow groundwater – which is
susceptible to leaching from overlying agricultural plots – into the river
channels during major storms, as shown in Fig. <xref ref-type="fig" rid="Ch1.F6"/>b.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <title>Water Canyon, Santa Rosa Island, California, USA</title>
      <p id="d1e1901">Santa Rosa Island is part of the Channel Islands National Park in California,
USA, and is characterized by mountainous topography <xref ref-type="bibr" rid="bib1.bibx15" id="paren.90"/>.
Hydrologic modeling of Santa Rosa Island has previously been performed by
<xref ref-type="bibr" rid="bib1.bibx33" id="text.91"/>, who applied the PIHM hydrologic model <xref ref-type="bibr" rid="bib1.bibx64" id="paren.92"/> to
the island in order to understand the relationship between prehistoric human
settlement patterns and surface-water availability. They reported streamflow
characteristics modeled for the 19 major drainages around the island during
hypothetical climate regimes. Unlike PIHM, GSFLOW–GRASS employs a regular
three-dimensional groundwater grid that does not align with the irregular
surface domain; this makes integrated domain building more complicated
but allows for a flexible representation of the surface-water and aquifer
systems.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T3" specific-use="star"><caption><p id="d1e1916"> Model implementations based on three sites
to test GSFLOW–GRASS capabilities and demonstrate applications.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="justify" colwidth="113.811024pt"/>
     <oasis:colspec colnum="2" colname="col2" align="justify" colwidth="170.716535pt"/>
     <oasis:colspec colnum="3" colname="col3" align="justify" colwidth="170.716535pt"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Site</oasis:entry>
         <oasis:entry colname="col2">GSFLOW–GRASS capabilities</oasis:entry>
         <oasis:entry colname="col3">Applications</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Cannon River, Minnesota, USA</oasis:entry>
         <oasis:entry colname="col2">Two-layer hydraulic conductivity; least-cost flow algorithm for poorly integrated drainage</oasis:entry>
         <oasis:entry colname="col3">Mixed agricultural–recreational watersheds;<?xmltex \hack{\hfill\break}?>Strong temperature seasonality</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Water Canyon, Santa Rosa <?xmltex \hack{\hfill\break}?>Island, California, USA</oasis:entry>
         <oasis:entry colname="col2">Irregular and/or coastline boundaries; hydrologically corrected coarsening; spatially distributed <?xmltex \hack{\hfill\break}?>hydraulic conductivity</oasis:entry>
         <oasis:entry colname="col3">Management of eroding hillslopes; semiarid climate with losing streams</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Shullcas River, Junín Region, <?xmltex \hack{\hfill\break}?>Peru</oasis:entry>
         <oasis:entry colname="col2">Efficient discretization of steep topography;<?xmltex \hack{\hfill\break}?>hydrologically corrected coarsening</oasis:entry>
         <oasis:entry colname="col3">Water resources in mountain catchments;<?xmltex \hack{\hfill\break}?>Groundwater–surface-water interactions under seasonally variable precipitation</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><table-wrap-foot><p id="d1e1919">Precipitation statistics from 26 August 2013 to 29 September 2016
(Shullcas); 23 April 1990 to 27 September 2017 (Water Canyon); 12 May 1938 to
5 November 1943 (Cannon). CV: coefficient of variation.</p></table-wrap-foot></table-wrap>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><caption><p id="d1e2001">Model based on Water Canyon, Santa Rosa Island, California, USA.
<bold>(a)</bold> Map with MODFLOW grid, HRU outlines, stream segments (blue), and
digital elevation model. <bold>(b)</bold> Streamflow accumulation through the
drainage network. <bold>(c)</bold> The modeled water table distribution with
elevation contours (m a.s.l.). <bold>(d)</bold> Spatially variable hydraulic
conductivity structure, with hydraulic conductivity increasing near the
channel to represent alluvium and colluvium. <bold>(e)</bold> Simulated surface
runoff contributions to catchment-wide discharge compared with
precipitation.</p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f08.png"/>

        </fig>

      <p id="d1e2026">Here we apply the GSFLOW–GRASS toolbox to model Water Canyon
(Tables <xref ref-type="table" rid="Ch1.T2"/> and <xref ref-type="table" rid="Ch1.T3"/>), one of the island's many
drainages. We generated the surface flow-routing system with topography
derived from a 3 arcsec SRTM DEM <xref ref-type="bibr" rid="bib1.bibx19" id="paren.93"/> projected to a UTM
coordinate system at 90 m resolution, which was coarsened for both the
surface and subsurface domains (Table <xref ref-type="table" rid="Ch1.T2"/>). We drove simulations
shown in Fig. <xref ref-type="fig" rid="Ch1.F8"/> using weather data from the Western
Regional Climate Center (<uri>http://wrcc.dri.edu</uri>, last access: 22 November 2018).</p>
      <p id="d1e2044">Water Canyon is unique among the three example sites in that its outflow
drains to the ocean. It therefore requires GSFLOW–GRASS to accommodate
irregular boundaries (coastlines) by properly assigning boundary conditions
and routing flow through them. Users identify ocean pixels by assigning NULL
values to them; this causes flow routing from <preformat preformat-type="code"><![CDATA[r.watershed]]></preformat> to stop at
the shoreline. To allow flow out of a pour point at the mouth of the river, the
immediately downgradient MODFLOW cell can be set as a constant head boundary,
but this cell must be chosen carefully. The finite-difference scheme in
MODFLOW dictates that the constant head boundary condition must be supplied
along one of the four cardinal directions of the pour point. Therefore, if
the river flows diagonally to the sea, its constant head boundary must be
moved to the closest non-diagonal cell; <preformat preformat-type="code"><![CDATA[v.gsflow.grid]]></preformat> finds the proper
constant head boundary cell to set for the coastal case and for any
inland drainage case in which the pour point also requires a downgradient
constant head boundary.</p>
      <p id="d1e2053">Losing streams such as those in the steep and semiarid Water Canyon
catchment often run dry <xref ref-type="bibr" rid="bib1.bibx33" id="paren.94"/>. If this causes MODFLOW cells to
lose all of their water, GSFLOW will fail to numerically converge. Thus, the
Water Canyon example also serves to demonstrate GSFLOW–GRASS's ability to
prevent this problem by (1) incorporating MODFLOW-NWT, which uses a
Newton–Raphson solver for increased stability <xref ref-type="bibr" rid="bib1.bibx57" id="paren.95"/>,
(2) allowing the user to specify an adequately deep MODFLOW discretization in
the settings file (Sect. <xref ref-type="sec" rid="Ch1.S3.SS1"/>) to supply sufficient water through
the dry season, and (3) hydrologically correcting the elevations of coarsened
MODFLOW cells to ensure flow through the stream network
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS2"/>).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><caption><p id="d1e2068">Model based on Río Shullcas, Peru. <bold>(a)</bold> Map with
MODFLOW grid, HRU outlines, stream segments (blue), and digital elevation
model. <bold>(b)</bold> Streamflow accumulation through the mountainous drainage
network. <bold>(c)</bold> The modeled water table distribution with elevation
contours (m a.s.l.). <bold>(d)</bold> Seasonally variable precipitation and
streamflow.</p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/11/4755/2018/gmd-11-4755-2018-f09.png"/>

        </fig>

      <p id="d1e2089">The Santa Rosa example demonstrates an application in which GSFLOW–GRASS can
be used to investigate and manage erosion associated with hydrological
conditions. The example model input script included in GSFLOW–GRASS
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS3"/>) generated a spatially distributed hydraulic
conductivity field (Fig. <xref ref-type="fig" rid="Ch1.F8"/>d) that increases near the river
channels; this can represent the transition between poorly sorted and
silt- or clay-bearing hillslope soils and fluvial sands and gravels.
Figure <xref ref-type="fig" rid="Ch1.F8"/>e demonstrates how the post-processing tools can be
used to evaluate precipitation-triggered surface runoff
(Fig. <xref ref-type="fig" rid="Ch1.F8"/>e), which can denude the hillslopes
<xref ref-type="bibr" rid="bib1.bibx72" id="paren.96"/> and transport eroded sediment through the drainage
network (Fig. <xref ref-type="fig" rid="Ch1.F8"/>b).</p>
</sec>
<?pagebreak page4771?><sec id="Ch1.S4.SS3">
  <title>Shullcas River watershed, Peru</title>
      <p id="d1e2112">The final test case is based on the Shullcas River watershed located in the
central Peruvian Andes. Precipitation is highly seasonal, and water shortages
are common during the dry season from May to September. The Huaytapallana
Glacier, which supplies meltwater to the Shullcas River, is rapidly
retreating <xref ref-type="bibr" rid="bib1.bibx42" id="paren.97"/>, causing concern over future water
resources <xref ref-type="bibr" rid="bib1.bibx76" id="paren.98"/>. However, in glacierized watersheds of the
Peruvian Andes, a large proportion of the dry season stream discharge can be
composed of groundwater <xref ref-type="bibr" rid="bib1.bibx7" id="paren.99"/>, driving the need to better
understand groundwater–surface-water interactions in the catchment. Our
choice of an example in the Peruvian Andes also demonstrates how our entirely
open-source modeling system may be applied to problems in regions where
financial limitations faced by local environmental researchers and
practitioners make it difficult to use commercial software solutions.</p>
      <p id="d1e2124">The simple hydrologic model based on the Shullcas watershed covers a large
elevation range and uses a<?pagebreak page4772?> coarsened discretization based on an ASTER nominal
30 m resolution DEM <xref ref-type="bibr" rid="bib1.bibx82" id="paren.100"/> (Table <xref ref-type="table" rid="Ch1.T2"/>).
Meteorological data were obtained from the Peruvian Meteorological Office
(SENMAHI) online database. Located in the Andes, the Shullcas River watershed
serves as an apt test bed for examining the ability of GSFLOW–GRASS to
represent surface-water–groundwater links in steep terrain. Representing
flow in steep topography and narrow canyons calls for high-resolution
computations that can be infeasible to directly incorporate into an
integrated hydrologic model. GSFLOW–GRASS solved this problem by converting
high-resolution flow-routing information for Shullcas into a far smaller
number of topographically defined computational surface cells and coarsened
MODFLOW grid cells (see Table <xref ref-type="table" rid="Ch1.T2"/>) – a strategy that the
multiple-configuration Cannon River test demonstrated can generate an
efficient and accurate discretization (Fig. <xref ref-type="fig" rid="Ch1.F7"/>).
The major challenge to domain coarsening further presented by Shullcas is its
particular susceptibility to artificial “dams” due to its mountainous
topography. These numerical artifacts occur when averaging elevations across
flat valley floors and adjacent steep canyon walls, which can cause cells
containing streams to be higher rather than lower than the surrounding cells
on the MODFLOW grid. GSFLOW–GRASS's hydrological correction addresses this
by enforcing integrated subsurface drainage
(Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS2"/>), thus preventing improper accumulation
and subsequent lateral leakage of water behind “dammed” stream cells
(Fig. <xref ref-type="fig" rid="Ch1.F4"/>).</p>
      <p id="d1e2141">The Shullcas-based simulation does not include glacier melt, but
spatiotemporal results in Fig. <xref ref-type="fig" rid="Ch1.F9"/> show that GSFLOW can be
useful for evaluating the potential of groundwater to buffer surface-water
resources in mountainous watersheds. The model shows that essentially
constant baseflow supports low but reliable discharge during the dry season
(Fig. <xref ref-type="fig" rid="Ch1.F9"/>d). The GSFLOW–GRASS post-processing visualization
tools were useful for depicting the accumulation of streamflow throughout the
drainage network (Fig. <xref ref-type="fig" rid="Ch1.F9"/>b) and water table depths that were
shallowest in low and flat areas (Fig. <xref ref-type="fig" rid="Ch1.F9"/>c).</p>
</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <title>Conclusions</title>
      <p id="d1e2160">To address the need for a fully automated and freely accessible software that
handles the complete workflow for implementing complex hydrologic models, we
have created GSFLOW–GRASS, a bundled tool kit for the coupled surface-water
and groundwater model GSFLOW, using open-source Python scripts and GRASS GIS
commands. GSFLOW–GRASS allows users equipped with a DEM, precipitation and
temperature data, and basic knowledge about land surface and subsurface
properties to efficiently construct<?pagebreak page4773?> watershed-scale hydrologic simulations.
In order to create a robust tool that can be widely implemented over diverse
hydro(geo)logic settings, we built a set of GRASS GIS extensions that
automatically discretizes a topological surface-water flow network that is
linked with an underlying gridded groundwater domain. Our fully automated
and generalized toolbox advances the accessibility of complex hydrologic
software and will thus broaden the reach of integrated hydrologic models and
their usage in both scientific research and practical resource management.</p>
      <p id="d1e2163">We have demonstrated GSFLOW–GRASS using three diverse examples based on
topographies and climates from the intensively farmed Upper Midwest
region of the United States, Santa Rosa Island
off the coast of California, USA, and the water-stressed Andes. The results show that the new and automated
GRASS GIS extensions can automatically and consistently build topologically
complete linked surface and subsurface flow domains in settings that are
typically challenging for standard GIS tools, including low-relief terrains
that lack integrated drainage, irregular coastal boundaries, and steep
topographies. Although uncalibrated, these examples further demonstrate that
GSFLOW–GRASS is a flexible tool for investigating the role of
groundwater–surface-water interactions in imposing possible water-quality
threats in agricultural and recreational watersheds, controlling runoff in
erosion-prone landscapes, and modulating dry season discharge.</p>
      <p id="d1e2166">We designed GSFLOW–GRASS to strike a balance between direct
“out-of-the-box” functionality and full flexibility for customizing model
runs. A default implementation can be launched with no programming required
by the user to readily produce preliminary uncalibrated simulations that can
serve as a springboard for further model parameter adjustment through the
fully commented tool kit scripts. A key feature of GSFLOW–GRASS is its use of
all open-source software, enabling users anywhere to apply GSFLOW. We believe
that the open-source platform will facilitate future toolbox enhancements
through efforts by not only the original GSFLOW–GRASS developer team, but
also new model users. We envision a number of new capabilities to tackle the
grand challenge of handling spatial heterogeneity in integrated hydrologic
models. Higher-resolution land surface variability could be achieved by
further subdividing subbasins according to vegetation, soil type, or other
geographic features to produce HRUs. Obtaining spatially variable information
can be facilitated by linking GSFLOW–GRASS to existing regional and
international databases for meteorology, soil and geologic properties, and
land cover. Further calibration of spatially distributed parameters can be
carried out by directly setting up GSFLOW–GRASS with a flexible inverse
modeling code <xref ref-type="bibr" rid="bib1.bibx17 bib1.bibx61 bib1.bibx62" id="paren.101"><named-content content-type="pre">e.g.,</named-content></xref>. It is our
hope that with its generalized form and open access, GSFLOW–GRASS can become
a community tool that continues to grow to better solve hydrologic and water
resource problems of both scientific and general management concerns.</p>
</sec>

      
      </body>
    <back><notes notes-type="codeavailability">

      <p id="d1e2178">GSFLOW–GRASS v1.0.0 used for this paper is stored under
<ext-link xlink:href="https://doi.org/10.5281/zenodo.1487716" ext-link-type="DOI">10.5281/zenodo.1487716</ext-link> <xref ref-type="bibr" rid="bib1.bibx92" id="paren.102"/> and can be found in the
CSDMS model repository
(<uri>https://csdms.colorado.edu/wiki/Model:GSFLOW-GRASS</uri>, last access: 22 November 2018).
Updated versions of the code are downloadable
directly from the UMN-Hydro repository on GitHub at
<uri>https://github.com/UMN-Hydro/GSFLOW-GRASS</uri> (last access: 22 November 2018). The user
manual is available as a README.md file in the repository. The GSFLOW
executable and source code <xref ref-type="bibr" rid="bib1.bibx46" id="paren.103"/> are available in the UMN-Hydro repository
at <uri>https://github.com/UMN-Hydro/GSFLOW-1.2.0</uri> (last access: 22 November 2018) and from the
USGS website <uri>https://water.usgs.gov/ogw/gsflow/</uri> (last access: 22 November 2018). GRASS GIS 7.4+ <xref ref-type="bibr" rid="bib1.bibx56" id="paren.104"/> is available from
<uri>https://grass.osgeo.org/download/software/</uri> (last access: 22 November 2018).</p>
  </notes><notes notes-type="authorcontribution">

      <p id="d1e2212">GHCN and ADW contributed equally to this work;
they jointly conceived of the project idea, wrote the majority of the paper,
and built the visualization scripts. GHCN wrote the input file builder and
plotting scripts. ADW built the GRASS GIS extensions and integrated them with
GHCN's workflow. LDS and CC-R tested the code during its development and
contributed their study cases. LS helped code the input file builder scripts.
RN provided advice and support from the U.S. Geological Survey team that
develops GSFLOW. JMM provided support for the Shullcas test case.</p>
  </notes><notes notes-type="competinginterests">

      <p id="d1e2218">The authors declare that they have no conflict of
interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e2224">The authors acknowledge all contributors to MODFLOW, PRMS, and GSFLOW,
without whom this work would not be possible. Helpful comments from three
anonymous referees guided paper improvements.<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> Edited by: Min-Hui Lo<?xmltex \hack{\newline}?> Reviewed by: three
anonymous referees</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Adresen et al.(2014)</label><mixed-citation>
Adresen, J., Hilberg, S., and Kunkel, K.: Historical climate and climate
trends in the Midwestern United States, Climate Change in the Midwest: A
Synthesis Report for the National Climate Assessment, 8–36, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Ajami et al.(2004)</label><mixed-citation>Ajami, N. K., Gupta, H., Wagener, T., and Sorooshian, S.: Calibration of a
semi-distributed hydrologic model for streamflow estimation along a river
system, J. Hydrol., 298, 112–135, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2004.03.033" ext-link-type="DOI">10.1016/j.jhydrol.2004.03.033</ext-link>,
2004.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Arge et al.(2003)</label><mixed-citation>Arge, L., Chase, J. S., Halpin, P., Toma, L., Vitter, J. S., Urban, D., and
Wickremesinghe, R.: Efficient flow computation<?pagebreak page4774?> on massive grid terrain
datasets, GeoInformatica, 7, 283–313, <ext-link xlink:href="https://doi.org/10.1023/A:1025526421410" ext-link-type="DOI">10.1023/A:1025526421410</ext-link>, 2003.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Arnold and Fohrer(2005)</label><mixed-citation>Arnold, J. G. and Fohrer, N.: SWAT2000: Current capabilities and research
opportunities in applied watershed modelling, Hydrol. Process., 19,
563–572, <ext-link xlink:href="https://doi.org/10.1002/hyp.5611" ext-link-type="DOI">10.1002/hyp.5611</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Arnold et al.(2012)</label><mixed-citation>
Arnold, J. G., Moriasi, D. N., Gassman, P. W., Abbaspour, K. C., and White,
M. W.: SWAT: Model use, calibration, and validation,
ACS Sym. Ser., 55, 1491–1508, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Bandaragoda et al.(2004)</label><mixed-citation>Bandaragoda, C., Tarboton, D. G., and Woods, R.: Application of TOPNET in
the distributed model intercomparison project, J. Hydrol., 298, 178–201,
<ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2004.03.038" ext-link-type="DOI">10.1016/j.jhydrol.2004.03.038</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Baraer et al.(2015)</label><mixed-citation>Baraer, M., Mckenzie, J., Mark, B. G., Gordon, R., Bury, J., Condom, T.,
Gomez, J., Knox, S., and Fortner, S. K.: Contribution of groundwater to the
outflow from ungauged glacierized catchments: A multi-site study in the
tropical
Cordillera Blanca, Peru, Hydrol. Process., 29, 2561–2581,
<ext-link xlink:href="https://doi.org/10.1002/hyp.10386" ext-link-type="DOI">10.1002/hyp.10386</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Barnes et al.(2014)</label><mixed-citation>Barnes, R., Lehman, C., and Mulla, D.: Priority-flood: An optimal
depression-filling and watershed-labeling algorithm for digital elevation
models, Comput. Geosci., 62, 117–127,
<ext-link xlink:href="https://doi.org/10.1016/j.cageo.2013.04.024" ext-link-type="DOI">10.1016/j.cageo.2013.04.024</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Beven(2006)</label><mixed-citation>Beven, K.: A manifesto for the equifinality thesis, J. Hydrol., 320,
18–36, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2005.07.007" ext-link-type="DOI">10.1016/j.jhydrol.2005.07.007</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Bhatt et al.(2014)</label><mixed-citation>Bhatt, G., Kumar, M., and Duffy, C. J.: A tightly coupled GIS and
distributed hydrologic modeling framework, Environ. Model. Softw.,
62, 70–84, <ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2014.08.003" ext-link-type="DOI">10.1016/j.envsoft.2014.08.003</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Bhowmik et al.(2015)</label><mixed-citation>Bhowmik, A. K., Metz, M., and Schäfer, R. B.: An automated, objective
and open source tool for stream threshold selection and upstream riparian
corridor delineation, Environ. Model. Softw., 63, 240–250,
<ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2014.10.017" ext-link-type="DOI">10.1016/j.envsoft.2014.10.017</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Bird et al.(2016)</label><mixed-citation>Bird, M. I., O'Grady, D., and Ulm, S.: Humans, water, and the colonization
of Australia, P. Natl. Acad. Sci. USA, 113,
11477–11482, <ext-link xlink:href="https://doi.org/10.1073/pnas.1608470113" ext-link-type="DOI">10.1073/pnas.1608470113</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Braun and Willett(2013)</label><mixed-citation>Braun, J. and Willett, S. D.: A very efficient O(n), implicit and parallel
method to solve the stream power equation governing fluvial incision and
landscape evolution, Geomorphology, 180–181, 170–179,
<ext-link xlink:href="https://doi.org/10.1016/j.geomorph.2012.10.008" ext-link-type="DOI">10.1016/j.geomorph.2012.10.008</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Butts and Graham(2005)</label><mixed-citation>Butts, M. and Graham, D.: Flexible Integrated Watershed Modeling with MIKE
SHE, in: Watershed Models, CRC Press, 245–271,
<ext-link xlink:href="https://doi.org/10.1201/9781420037432.ch10" ext-link-type="DOI">10.1201/9781420037432.ch10</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Clark et al.(1990)</label><mixed-citation>
Clark, R. A., Halvorson, W. L., Sawdo, A. A., and Danielsen, K. C.: Plant
communities of Santa Rosa Island, Channel Islands National Park,
University of California, Davis, California, Technical Report 42, 93 pp., 1990.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Czuba and Foufoula-Georgiou(2014)</label><mixed-citation>Czuba, J. A. and Foufoula-Georgiou, E.: A network-based framework for
identifying potential synchronizations and amplifications of sediment
delivery in river basins, Water Resour. Res., 50, 3826–3851,
<ext-link xlink:href="https://doi.org/10.1002/2013WR014227" ext-link-type="DOI">10.1002/2013WR014227</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Doherty(1994)</label><mixed-citation>
Doherty, J.: PEST: A Unique Computer Program for Model-independent Parameter
Optimisation, in: Water Down Under 94: Groundwater/Surface Hydrology Common
Interest Papers, Barton, ACT, Institution of Engineers, Australia, 551–554,
ISBN: 085825607X, 1994.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Essaid and Hill(2014)</label><mixed-citation>Essaid, H. I. and Hill, B. R.: Watershed-scale modeling of streamflow change
in incised montane meadows, Water Resour. Res., 50, 2657–2678,
<ext-link xlink:href="https://doi.org/10.1002/2013WR014420" ext-link-type="DOI">10.1002/2013WR014420</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Farr et al.(2007)</label><mixed-citation>Farr, T. G., Rosen, P. A., Caro, E., Crippen, R., Duren, R., Hensley, S.,
Kobrick, M., Paller, M., Rodriguez, E., Roth, L., Seal, D., Shaffer, S.,
Shimada, J., Umland, J., Werner, M., Oskin, M., Burbank, D., and Alsdorf, D.:
The Shuttle Radar Topography Mission, Rev. Geophys., 45, RG2004,
<ext-link xlink:href="https://doi.org/10.1029/2005RG000183" ext-link-type="DOI">10.1029/2005RG000183</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Feldman(2000)</label><mixed-citation>
Feldman, A. D.: Hydrologic modeling system HEC-HMS: Technical Reference Manual,
U.S. Army Corps of Engineers, Davis, California, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Galeone et al.(2016)</label><mixed-citation>Galeone, D. G., Risser, D. W., Eicholtz, L. W., and Hoffman, S. A.: Water
Quality and Quantity and Simulated Surface-Water and Groundwater Flow in the
Laurel Hill Creek Basin, Southwestern Pennsylvania, 1991–2007,
Scientific Investigations Report, U.S. Geological
Survey, <ext-link xlink:href="https://doi.org/10.3133/sir20165082" ext-link-type="DOI">10.3133/sir20165082</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Gallagher and Doherty(2007)</label><mixed-citation>Gallagher, M. and Doherty, J.: Parameter estimation and uncertainty analysis
for a watershed model, Environ. Model. Softw., 22,
1000–1020, <ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2006.06.007" ext-link-type="DOI">10.1016/j.envsoft.2006.06.007</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Gannett et al.(2017)</label><mixed-citation>Gannett, M., Lite, K. J., Risley, J., Pischel, E., and La Marche, J.:
Simulation of Groundwater and Surface-Water Flow in the Upper Deschutes
Basin, Oregon, Scientific Investigations Report,
U.S. Geological Survey, 2017-5097, <ext-link xlink:href="https://doi.org/10.3133/sir20175097" ext-link-type="DOI">10.3133/sir20175097</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Gardner et al.(2018)</label><mixed-citation>Gardner, M. A., Morton, C. G., Huntington, J. L., Niswonger, R. G., and
Henson, W. R.: Input data processing tools for the integrated hydrologic
model GSFLOW, Environ. Model. Softw., 109, 41–53,
<ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2018.07.020" ext-link-type="DOI">10.1016/j.envsoft.2018.07.020</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Harbaugh(2005)</label><mixed-citation>
Harbaugh, A. W.: MODFLOW-2005, The U.S. Geological Survey Modular
Ground-Water Model – the Ground-Water Flow Process, in: Modeling
techniques, Section A: Ground Water, U.S.
Geological Survey, Reston, Virginia, USA, no. 16, p. 253, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Hassan et al.(2014)</label><mixed-citation>Hassan, S. T., Lubczynski, M. W., Niswonger, R. G., and Su, Z.:
Surface-groundwater interactions in hard rocks in Sardon Catchment of
western Spain: An integrated modeling approach, J. Hydrol., 517, 390–410,
<ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2014.05.026" ext-link-type="DOI">10.1016/j.jhydrol.2014.05.026</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Heckmann et al.(2014)</label><mixed-citation>Heckmann, T., Schwanghart, W., and Phillips, J. D.: Graph theory-Recent
developments of its application in geomorphology, Geomorphology, 243,
130–146, <ext-link xlink:href="https://doi.org/10.1016/j.geomorph.2014.12.024" ext-link-type="DOI">10.1016/j.geomorph.2014.12.024</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Hofierka et al.(2009)</label><mixed-citation>Hofierka, J., Mitášová, H., and Neteler, M.: Geomorphometry
in GRASS GIS, chap. 17, in: Developments in Soil Science, 33, 387–410,
<ext-link xlink:href="https://doi.org/10.1016/S0166-2481(08)00017-2" ext-link-type="DOI">10.1016/S0166-2481(08)00017-2</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Hsieh and Winston(2002)</label><mixed-citation>
Hsieh, P. A. and Winston, R. B.: User's Guide To Model Viewer, a Program for
Three-Dimensional Visualization of Ground-Water Model Results, U.S.
Geological Survey, Menlo Park, CA, Open-File Report 02-106, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Hunt et al.(2013)</label><mixed-citation>
Hunt, R. J., Walker, J. F., Selbig, W. R., Westenbroek, S. M., and Regan,
R. S.: Simulation of Climate – Change effects on streamflow, Lake water
budgets, and stream temperature using GSFLOW and SNTEMP, Trout Lake
Watershed, Wisconsin, USGS Scientific Investigations Report, 2013–5159,
2013.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Hunter(2007)</label><mixed-citation>Hunter, J. D.: Matplotlib: A 2D graphics environment, Comput. Sci. Eng., 9,
99–104, <ext-link xlink:href="https://doi.org/10.1109/MCSE.2007.55" ext-link-type="DOI">10.1109/MCSE.2007.55</ext-link>, 2007.</mixed-citation></ref>
      <?pagebreak page4775?><ref id="bib1.bibx32"><label>Jasiewicz and Metz(2011)</label><mixed-citation>Jasiewicz, J. and Metz, M.: A new GRASS GIS toolkit for Hortonian analysis
of drainage networks, Comput. Geosci., 37, 1162–1173,
<ext-link xlink:href="https://doi.org/10.1016/j.cageo.2011.03.003" ext-link-type="DOI">10.1016/j.cageo.2011.03.003</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Jazwa et al.(2016)</label><mixed-citation>Jazwa, C. S., Duffy, C. J., Leonard, L., and Kennett, D. J.: Hydrological
Modeling and Prehistoric Settlement on Santa Rosa Island, California, USA,
Geoarchaeology, 31, 101–120, <ext-link xlink:href="https://doi.org/10.1002/gea.21532" ext-link-type="DOI">10.1002/gea.21532</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Jenson and Domingue(1988)</label><mixed-citation>
Jenson, S. K. and Domingue, J. O.: Extracting topographic structure from
digital elevation data for geographic information system analysis,
Photogramm. Eng. Rem. S., 54, 1593–1600, 1988.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>Kinner et al.(2005)</label><mixed-citation>Kinner, D., Mitasova, H., Stallard, R., Harmon, R. S., and Toma, L.:
GIS-Based Stream Network Analysis for the Upper Río Chagres Basin,
Panama, in: The Río Chagres, Panama: A Multidisciplinary Profile of a
Tropical Watershed, edited by: Harmon, R. S., Springer-Verlag,
Berlin/Heidelberg, 83–95, <ext-link xlink:href="https://doi.org/10.1007/1-4020-3297-8_6" ext-link-type="DOI">10.1007/1-4020-3297-8_6</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx36"><label>Kreiling and Houser(2016)</label><mixed-citation>Kreiling, R. M. and Houser, J. N.: Long-term decreases in phosphorus and
suspended solids, but not nitrogen, in six upper Mississippi River
tributaries, 1991–2014, Environ. Monit. Assess., 188, 454,
<ext-link xlink:href="https://doi.org/10.1007/s10661-016-5464-3" ext-link-type="DOI">10.1007/s10661-016-5464-3</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx37"><label>Leavesley et al.(1983)</label><mixed-citation>
Leavesley, G. H., Lichty, R., Troutman, B., and Saindon, L.:
Precipitation-Runoff Modeling System: User's Manual, Water-Resources
Investigations Report, U.S. Geological Survey, Denver, Colorado, USA, 1983.</mixed-citation></ref>
      <ref id="bib1.bibx38"><label>Leavesley et al.(1996)</label><mixed-citation>
Leavesley, G. H., Restrepo, P., Markstrom, S., Dixon, M., and Stannard, L.:
The Modular Modeling System (MMS): User's Manual, Version 1.1, USGS
Numbered Series, U.S. Geological Survey, no. 96-151, 1996.</mixed-citation></ref>
      <ref id="bib1.bibx39"><label>Leonard and Duffy(2013)</label><mixed-citation>Leonard, L. and Duffy, C. J.: Essential Terrestrial Variable data workflows
for distributed water resources modeling, Environ. Model. Softw.,
50, 85–96, <ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2013.09.003" ext-link-type="DOI">10.1016/j.envsoft.2013.09.003</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx40"><label>Leopold and Maddock(1953)</label><mixed-citation>
Leopold, L. B. and Maddock, T.: The hydraulic geometry of stream channels
and some physiographic implications, Professional Paper, U.S. Geological
Survey, Washington, DC, 1953.</mixed-citation></ref>
      <ref id="bib1.bibx41"><label>LeVeque(2002)</label><mixed-citation>
LeVeque, R. J.: Finite volume methods for hyperbolic problems, vol. 31,
Cambridge university press, 580 pp., 2002.</mixed-citation></ref>
      <ref id="bib1.bibx42"><label>López-Moreno et al.(2014)</label><mixed-citation>López-Moreno, J., Fontaneda, S., Bazo, J., Revuelto, J., Azorin-Molina,
C., Valero-Garcés, B., Morán-Tejeda, E., Vicente-Serrano, S.,
Zubieta, R., and Alejo-Cochachín, J.: Recent glacier retreat and
climate trends in Cordillera Huaytapallana, Peru, Global Planet. Change,
112, 1–11, <ext-link xlink:href="https://doi.org/10.1016/j.gloplacha.2013.10.010" ext-link-type="DOI">10.1016/j.gloplacha.2013.10.010</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx43"><label>Luzio et al.(2006)</label><mixed-citation>Luzio, M. D., Arnold, J. G., and Srinivasan, R.: A GIS Coupled hydrological
model system for the watershed assessment of agricultural nonpoint and point
sources of polution, T. GIS, 8, 113–136,
<ext-link xlink:href="https://doi.org/10.1111/j.1467-9671.2004.00170.x" ext-link-type="DOI">10.1111/j.1467-9671.2004.00170.x</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx44"><label>Magalhães et al.(2014)</label><mixed-citation>Magalhães, S. V. G., Andrade, M. V. A., Franklin, W. R., and Pena,
G. C.: A linear time algorithm to compute the drainage network on grid
terrains, J. Hydroinform., 16, 1227–1234, <ext-link xlink:href="https://doi.org/10.2166/hydro.2013.068" ext-link-type="DOI">10.2166/hydro.2013.068</ext-link>,
2014.</mixed-citation></ref>
      <ref id="bib1.bibx45"><label>Maidment and Morehouse(2002)</label><mixed-citation>
Maidment, D. R. and Morehouse, S.: Arc Hydro: GIS for water resources, 3rd edn., ESRI
Press, Redlands, California, USA, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx46"><label>Markstrom et al.(2008)</label><mixed-citation>Markstrom, S. L., Niswonger, R. G., Regan, R. S., Prudic, D. E., and Barlow,
P. M.: GSFLOW–Coupled Ground-Water and Surface-Water Flow Model Based on
the Integration of the Precipitation-Runoff Modeling System (PRMS) and the
Modular Ground-Water Flow Model (MODFLOW-2005), U.S. Geological Survey
Techniques and Methods, p. 240, <ext-link xlink:href="https://doi.org/10.13140/2.1.2741.9202" ext-link-type="DOI">10.13140/2.1.2741.9202</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx47"><label>Markstrom et al.(2015)</label><mixed-citation>Markstrom, S. L., Regan, R. S., Hay, L. E., Viger, R. J., Webb, R. M. T.,
Payn, R. A., and LaFontaine, J. H.: PRMS-IV , the Precipitation-Runoff
Modeling System, Version 4, U.S. Geological Survey, Reston, Virginia, USA,
<ext-link xlink:href="https://doi.org/10.3133/tm6B7" ext-link-type="DOI">10.3133/tm6B7</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx48"><label>Maxwell et al.(2014)</label><mixed-citation>Maxwell, R., Putti, M., Meyerhoff, S., Delfs, J., Ferguson, I. M., Ivanov,
V., Kim, J., Kolditz, O., Kollet, S. J., Kumar, M., Lopez, S., Niu, J.,
Paniconi, C., Park, Y., Phanikumar, M., Shen, C., Sudicky, E. A., and Sulis,
M.: Surface-subsurface model intercomparison: A first set of benchmark
results to diagnose integrated hydrology and feedbacks, Water Resour. Res.,
50, 1531–1549, <ext-link xlink:href="https://doi.org/10.1002/2013WR013725" ext-link-type="DOI">10.1002/2013WR013725</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx49"><label>Maxwell et al.(2017)</label><mixed-citation>
Maxwell, R. M., Kollet, S. J., Smith, S. G., Woodward, C. S., Falgout, R. D.,
Ferguson, I. M., Engdahl, N., Condon, L. E., Hector, B., Lopez, S., Bearup,
L., Jefferson, J., Collins, C., Graaf, I. D., Pribulick, C., Baldwin, C.,
Bosl, W. J., Hornung, R., and Ashby, S.: ParFlow User's Manual, Integrated
Ground-Water Modeling Center, Report GWMI 2016-01, 167 pp., 2017.</mixed-citation></ref>
      <ref id="bib1.bibx50"><label>Metz et al.(2011)</label><mixed-citation>Metz, M., Mitasova, H., and Harmon, R. S.: Efficient extraction of drainage
networks from massive, radar-based elevation models with least cost path
search, Hydrol. Earth Syst. Sci., 15, 667–678,
<ext-link xlink:href="https://doi.org/10.5194/hess-15-667-2011" ext-link-type="DOI">10.5194/hess-15-667-2011</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx51"><label>Miliaresis and Delikaraoglou(2009)</label><mixed-citation>Miliaresis, G. and Delikaraoglou, D.: Effects of percent tree canopy density
and DEM misregistration on SRTM/NED vegetation height estimates, Remote
Sens., 1, 36–49, <ext-link xlink:href="https://doi.org/10.3390/rs1020036" ext-link-type="DOI">10.3390/rs1020036</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx52"><label>Mitasova et al.(1995)</label><mixed-citation>Mitasova, H., Mitas, L., Brown, W. M., Gerdes, D. P., Kosinovsky, R., and
Baker, T.: Modelling spatially and temporally distributed phenomena: New
methods and tools for GRASS GIS, Int. J. Geogr. Inf. Syst., 9, 433–446,
<ext-link xlink:href="https://doi.org/10.1080/02693799508902048" ext-link-type="DOI">10.1080/02693799508902048</ext-link>, 1995.</mixed-citation></ref>
      <ref id="bib1.bibx53"><label>Neitsch et al.(2002)</label><mixed-citation>Neitsch, S., Arnold, J., Kiniry, J., Srinivasan, R., and Williams, J.: Soil
and Water Assessment Tool User's Manual, vol. TR-192, Texas Water Resources
Institute, College Station, Texas, USA, available at:
<uri>http://swat.tamu.edu/media/1294/swatuserman.pdf</uri> (last access: 22 November 2018), 2002.</mixed-citation></ref>
      <ref id="bib1.bibx54"><label>Neteler and Mitasova(2008)</label><mixed-citation>
Neteler, M. and Mitasova, H.: Open Source GIS: A GRASS GIS Approach,
Springer, New York, New York, USA, 3rd edn., 2008.</mixed-citation></ref>
      <ref id="bib1.bibx55"><label>Neteler et al.(2008)</label><mixed-citation>Neteler, M., Beaudette, D., Cavallini, P., Lami, L., and Cepicky, J.: GRASS
GIS, Open Source Approaches in Spatial Data Handling, 2, 171–199,
<ext-link xlink:href="https://doi.org/10.1007/978-3-540-74831-1_9" ext-link-type="DOI">10.1007/978-3-540-74831-1_9</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx56"><label>Neteler et al.(2012)</label><mixed-citation>Neteler, M., Bowman, M. H., Landa, M., and Metz, M.: GRASS GIS: A
multi-purpose open source GIS, Environ. Model. Softw., 31,
124–130, <ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2011.11.014" ext-link-type="DOI">10.1016/j.envsoft.2011.11.014</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx57"><label>Niswonger et al.(2011)</label><mixed-citation>
Niswonger, R. G., Panday, S., and Motomu, I.: MODFLOW-NWT, A Newton
Formulation for MODFLOW-2005, U.S. Geological Survey Techniques and Methods,
Reston, U.S. Geological Survey, Virginia, USA, 2011.</mixed-citation></ref>
      <?pagebreak page4776?><ref id="bib1.bibx58"><label>Pal et al.(2007)</label><mixed-citation>Pal, J. S., Giorgi, F., Bi, X., Elguindi, N., Solmon, F., Gao, X., Rauscher,
S. A., Francisco, R., Zakey, A., Winter, J., Ashfaq, M., Syed, F. S., Bell,
J. L., Differbaugh, N. S., Karmacharya, J., Konari, A., Martinez, D.,
Da Rocha, R. P., Sloan, L. C., and Steiner, A. L.: Regional climate modeling
for the developing world: The ICTP RegCM3 and RegCNET, B. Am. Meteorol.
Soc., 88, 1395–1409, <ext-link xlink:href="https://doi.org/10.1175/BAMS-88-9-1395" ext-link-type="DOI">10.1175/BAMS-88-9-1395</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx59"><label>Patterson and Hobbs(1995)</label><mixed-citation>Patterson, C. J. and Hobbs, H. C.: Surficial geology, in: County Atlas C-9:
Geologic atlas of Rice County, edited by: Hobbs, H. C., Minnesota Geological
Survey, University of Minnesota Digital Conservancy,
<uri>http://hdl.handle.net/11299/58514</uri> (last access: 15 November 2018),
1995.</mixed-citation></ref>
      <ref id="bib1.bibx60"><label>Pérez and Granger(2007)</label><mixed-citation>Pérez, F. and Granger, B. E.: IPython: A system for interactive
scientific computing, Comput. Sci. Eng., 9, 21–29,
<ext-link xlink:href="https://doi.org/10.1109/MCSE.2007.53" ext-link-type="DOI">10.1109/MCSE.2007.53</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx61"><label>Poeter and Hill(1998)</label><mixed-citation>
Poeter, E. P. and Hill, M. C.: Documentation of UCODE, A Computer Code for
Universal Inverse Modeling, USGS Water Resources Investigations Report
98-4080, Water-Resources Investigations Report, U.S. Geological Survey,
Denver, Colorado, USA, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx62"><label>Poeter and Hill(1999)</label><mixed-citation>Poeter, E. P. and Hill, M. C.: UCODE, a computer code for universal inverse
modeling, Comput. Geosci., 25, 457–462,
<ext-link xlink:href="https://doi.org/10.1016/S0098-3004(98)00149-6" ext-link-type="DOI">10.1016/S0098-3004(98)00149-6</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx63"><label>QGIS Development Team(2013)</label><mixed-citation>QGIS Development Team: QGIS Geographic Information System, available
at: <uri>http://qgis.org/</uri>, last access: 22 November 2018.</mixed-citation></ref>
      <ref id="bib1.bibx64"><label>Qu and Duffy(2007)</label><mixed-citation>Qu, Y. and Duffy, C. J.: A semidiscrete finite volume formulation for
multiprocess watershed simulation, Water Resour. Res., 43, 1–18,
<ext-link xlink:href="https://doi.org/10.1029/2006WR005752" ext-link-type="DOI">10.1029/2006WR005752</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx65"><label>Razavi and Gupta(2015)</label><mixed-citation>Razavi, S. and Gupta, H. V.: What do we mean by sensitivity analysis? The
need for comprehensive characterization of “global” sensitivity in Earth
and Environmental systems models, Water Resour. Res., 51, 3070–3092,
<ext-link xlink:href="https://doi.org/10.1002/2014WR016527.Received" ext-link-type="DOI">10.1002/2014WR016527.Received</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx66"><label>Reed et al.(2004)</label><mixed-citation>Reed, S., Koren, V., Smith, M., Zhang, Z., Moreda, F., and Seo, D. J.:
Overall distributed model intercomparison project results, J. Hydrol., 298,
27–60, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2004.03.031" ext-link-type="DOI">10.1016/j.jhydrol.2004.03.031</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx67"><label>Regan et al.(2015)</label><mixed-citation>
Regan, R. S., Niswonger, R. G., Markstrom, S. L., and Barlow, P. M.:
Documentation of a restart option for the U.S. Geological Survey coupled
groundwater and surface-water flow (GSFLOW) model, Techniques and Methods
6-D3, U.S. Geological Survey, Reston, Virginia, USA, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx68"><label>Reilly(2001)</label><mixed-citation>
Reilly, T. E.: System and Boundary Conceptualization in Ground-Water Flow
Simulation, in: Techniques of Water-Resources Investigations of the United
States Geological Survey, Book 3, Applications of Hydraulics, U.S. Geological
Survey, p. 38, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx69"><label>Reilly and Harbaugh(2004)</label><mixed-citation>
Reilly, T. E. and Harbaugh, A. W.: Guidelines for Evaluating Ground-Water
Flow Models, U.S. Geological Survey, Report no. 2004-5038, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx70"><label>Rossi and Reichenbach(2016)</label><mixed-citation>Rossi, M. and Reichenbach, P.: LAND-SE: a software for statistically based
landslide susceptibility zonation, version 1.0, Geosci. Model Dev., 9,
3533–3543, <ext-link xlink:href="https://doi.org/10.5194/gmd-9-3533-2016" ext-link-type="DOI">10.5194/gmd-9-3533-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx71"><label>Sangireddy et al.(2016)</label><mixed-citation>Sangireddy, H., Stark, C. P., Kladzyk, A., and Passalacqua, P.: GeoNet: An
open source software for the automatic and objective extraction of channel
heads, channel network, and channel morphology from high resolution
topography data, Environ. Model. Softw., 83, 58–73,
<ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2016.04.026" ext-link-type="DOI">10.1016/j.envsoft.2016.04.026</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx72"><label>Schumann et al.(2016)</label><mixed-citation>Schumann, R. R., Pigati, J. S., and McGeehin, J. P.: Fluvial system response
to late Pleistocene-Holocene sea-level change on Santa Rosa Island, Channel
Islands National Park, California, Geomorphology, 268, 322–340,
<ext-link xlink:href="https://doi.org/10.1016/j.geomorph.2016.05.033" ext-link-type="DOI">10.1016/j.geomorph.2016.05.033</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx73"><label>Schwanghart and Scherler(2014)</label><mixed-citation>Schwanghart, W. and Scherler, D.: Short Communication: TopoToolbox 2 –
MATLAB-based software for topographic analysis and modeling in Earth surface
sciences, Earth Surf. Dynam., 2, 1–7,
<ext-link xlink:href="https://doi.org/10.5194/esurf-2-1-2014" ext-link-type="DOI">10.5194/esurf-2-1-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx74"><label>Shapiro and Westervelt(1994)</label><mixed-citation>
Shapiro, M. and Westervelt, J.: r. mapcalc: An algebra for GIS and image
processing, USACERL-TR, Construction Engineering Research Lab, Champaign,
Illinois, USA, 1994.</mixed-citation></ref>
      <ref id="bib1.bibx75"><label>Simunek et al.(2009)</label><mixed-citation>
Simunek, J., Sejna, M., Saito, H., Sakai, M., and van Genuchten, M.: The
HYDRUS-1D software package for simulating the one-dimensional movement of
water, heat, and multiple solutes in variably-saturated media, Version 4.08,
HYDRUS Softw. Ser. 3., Technical Report, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx76"><label>Somers et al.(2018)</label><mixed-citation>Somers, L. D., McKenzie, J. M., Zipper, S. C., Mark, B. G., Lagos, P., and
Baraer, M.: Does hillslope trenching enhance groundwater recharge and
baseflow in the Peruvian Andes?, Hydrol. Process., 32, 318–331,
<ext-link xlink:href="https://doi.org/10.1002/hyp.11423" ext-link-type="DOI">10.1002/hyp.11423</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx77"><label>Song et al.(2015)</label><mixed-citation>Song, X., Zhang, J., Zhan, C., Xuan, Y., Ye, M., and Xu, C.: Global
sensitivity analysis in hydrological modeling: Review of concepts, methods,
theoretical framework, and applications, J. Hydrol., 523, 739–757,
<ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2015.02.013" ext-link-type="DOI">10.1016/j.jhydrol.2015.02.013</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx78"><label>Srinivasan and Arnold(1994)</label><mixed-citation>Srinivasan, R. and Arnold, J. G.: Integration of a basin-scale water quality
model with GIS, J. Am. Water Resour. As., 30, 453–462,
<ext-link xlink:href="https://doi.org/10.1111/j.1752-1688.1994.tb03304.x" ext-link-type="DOI">10.1111/j.1752-1688.1994.tb03304.x</ext-link>, 1994.</mixed-citation></ref>
      <ref id="bib1.bibx79"><label>Steenberg et al.(2013)</label><mixed-citation>
Steenberg, J. R., Tipping, R. G., and Runkel, A. C.: Geologic controls on
groundwater and surface water flow in southeastern Minnesota and its impact
on nitrate concentrations in streams, Minnesota Geological Survey Open File
Report, p. 154, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx80"><label>Surfleet and Tullos(2013)</label><mixed-citation>Surfleet, C. G. and Tullos, D.: Uncertainty in hydrologic modelling for
estimating hydrologic response due to climate change (Santiam River,
Oregon), Hydrol. Process., 27, 3560–3576, <ext-link xlink:href="https://doi.org/10.1002/hyp.9485" ext-link-type="DOI">10.1002/hyp.9485</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx81"><label>Šúri and Hofierka(2004)</label><mixed-citation>Šúri, M. and Hofierka, J.: A new GIS-based solar radiation model
and its application to photovoltaic assessments, T. GIS, 8, 175–190,
<ext-link xlink:href="https://doi.org/10.1111/j.1467-9671.2004.00174.x" ext-link-type="DOI">10.1111/j.1467-9671.2004.00174.x</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx82"><label>Tachikawa et al.(2011)</label><mixed-citation>Tachikawa, T., Kaku, M., Iwasaki, A., Gesch, D., Oimoen, M., Zhang, Z.,
Danielson, J., Krieger, T., Curtis, B., Haase, J., Abrams, M., Crippen, R.,
Carabajal, C., and ASTER GDEM Validation Team: ASTER Global Digital
Elevation Model Version 2 – Summary of Validation Results, Technical
report, NASA Earth Resources Observation and Science (EROS) Center, Sioux
Falls, South Dakota, USA, <ext-link xlink:href="https://doi.org/10.1017/CBO9781107415324.004" ext-link-type="DOI">10.1017/CBO9781107415324.004</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx83"><label>Tejedor et al.(2015)</label><mixed-citation>Tejedor, A., Longjas, A., Zaliapin, I., and Foufoula-Georgiou, E.: Delta
channel networks: 1. A graph-theoretic approach for studying connectivity and
steady state transport on deltaic surfaces, Water Resour. Res., 51,
3998–4018, <ext-link xlink:href="https://doi.org/10.1002/2014WR016577" ext-link-type="DOI">10.1002/2014WR016577</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx84"><label>Tian et al.(2015)</label><mixed-citation>Tian, Y., Zheng, Y., Wu, B., Wu, X., Liu, J., and Zheng, C.: Modeling
surface water-groundwater interaction in arid and semi-arid regions with
intensive agriculture, Environ. Model. Softw., 63, 170–184,
<ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2014.10.011" ext-link-type="DOI">10.1016/j.envsoft.2014.10.011</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx85"><label>Tian et al.(2016)</label><mixed-citation>Tian, Y., Zheng, Y., and Zheng, C.: Development of a visualization tool for
integrated surface water-groundwater modeling, Comput. Geosci.,
86, 1–14, <ext-link xlink:href="https://doi.org/10.1016/j.cageo.2015.09.019" ext-link-type="DOI">10.1016/j.cageo.2015.09.019</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx86"><label>Tipping(2006)</label><mixed-citation>
Tipping, R. G.: Subsurface recharge and surface infiltration, in: Geologic
Atlas of Scott County, Minnesota, Minnesota Geological Survey Atlas Series,
2006.</mixed-citation></ref>
      <?pagebreak page4777?><ref id="bib1.bibx87"><label>Viger and Leavesley(2007)</label><mixed-citation>
Viger, R. J. and Leavesley, G. H.: The GIS Weasel User's Manual, U.S.
Geological Survey, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx88"><label>Vivoni et al.(2004)</label><mixed-citation>Vivoni, E. R., Ivanov, V. Y., Bras, R. L., and Entekhabi, D.: Generation of
Triangulated Irregular Networks Based on Hydrological Similarity, J. Hydrol.
Eng., 9, 288–302, <ext-link xlink:href="https://doi.org/10.1061/(ASCE)1084-0699(2004)9:4(288)" ext-link-type="DOI">10.1061/(ASCE)1084-0699(2004)9:4(288)</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx89"><label>Wang et al.(2018)</label><mixed-citation>Wang, D., Liu, Y., and Kumar, M.: Using nested discretization for a detailed
yet computationally efficient simulation of local hydrology in a distributed
hydrologic model, Sci. Rep., 8, 1–13, <ext-link xlink:href="https://doi.org/10.1038/s41598-018-24122-7" ext-link-type="DOI">10.1038/s41598-018-24122-7</ext-link>,
2018.</mixed-citation></ref>
      <ref id="bib1.bibx90"><label>Waterloo Hydrogeologic Inc.(2011)</label><mixed-citation>Waterloo Hydrogeologic Inc.: Visual MODFLOW 2011.1 User's Manual: For
Professional Applications in Three-Dimensional Groundwater Flow and
Contaminant Transport Modeling, Waterloo Hydrologic, Inc., Waterloo,
Ontario, Canada, available at:
<uri>http://trials.swstechnology.com/software/Visual_MODFLOW/2011/Manuals_and_Guides/VMOD-2011.1_Manual.pdf</uri> (last access: 22 November 2018), 2011.</mixed-citation></ref>
      <ref id="bib1.bibx91"><label>Wickert(2016)</label><mixed-citation>Wickert, A. D.: Reconstruction of North American drainage basins and river
discharge since the Last Glacial Maximum, Earth Surf. Dynam., 4, 831–869,
<ext-link xlink:href="https://doi.org/10.5194/esurf-4-831-2016" ext-link-type="DOI">10.5194/esurf-4-831-2016</ext-link>, 2016. </mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx92"><label>Wickert and Ng(2018)</label><mixed-citation>Wickert, A. D. and Ng, G.-H. C.: GSFLOW-GRASS version 1.0.0, Zenodo,
<ext-link xlink:href="https://doi.org/10.5281/zenodo.1487716" ext-link-type="DOI">10.5281/zenodo.1487716</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx93"><label>Winston(2000)</label><mixed-citation>
Winston, R. B.: Graphical User Interface for MODFLOW, Version 4, Open-File
Report no.  00-315, U.S. Geological Survey, Reston, Virginia, USA, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx94"><label>Winston(2009)</label><mixed-citation>Winston, R. B.: ModelMuse: A Graphical User Interface for MODFLOW-2005 and
PHAST, chap. 29, in: Section A, Ground Water – Book 6, Modeling Techniques,
U.S. Geological Survey, Reston, Virginia, USA, p. 52, available at:
<uri>http://pubs.usgs.gov/tm/tm6A29/tm6A29.pdf</uri> (last access: 22 November 2018), 2009.</mixed-citation></ref>
      <ref id="bib1.bibx95"><label>Winter et al.(1998)</label><mixed-citation>
Winter, T. C., Harvey, J. W., Franke, O. L., and Alley, W. M.: Ground water
and surface water: A single resource, U.S. Government Printing Office,
Denver, Colorado, USA, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx96"><label>Zambelli et al.(2013)</label><mixed-citation>Zambelli, P., Gebbert, S., and Ciolli, M.: Pygrass: An Object Oriented
Python Application Programming Interface (API) for Geographic Resources
Analysis Support System (GRASS) Geographic Information System (GIS), ISPRS
Int. Geo.-Inf., 2, 201–219, <ext-link xlink:href="https://doi.org/10.3390/ijgi2010201" ext-link-type="DOI">10.3390/ijgi2010201</ext-link>, 2013.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>GSFLOW–GRASS v1.0.0: GIS-enabled hydrologic modeling of coupled groundwater–surface-water systems</article-title-html>
<abstract-html><p>The 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 and water managers, 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 bundled set of open-source tools that
develops inputs for, executes, and graphically displays the results of
GSFLOW, the U.S. Geological Survey's coupled groundwater and surface-water
flow model. In order to create a robust tool that can be widely implemented
over diverse hydro(geo)logic settings, we built a series of GRASS GIS
extensions that automatically discretizes a topological surface-water flow
network that is linked with an underlying gridded groundwater domain. 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. We demonstrate the broad applicability of the toolbox
by successfully testing it in environments with varying degrees of drainage
integration, landscape relief, and grid resolution, as well as the presence
of irregular coastal boundaries. These examples also show how GSFLOW–GRASS
can be implemented to examine the role of groundwater–surface-water
interactions in a diverse range of water resource and land management
applications.</p></abstract-html>
<ref-html id="bib1.bib1"><label>Adresen et al.(2014)</label><mixed-citation>
Adresen, J., Hilberg, S., and Kunkel, K.: Historical climate and climate
trends in the Midwestern United States, Climate Change in the Midwest: A
Synthesis Report for the National Climate Assessment, 8–36, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Ajami et al.(2004)</label><mixed-citation>
Ajami, N. K., Gupta, H., Wagener, T., and Sorooshian, S.: Calibration of a
semi-distributed hydrologic model for streamflow estimation along a river
system, J. Hydrol., 298, 112–135, <a href="https://doi.org/10.1016/j.jhydrol.2004.03.033" target="_blank">https://doi.org/10.1016/j.jhydrol.2004.03.033</a>,
2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Arge et al.(2003)</label><mixed-citation>
Arge, L., Chase, J. S., Halpin, P., Toma, L., Vitter, J. S., Urban, D., and
Wickremesinghe, R.: Efficient flow computation on massive grid terrain
datasets, GeoInformatica, 7, 283–313, <a href="https://doi.org/10.1023/A:1025526421410" target="_blank">https://doi.org/10.1023/A:1025526421410</a>, 2003.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Arnold and Fohrer(2005)</label><mixed-citation>
Arnold, J. G. and Fohrer, N.: SWAT2000: Current capabilities and research
opportunities in applied watershed modelling, Hydrol. Process., 19,
563–572, <a href="https://doi.org/10.1002/hyp.5611" target="_blank">https://doi.org/10.1002/hyp.5611</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Arnold et al.(2012)</label><mixed-citation>
Arnold, J. G., Moriasi, D. N., Gassman, P. W., Abbaspour, K. C., and White,
M. W.: SWAT: Model use, calibration, and validation,
ACS Sym. Ser., 55, 1491–1508, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Bandaragoda et al.(2004)</label><mixed-citation>
Bandaragoda, C., Tarboton, D. G., and Woods, R.: Application of TOPNET in
the distributed model intercomparison project, J. Hydrol., 298, 178–201,
<a href="https://doi.org/10.1016/j.jhydrol.2004.03.038" target="_blank">https://doi.org/10.1016/j.jhydrol.2004.03.038</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Baraer et al.(2015)</label><mixed-citation>
Baraer, M., Mckenzie, J., Mark, B. G., Gordon, R., Bury, J., Condom, T.,
Gomez, J., Knox, S., and Fortner, S. K.: Contribution of groundwater to the
outflow from ungauged glacierized catchments: A multi-site study in the
tropical
Cordillera Blanca, Peru, Hydrol. Process., 29, 2561–2581,
<a href="https://doi.org/10.1002/hyp.10386" target="_blank">https://doi.org/10.1002/hyp.10386</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Barnes et al.(2014)</label><mixed-citation>
Barnes, R., Lehman, C., and Mulla, D.: Priority-flood: An optimal
depression-filling and watershed-labeling algorithm for digital elevation
models, Comput. Geosci., 62, 117–127,
<a href="https://doi.org/10.1016/j.cageo.2013.04.024" target="_blank">https://doi.org/10.1016/j.cageo.2013.04.024</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Beven(2006)</label><mixed-citation>
Beven, K.: A manifesto for the equifinality thesis, J. Hydrol., 320,
18–36, <a href="https://doi.org/10.1016/j.jhydrol.2005.07.007" target="_blank">https://doi.org/10.1016/j.jhydrol.2005.07.007</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Bhatt et al.(2014)</label><mixed-citation>
Bhatt, G., Kumar, M., and Duffy, C. J.: A tightly coupled GIS and
distributed hydrologic modeling framework, Environ. Model. Softw.,
62, 70–84, <a href="https://doi.org/10.1016/j.envsoft.2014.08.003" target="_blank">https://doi.org/10.1016/j.envsoft.2014.08.003</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Bhowmik et al.(2015)</label><mixed-citation>
Bhowmik, A. K., Metz, M., and Schäfer, R. B.: An automated, objective
and open source tool for stream threshold selection and upstream riparian
corridor delineation, Environ. Model. Softw., 63, 240–250,
<a href="https://doi.org/10.1016/j.envsoft.2014.10.017" target="_blank">https://doi.org/10.1016/j.envsoft.2014.10.017</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Bird et al.(2016)</label><mixed-citation>
Bird, M. I., O'Grady, D., and Ulm, S.: Humans, water, and the colonization
of Australia, P. Natl. Acad. Sci. USA, 113,
11477–11482, <a href="https://doi.org/10.1073/pnas.1608470113" target="_blank">https://doi.org/10.1073/pnas.1608470113</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Braun and Willett(2013)</label><mixed-citation>
Braun, J. and Willett, S. D.: A very efficient O(n), implicit and parallel
method to solve the stream power equation governing fluvial incision and
landscape evolution, Geomorphology, 180–181, 170–179,
<a href="https://doi.org/10.1016/j.geomorph.2012.10.008" target="_blank">https://doi.org/10.1016/j.geomorph.2012.10.008</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Butts and Graham(2005)</label><mixed-citation>
Butts, M. and Graham, D.: Flexible Integrated Watershed Modeling with MIKE
SHE, in: Watershed Models, CRC Press, 245–271,
<a href="https://doi.org/10.1201/9781420037432.ch10" target="_blank">https://doi.org/10.1201/9781420037432.ch10</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Clark et al.(1990)</label><mixed-citation>
Clark, R. A., Halvorson, W. L., Sawdo, A. A., and Danielsen, K. C.: Plant
communities of Santa Rosa Island, Channel Islands National Park,
University of California, Davis, California, Technical Report 42, 93 pp., 1990.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Czuba and Foufoula-Georgiou(2014)</label><mixed-citation>
Czuba, J. A. and Foufoula-Georgiou, E.: A network-based framework for
identifying potential synchronizations and amplifications of sediment
delivery in river basins, Water Resour. Res., 50, 3826–3851,
<a href="https://doi.org/10.1002/2013WR014227" target="_blank">https://doi.org/10.1002/2013WR014227</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Doherty(1994)</label><mixed-citation>
Doherty, J.: PEST: A Unique Computer Program for Model-independent Parameter
Optimisation, in: Water Down Under 94: Groundwater/Surface Hydrology Common
Interest Papers, Barton, ACT, Institution of Engineers, Australia, 551–554,
ISBN: 085825607X, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Essaid and Hill(2014)</label><mixed-citation>
Essaid, H. I. and Hill, B. R.: Watershed-scale modeling of streamflow change
in incised montane meadows, Water Resour. Res., 50, 2657–2678,
<a href="https://doi.org/10.1002/2013WR014420" target="_blank">https://doi.org/10.1002/2013WR014420</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Farr et al.(2007)</label><mixed-citation>
Farr, T. G., Rosen, P. A., Caro, E., Crippen, R., Duren, R., Hensley, S.,
Kobrick, M., Paller, M., Rodriguez, E., Roth, L., Seal, D., Shaffer, S.,
Shimada, J., Umland, J., Werner, M., Oskin, M., Burbank, D., and Alsdorf, D.:
The Shuttle Radar Topography Mission, Rev. Geophys., 45, RG2004,
<a href="https://doi.org/10.1029/2005RG000183" target="_blank">https://doi.org/10.1029/2005RG000183</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Feldman(2000)</label><mixed-citation>
Feldman, A. D.: Hydrologic modeling system HEC-HMS: Technical Reference Manual,
U.S. Army Corps of Engineers, Davis, California, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Galeone et al.(2016)</label><mixed-citation>
Galeone, D. G., Risser, D. W., Eicholtz, L. W., and Hoffman, S. A.: Water
Quality and Quantity and Simulated Surface-Water and Groundwater Flow in the
Laurel Hill Creek Basin, Southwestern Pennsylvania, 1991–2007,
Scientific Investigations Report, U.S. Geological
Survey, <a href="https://doi.org/10.3133/sir20165082" target="_blank">https://doi.org/10.3133/sir20165082</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Gallagher and Doherty(2007)</label><mixed-citation>
Gallagher, M. and Doherty, J.: Parameter estimation and uncertainty analysis
for a watershed model, Environ. Model. Softw., 22,
1000–1020, <a href="https://doi.org/10.1016/j.envsoft.2006.06.007" target="_blank">https://doi.org/10.1016/j.envsoft.2006.06.007</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Gannett et al.(2017)</label><mixed-citation>
Gannett, M., Lite, K. J., Risley, J., Pischel, E., and La Marche, J.:
Simulation of Groundwater and Surface-Water Flow in the Upper Deschutes
Basin, Oregon, Scientific Investigations Report,
U.S. Geological Survey, 2017-5097, <a href="https://doi.org/10.3133/sir20175097" target="_blank">https://doi.org/10.3133/sir20175097</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Gardner et al.(2018)</label><mixed-citation>
Gardner, M. A., Morton, C. G., Huntington, J. L., Niswonger, R. G., and
Henson, W. R.: Input data processing tools for the integrated hydrologic
model GSFLOW, Environ. Model. Softw., 109, 41–53,
<a href="https://doi.org/10.1016/j.envsoft.2018.07.020" target="_blank">https://doi.org/10.1016/j.envsoft.2018.07.020</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Harbaugh(2005)</label><mixed-citation>
Harbaugh, A. W.: MODFLOW-2005, The U.S. Geological Survey Modular
Ground-Water Model – the Ground-Water Flow Process, in: Modeling
techniques, Section A: Ground Water, U.S.
Geological Survey, Reston, Virginia, USA, no. 16, p. 253, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Hassan et al.(2014)</label><mixed-citation>
Hassan, S. T., Lubczynski, M. W., Niswonger, R. G., and Su, Z.:
Surface-groundwater interactions in hard rocks in Sardon Catchment of
western Spain: An integrated modeling approach, J. Hydrol., 517, 390–410,
<a href="https://doi.org/10.1016/j.jhydrol.2014.05.026" target="_blank">https://doi.org/10.1016/j.jhydrol.2014.05.026</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Heckmann et al.(2014)</label><mixed-citation>
Heckmann, T., Schwanghart, W., and Phillips, J. D.: Graph theory-Recent
developments of its application in geomorphology, Geomorphology, 243,
130–146, <a href="https://doi.org/10.1016/j.geomorph.2014.12.024" target="_blank">https://doi.org/10.1016/j.geomorph.2014.12.024</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Hofierka et al.(2009)</label><mixed-citation>
Hofierka, J., Mitášová, H., and Neteler, M.: Geomorphometry
in GRASS GIS, chap. 17, in: Developments in Soil Science, 33, 387–410,
<a href="https://doi.org/10.1016/S0166-2481(08)00017-2" target="_blank">https://doi.org/10.1016/S0166-2481(08)00017-2</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Hsieh and Winston(2002)</label><mixed-citation>
Hsieh, P. A. and Winston, R. B.: User's Guide To Model Viewer, a Program for
Three-Dimensional Visualization of Ground-Water Model Results, U.S.
Geological Survey, Menlo Park, CA, Open-File Report 02-106, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Hunt et al.(2013)</label><mixed-citation>
Hunt, R. J., Walker, J. F., Selbig, W. R., Westenbroek, S. M., and Regan,
R. S.: Simulation of Climate – Change effects on streamflow, Lake water
budgets, and stream temperature using GSFLOW and SNTEMP, Trout Lake
Watershed, Wisconsin, USGS Scientific Investigations Report, 2013–5159,
2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Hunter(2007)</label><mixed-citation>
Hunter, J. D.: Matplotlib: A 2D graphics environment, Comput. Sci. Eng., 9,
99–104, <a href="https://doi.org/10.1109/MCSE.2007.55" target="_blank">https://doi.org/10.1109/MCSE.2007.55</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Jasiewicz and Metz(2011)</label><mixed-citation>
Jasiewicz, J. and Metz, M.: A new GRASS GIS toolkit for Hortonian analysis
of drainage networks, Comput. Geosci., 37, 1162–1173,
<a href="https://doi.org/10.1016/j.cageo.2011.03.003" target="_blank">https://doi.org/10.1016/j.cageo.2011.03.003</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Jazwa et al.(2016)</label><mixed-citation>
Jazwa, C. S., Duffy, C. J., Leonard, L., and Kennett, D. J.: Hydrological
Modeling and Prehistoric Settlement on Santa Rosa Island, California, USA,
Geoarchaeology, 31, 101–120, <a href="https://doi.org/10.1002/gea.21532" target="_blank">https://doi.org/10.1002/gea.21532</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Jenson and Domingue(1988)</label><mixed-citation>
Jenson, S. K. and Domingue, J. O.: Extracting topographic structure from
digital elevation data for geographic information system analysis,
Photogramm. Eng. Rem. S., 54, 1593–1600, 1988.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Kinner et al.(2005)</label><mixed-citation>
Kinner, D., Mitasova, H., Stallard, R., Harmon, R. S., and Toma, L.:
GIS-Based Stream Network Analysis for the Upper Río Chagres Basin,
Panama, in: The Río Chagres, Panama: A Multidisciplinary Profile of a
Tropical Watershed, edited by: Harmon, R. S., Springer-Verlag,
Berlin/Heidelberg, 83–95, <a href="https://doi.org/10.1007/1-4020-3297-8_6" target="_blank">https://doi.org/10.1007/1-4020-3297-8_6</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Kreiling and Houser(2016)</label><mixed-citation>
Kreiling, R. M. and Houser, J. N.: Long-term decreases in phosphorus and
suspended solids, but not nitrogen, in six upper Mississippi River
tributaries, 1991–2014, Environ. Monit. Assess., 188, 454,
<a href="https://doi.org/10.1007/s10661-016-5464-3" target="_blank">https://doi.org/10.1007/s10661-016-5464-3</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Leavesley et al.(1983)</label><mixed-citation>
Leavesley, G. H., Lichty, R., Troutman, B., and Saindon, L.:
Precipitation-Runoff Modeling System: User's Manual, Water-Resources
Investigations Report, U.S. Geological Survey, Denver, Colorado, USA, 1983.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Leavesley et al.(1996)</label><mixed-citation>
Leavesley, G. H., Restrepo, P., Markstrom, S., Dixon, M., and Stannard, L.:
The Modular Modeling System (MMS): User's Manual, Version 1.1, USGS
Numbered Series, U.S. Geological Survey, no. 96-151, 1996.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Leonard and Duffy(2013)</label><mixed-citation>
Leonard, L. and Duffy, C. J.: Essential Terrestrial Variable data workflows
for distributed water resources modeling, Environ. Model. Softw.,
50, 85–96, <a href="https://doi.org/10.1016/j.envsoft.2013.09.003" target="_blank">https://doi.org/10.1016/j.envsoft.2013.09.003</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Leopold and Maddock(1953)</label><mixed-citation>
Leopold, L. B. and Maddock, T.: The hydraulic geometry of stream channels
and some physiographic implications, Professional Paper, U.S. Geological
Survey, Washington, DC, 1953.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>LeVeque(2002)</label><mixed-citation>
LeVeque, R. J.: Finite volume methods for hyperbolic problems, vol. 31,
Cambridge university press, 580 pp., 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>López-Moreno et al.(2014)</label><mixed-citation>
López-Moreno, J., Fontaneda, S., Bazo, J., Revuelto, J., Azorin-Molina,
C., Valero-Garcés, B., Morán-Tejeda, E., Vicente-Serrano, S.,
Zubieta, R., and Alejo-Cochachín, J.: Recent glacier retreat and
climate trends in Cordillera Huaytapallana, Peru, Global Planet. Change,
112, 1–11, <a href="https://doi.org/10.1016/j.gloplacha.2013.10.010" target="_blank">https://doi.org/10.1016/j.gloplacha.2013.10.010</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Luzio et al.(2006)</label><mixed-citation>
Luzio, M. D., Arnold, J. G., and Srinivasan, R.: A GIS Coupled hydrological
model system for the watershed assessment of agricultural nonpoint and point
sources of polution, T. GIS, 8, 113–136,
<a href="https://doi.org/10.1111/j.1467-9671.2004.00170.x" target="_blank">https://doi.org/10.1111/j.1467-9671.2004.00170.x</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Magalhães et al.(2014)</label><mixed-citation>
Magalhães, S. V. G., Andrade, M. V. A., Franklin, W. R., and Pena,
G. C.: A linear time algorithm to compute the drainage network on grid
terrains, J. Hydroinform., 16, 1227–1234, <a href="https://doi.org/10.2166/hydro.2013.068" target="_blank">https://doi.org/10.2166/hydro.2013.068</a>,
2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>Maidment and Morehouse(2002)</label><mixed-citation>
Maidment, D. R. and Morehouse, S.: Arc Hydro: GIS for water resources, 3rd edn., ESRI
Press, Redlands, California, USA, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>Markstrom et al.(2008)</label><mixed-citation>
Markstrom, S. L., Niswonger, R. G., Regan, R. S., Prudic, D. E., and Barlow,
P. M.: GSFLOW–Coupled Ground-Water and Surface-Water Flow Model Based on
the Integration of the Precipitation-Runoff Modeling System (PRMS) and the
Modular Ground-Water Flow Model (MODFLOW-2005), U.S. Geological Survey
Techniques and Methods, p. 240, <a href="https://doi.org/10.13140/2.1.2741.9202" target="_blank">https://doi.org/10.13140/2.1.2741.9202</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Markstrom et al.(2015)</label><mixed-citation>
Markstrom, S. L., Regan, R. S., Hay, L. E., Viger, R. J., Webb, R. M. T.,
Payn, R. A., and LaFontaine, J. H.: PRMS-IV , the Precipitation-Runoff
Modeling System, Version 4, U.S. Geological Survey, Reston, Virginia, USA,
<a href="https://doi.org/10.3133/tm6B7" target="_blank">https://doi.org/10.3133/tm6B7</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>Maxwell et al.(2014)</label><mixed-citation>
Maxwell, R., Putti, M., Meyerhoff, S., Delfs, J., Ferguson, I. M., Ivanov,
V., Kim, J., Kolditz, O., Kollet, S. J., Kumar, M., Lopez, S., Niu, J.,
Paniconi, C., Park, Y., Phanikumar, M., Shen, C., Sudicky, E. A., and Sulis,
M.: Surface-subsurface model intercomparison: A first set of benchmark
results to diagnose integrated hydrology and feedbacks, Water Resour. Res.,
50, 1531–1549, <a href="https://doi.org/10.1002/2013WR013725" target="_blank">https://doi.org/10.1002/2013WR013725</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>Maxwell et al.(2017)</label><mixed-citation>
Maxwell, R. M., Kollet, S. J., Smith, S. G., Woodward, C. S., Falgout, R. D.,
Ferguson, I. M., Engdahl, N., Condon, L. E., Hector, B., Lopez, S., Bearup,
L., Jefferson, J., Collins, C., Graaf, I. D., Pribulick, C., Baldwin, C.,
Bosl, W. J., Hornung, R., and Ashby, S.: ParFlow User's Manual, Integrated
Ground-Water Modeling Center, Report GWMI 2016-01, 167 pp., 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>Metz et al.(2011)</label><mixed-citation>
Metz, M., Mitasova, H., and Harmon, R. S.: Efficient extraction of drainage
networks from massive, radar-based elevation models with least cost path
search, Hydrol. Earth Syst. Sci., 15, 667–678,
<a href="https://doi.org/10.5194/hess-15-667-2011" target="_blank">https://doi.org/10.5194/hess-15-667-2011</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>Miliaresis and Delikaraoglou(2009)</label><mixed-citation>
Miliaresis, G. and Delikaraoglou, D.: Effects of percent tree canopy density
and DEM misregistration on SRTM/NED vegetation height estimates, Remote
Sens., 1, 36–49, <a href="https://doi.org/10.3390/rs1020036" target="_blank">https://doi.org/10.3390/rs1020036</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>Mitasova et al.(1995)</label><mixed-citation>
Mitasova, H., Mitas, L., Brown, W. M., Gerdes, D. P., Kosinovsky, R., and
Baker, T.: Modelling spatially and temporally distributed phenomena: New
methods and tools for GRASS GIS, Int. J. Geogr. Inf. Syst., 9, 433–446,
<a href="https://doi.org/10.1080/02693799508902048" target="_blank">https://doi.org/10.1080/02693799508902048</a>, 1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>Neitsch et al.(2002)</label><mixed-citation>
Neitsch, S., Arnold, J., Kiniry, J., Srinivasan, R., and Williams, J.: Soil
and Water Assessment Tool User's Manual, vol. TR-192, Texas Water Resources
Institute, College Station, Texas, USA, available at:
<a href="http://swat.tamu.edu/media/1294/swatuserman.pdf" target="_blank">http://swat.tamu.edu/media/1294/swatuserman.pdf</a> (last access: 22 November 2018), 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>Neteler and Mitasova(2008)</label><mixed-citation>
Neteler, M. and Mitasova, H.: Open Source GIS: A GRASS GIS Approach,
Springer, New York, New York, USA, 3rd edn., 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>Neteler et al.(2008)</label><mixed-citation>
Neteler, M., Beaudette, D., Cavallini, P., Lami, L., and Cepicky, J.: GRASS
GIS, Open Source Approaches in Spatial Data Handling, 2, 171–199,
<a href="https://doi.org/10.1007/978-3-540-74831-1_9" target="_blank">https://doi.org/10.1007/978-3-540-74831-1_9</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>Neteler et al.(2012)</label><mixed-citation>
Neteler, M., Bowman, M. H., Landa, M., and Metz, M.: GRASS GIS: A
multi-purpose open source GIS, Environ. Model. Softw., 31,
124–130, <a href="https://doi.org/10.1016/j.envsoft.2011.11.014" target="_blank">https://doi.org/10.1016/j.envsoft.2011.11.014</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>Niswonger et al.(2011)</label><mixed-citation>
Niswonger, R. G., Panday, S., and Motomu, I.: MODFLOW-NWT, A Newton
Formulation for MODFLOW-2005, U.S. Geological Survey Techniques and Methods,
Reston, U.S. Geological Survey, Virginia, USA, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>Pal et al.(2007)</label><mixed-citation>
Pal, J. S., Giorgi, F., Bi, X., Elguindi, N., Solmon, F., Gao, X., Rauscher,
S. A., Francisco, R., Zakey, A., Winter, J., Ashfaq, M., Syed, F. S., Bell,
J. L., Differbaugh, N. S., Karmacharya, J., Konari, A., Martinez, D.,
Da Rocha, R. P., Sloan, L. C., and Steiner, A. L.: Regional climate modeling
for the developing world: The ICTP RegCM3 and RegCNET, B. Am. Meteorol.
Soc., 88, 1395–1409, <a href="https://doi.org/10.1175/BAMS-88-9-1395" target="_blank">https://doi.org/10.1175/BAMS-88-9-1395</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>Patterson and Hobbs(1995)</label><mixed-citation>
Patterson, C. J. and Hobbs, H. C.: Surficial geology, in: County Atlas C-9:
Geologic atlas of Rice County, edited by: Hobbs, H. C., Minnesota Geological
Survey, University of Minnesota Digital Conservancy,
<a href="http://hdl.handle.net/11299/58514" target="_blank">http://hdl.handle.net/11299/58514</a> (last access: 15 November 2018),
1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>Pérez and Granger(2007)</label><mixed-citation>
Pérez, F. and Granger, B. E.: IPython: A system for interactive
scientific computing, Comput. Sci. Eng., 9, 21–29,
<a href="https://doi.org/10.1109/MCSE.2007.53" target="_blank">https://doi.org/10.1109/MCSE.2007.53</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>Poeter and Hill(1998)</label><mixed-citation>
Poeter, E. P. and Hill, M. C.: Documentation of UCODE, A Computer Code for
Universal Inverse Modeling, USGS Water Resources Investigations Report
98-4080, Water-Resources Investigations Report, U.S. Geological Survey,
Denver, Colorado, USA, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>Poeter and Hill(1999)</label><mixed-citation>
Poeter, E. P. and Hill, M. C.: UCODE, a computer code for universal inverse
modeling, Comput. Geosci., 25, 457–462,
<a href="https://doi.org/10.1016/S0098-3004(98)00149-6" target="_blank">https://doi.org/10.1016/S0098-3004(98)00149-6</a>, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib63"><label>QGIS Development Team(2013)</label><mixed-citation>
QGIS Development Team: QGIS Geographic Information System, available
at: <a href="http://qgis.org/" target="_blank">http://qgis.org/</a>, last access: 22 November 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib64"><label>Qu and Duffy(2007)</label><mixed-citation>
Qu, Y. and Duffy, C. J.: A semidiscrete finite volume formulation for
multiprocess watershed simulation, Water Resour. Res., 43, 1–18,
<a href="https://doi.org/10.1029/2006WR005752" target="_blank">https://doi.org/10.1029/2006WR005752</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib65"><label>Razavi and Gupta(2015)</label><mixed-citation>
Razavi, S. and Gupta, H. V.: What do we mean by sensitivity analysis? The
need for comprehensive characterization of “global” sensitivity in Earth
and Environmental systems models, Water Resour. Res., 51, 3070–3092,
<a href="https://doi.org/10.1002/2014WR016527.Received" target="_blank">https://doi.org/10.1002/2014WR016527.Received</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib66"><label>Reed et al.(2004)</label><mixed-citation>
Reed, S., Koren, V., Smith, M., Zhang, Z., Moreda, F., and Seo, D. J.:
Overall distributed model intercomparison project results, J. Hydrol., 298,
27–60, <a href="https://doi.org/10.1016/j.jhydrol.2004.03.031" target="_blank">https://doi.org/10.1016/j.jhydrol.2004.03.031</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib67"><label>Regan et al.(2015)</label><mixed-citation>
Regan, R. S., Niswonger, R. G., Markstrom, S. L., and Barlow, P. M.:
Documentation of a restart option for the U.S. Geological Survey coupled
groundwater and surface-water flow (GSFLOW) model, Techniques and Methods
6-D3, U.S. Geological Survey, Reston, Virginia, USA, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib68"><label>Reilly(2001)</label><mixed-citation>
Reilly, T. E.: System and Boundary Conceptualization in Ground-Water Flow
Simulation, in: Techniques of Water-Resources Investigations of the United
States Geological Survey, Book 3, Applications of Hydraulics, U.S. Geological
Survey, p. 38, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib69"><label>Reilly and Harbaugh(2004)</label><mixed-citation>
Reilly, T. E. and Harbaugh, A. W.: Guidelines for Evaluating Ground-Water
Flow Models, U.S. Geological Survey, Report no. 2004-5038, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib70"><label>Rossi and Reichenbach(2016)</label><mixed-citation>
Rossi, M. and Reichenbach, P.: LAND-SE: a software for statistically based
landslide susceptibility zonation, version 1.0, Geosci. Model Dev., 9,
3533–3543, <a href="https://doi.org/10.5194/gmd-9-3533-2016" target="_blank">https://doi.org/10.5194/gmd-9-3533-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib71"><label>Sangireddy et al.(2016)</label><mixed-citation>
Sangireddy, H., Stark, C. P., Kladzyk, A., and Passalacqua, P.: GeoNet: An
open source software for the automatic and objective extraction of channel
heads, channel network, and channel morphology from high resolution
topography data, Environ. Model. Softw., 83, 58–73,
<a href="https://doi.org/10.1016/j.envsoft.2016.04.026" target="_blank">https://doi.org/10.1016/j.envsoft.2016.04.026</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib72"><label>Schumann et al.(2016)</label><mixed-citation>
Schumann, R. R., Pigati, J. S., and McGeehin, J. P.: Fluvial system response
to late Pleistocene-Holocene sea-level change on Santa Rosa Island, Channel
Islands National Park, California, Geomorphology, 268, 322–340,
<a href="https://doi.org/10.1016/j.geomorph.2016.05.033" target="_blank">https://doi.org/10.1016/j.geomorph.2016.05.033</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib73"><label>Schwanghart and Scherler(2014)</label><mixed-citation>
Schwanghart, W. and Scherler, D.: Short Communication: TopoToolbox 2 –
MATLAB-based software for topographic analysis and modeling in Earth surface
sciences, Earth Surf. Dynam., 2, 1–7,
<a href="https://doi.org/10.5194/esurf-2-1-2014" target="_blank">https://doi.org/10.5194/esurf-2-1-2014</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib74"><label>Shapiro and Westervelt(1994)</label><mixed-citation>
Shapiro, M. and Westervelt, J.: r. mapcalc: An algebra for GIS and image
processing, USACERL-TR, Construction Engineering Research Lab, Champaign,
Illinois, USA, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib75"><label>Simunek et al.(2009)</label><mixed-citation>
Simunek, J., Sejna, M., Saito, H., Sakai, M., and van Genuchten, M.: The
HYDRUS-1D software package for simulating the one-dimensional movement of
water, heat, and multiple solutes in variably-saturated media, Version 4.08,
HYDRUS Softw. Ser. 3., Technical Report, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib76"><label>Somers et al.(2018)</label><mixed-citation>
Somers, L. D., McKenzie, J. M., Zipper, S. C., Mark, B. G., Lagos, P., and
Baraer, M.: Does hillslope trenching enhance groundwater recharge and
baseflow in the Peruvian Andes?, Hydrol. Process., 32, 318–331,
<a href="https://doi.org/10.1002/hyp.11423" target="_blank">https://doi.org/10.1002/hyp.11423</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib77"><label>Song et al.(2015)</label><mixed-citation>
Song, X., Zhang, J., Zhan, C., Xuan, Y., Ye, M., and Xu, C.: Global
sensitivity analysis in hydrological modeling: Review of concepts, methods,
theoretical framework, and applications, J. Hydrol., 523, 739–757,
<a href="https://doi.org/10.1016/j.jhydrol.2015.02.013" target="_blank">https://doi.org/10.1016/j.jhydrol.2015.02.013</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib78"><label>Srinivasan and Arnold(1994)</label><mixed-citation>
Srinivasan, R. and Arnold, J. G.: Integration of a basin-scale water quality
model with GIS, J. Am. Water Resour. As., 30, 453–462,
<a href="https://doi.org/10.1111/j.1752-1688.1994.tb03304.x" target="_blank">https://doi.org/10.1111/j.1752-1688.1994.tb03304.x</a>, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib79"><label>Steenberg et al.(2013)</label><mixed-citation>
Steenberg, J. R., Tipping, R. G., and Runkel, A. C.: Geologic controls on
groundwater and surface water flow in southeastern Minnesota and its impact
on nitrate concentrations in streams, Minnesota Geological Survey Open File
Report, p. 154, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib80"><label>Surfleet and Tullos(2013)</label><mixed-citation>
Surfleet, C. G. and Tullos, D.: Uncertainty in hydrologic modelling for
estimating hydrologic response due to climate change (Santiam River,
Oregon), Hydrol. Process., 27, 3560–3576, <a href="https://doi.org/10.1002/hyp.9485" target="_blank">https://doi.org/10.1002/hyp.9485</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib81"><label>Šúri and Hofierka(2004)</label><mixed-citation>
Šúri, M. and Hofierka, J.: A new GIS-based solar radiation model
and its application to photovoltaic assessments, T. GIS, 8, 175–190,
<a href="https://doi.org/10.1111/j.1467-9671.2004.00174.x" target="_blank">https://doi.org/10.1111/j.1467-9671.2004.00174.x</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib82"><label>Tachikawa et al.(2011)</label><mixed-citation>
Tachikawa, T., Kaku, M., Iwasaki, A., Gesch, D., Oimoen, M., Zhang, Z.,
Danielson, J., Krieger, T., Curtis, B., Haase, J., Abrams, M., Crippen, R.,
Carabajal, C., and ASTER GDEM Validation Team: ASTER Global Digital
Elevation Model Version 2 – Summary of Validation Results, Technical
report, NASA Earth Resources Observation and Science (EROS) Center, Sioux
Falls, South Dakota, USA, <a href="https://doi.org/10.1017/CBO9781107415324.004" target="_blank">https://doi.org/10.1017/CBO9781107415324.004</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib83"><label>Tejedor et al.(2015)</label><mixed-citation>
Tejedor, A., Longjas, A., Zaliapin, I., and Foufoula-Georgiou, E.: Delta
channel networks: 1. A graph-theoretic approach for studying connectivity and
steady state transport on deltaic surfaces, Water Resour. Res., 51,
3998–4018, <a href="https://doi.org/10.1002/2014WR016577" target="_blank">https://doi.org/10.1002/2014WR016577</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib84"><label>Tian et al.(2015)</label><mixed-citation>
Tian, Y., Zheng, Y., Wu, B., Wu, X., Liu, J., and Zheng, C.: Modeling
surface water-groundwater interaction in arid and semi-arid regions with
intensive agriculture, Environ. Model. Softw., 63, 170–184,
<a href="https://doi.org/10.1016/j.envsoft.2014.10.011" target="_blank">https://doi.org/10.1016/j.envsoft.2014.10.011</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib85"><label>Tian et al.(2016)</label><mixed-citation>
Tian, Y., Zheng, Y., and Zheng, C.: Development of a visualization tool for
integrated surface water-groundwater modeling, Comput. Geosci.,
86, 1–14, <a href="https://doi.org/10.1016/j.cageo.2015.09.019" target="_blank">https://doi.org/10.1016/j.cageo.2015.09.019</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib86"><label>Tipping(2006)</label><mixed-citation>
Tipping, R. G.: Subsurface recharge and surface infiltration, in: Geologic
Atlas of Scott County, Minnesota, Minnesota Geological Survey Atlas Series,
2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib87"><label>Viger and Leavesley(2007)</label><mixed-citation>
Viger, R. J. and Leavesley, G. H.: The GIS Weasel User's Manual, U.S.
Geological Survey, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib88"><label>Vivoni et al.(2004)</label><mixed-citation>
Vivoni, E. R., Ivanov, V. Y., Bras, R. L., and Entekhabi, D.: Generation of
Triangulated Irregular Networks Based on Hydrological Similarity, J. Hydrol.
Eng., 9, 288–302, <a href="https://doi.org/10.1061/(ASCE)1084-0699(2004)9:4(288)" target="_blank">https://doi.org/10.1061/(ASCE)1084-0699(2004)9:4(288)</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib89"><label>Wang et al.(2018)</label><mixed-citation>
Wang, D., Liu, Y., and Kumar, M.: Using nested discretization for a detailed
yet computationally efficient simulation of local hydrology in a distributed
hydrologic model, Sci. Rep., 8, 1–13, <a href="https://doi.org/10.1038/s41598-018-24122-7" target="_blank">https://doi.org/10.1038/s41598-018-24122-7</a>,
2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib90"><label>Waterloo Hydrogeologic Inc.(2011)</label><mixed-citation>
Waterloo Hydrogeologic Inc.: Visual MODFLOW 2011.1 User's Manual: For
Professional Applications in Three-Dimensional Groundwater Flow and
Contaminant Transport Modeling, Waterloo Hydrologic, Inc., Waterloo,
Ontario, Canada, available at:
<a href="http://trials.swstechnology.com/software/Visual_MODFLOW/2011/Manuals_and_Guides/VMOD-2011.1_Manual.pdf" target="_blank">http://trials.swstechnology.com/software/Visual_MODFLOW/2011/Manuals_and_Guides/VMOD-2011.1_Manual.pdf</a> (last access: 22 November 2018), 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib91"><label>Wickert(2016)</label><mixed-citation>
Wickert, A. D.: Reconstruction of North American drainage basins and river
discharge since the Last Glacial Maximum, Earth Surf. Dynam., 4, 831–869,
<a href="https://doi.org/10.5194/esurf-4-831-2016" target="_blank">https://doi.org/10.5194/esurf-4-831-2016</a>, 2016. 
</mixed-citation></ref-html>
<ref-html id="bib1.bib92"><label>Wickert and Ng(2018)</label><mixed-citation>
Wickert, A. D. and Ng, G.-H. C.: GSFLOW-GRASS version 1.0.0, Zenodo,
<a href="https://doi.org/10.5281/zenodo.1487716" target="_blank">https://doi.org/10.5281/zenodo.1487716</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib93"><label>Winston(2000)</label><mixed-citation>
Winston, R. B.: Graphical User Interface for MODFLOW, Version 4, Open-File
Report no.  00-315, U.S. Geological Survey, Reston, Virginia, USA, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib94"><label>Winston(2009)</label><mixed-citation>
Winston, R. B.: ModelMuse: A Graphical User Interface for MODFLOW-2005 and
PHAST, chap. 29, in: Section A, Ground Water – Book 6, Modeling Techniques,
U.S. Geological Survey, Reston, Virginia, USA, p. 52, available at:
<a href="http://pubs.usgs.gov/tm/tm6A29/tm6A29.pdf" target="_blank">http://pubs.usgs.gov/tm/tm6A29/tm6A29.pdf</a> (last access: 22 November 2018), 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib95"><label>Winter et al.(1998)</label><mixed-citation>
Winter, T. C., Harvey, J. W., Franke, O. L., and Alley, W. M.: Ground water
and surface water: A single resource, U.S. Government Printing Office,
Denver, Colorado, USA, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib96"><label>Zambelli et al.(2013)</label><mixed-citation>
Zambelli, P., Gebbert, S., and Ciolli, M.: Pygrass: An Object Oriented
Python Application Programming Interface (API) for Geographic Resources
Analysis Support System (GRASS) Geographic Information System (GIS), ISPRS
Int. Geo.-Inf., 2, 201–219, <a href="https://doi.org/10.3390/ijgi2010201" target="_blank">https://doi.org/10.3390/ijgi2010201</a>, 2013.
</mixed-citation></ref-html>--></article>
