<?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-12-3523-2019</article-id><title-group><article-title>A parallel workflow implementation for PEST version 13.6 in
high-performance computing for WRF-Hydro version 5.0:<?xmltex \hack{\break}?> a case study over the midwestern United States</article-title><alt-title>A parallel PEST for WRF-Hydro on HPCs</alt-title>
      </title-group><?xmltex \runningtitle{A parallel PEST for WRF-Hydro on HPCs}?><?xmltex \runningauthor{J. Wang et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Wang</surname><given-names>Jiali</given-names></name>
          <email>jialiwang@anl.gov</email>
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Wang</surname><given-names>Cheng</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-0403-1651</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Rao</surname><given-names>Vishwas</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Orr</surname><given-names>Andrew</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Yan</surname><given-names>Eugene</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Kotamarthi</surname><given-names>Rao</given-names></name>
          <email>vrkotamarthi@anl.gov</email>
        <ext-link>https://orcid.org/0000-0002-2612-7590</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Environmental Science Division, Argonne National Laboratory, 9700
South Cass Avenue, Lemont, IL 60439, USA</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Mathematics and Computer Science Division, Argonne National Laboratory, 9700 South Cass Avenue,<?xmltex \hack{\break}?> Lemont, IL 60439, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Jiali Wang (jialiwang@anl.gov) and Rao Kotamarthi (vrkotamarthi@anl.gov)</corresp></author-notes><pub-date><day>13</day><month>August</month><year>2019</year></pub-date>
      
      <volume>12</volume>
      <issue>8</issue>
      <fpage>3523</fpage><lpage>3539</lpage>
      <history>
        <date date-type="received"><day>10</day><month>October</month><year>2018</year></date>
           <date date-type="rev-request"><day>29</day><month>November</month><year>2018</year></date>
           <date date-type="rev-recd"><day>16</day><month>June</month><year>2019</year></date>
           <date date-type="accepted"><day>12</day><month>July</month><year>2019</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2019 Jiali Wang et al.</copyright-statement>
        <copyright-year>2019</copyright-year>
      <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/12/3523/2019/gmd-12-3523-2019.html">This article is available from https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e138">The Weather Research and Forecasting Hydrological
(WRF-Hydro) system is a state-of-the-art numerical model that models the
entire hydrological cycle based on physical principles. As with other
hydrological models, WRF-Hydro parameterizes many physical processes. Hence,
WRF-Hydro needs to be calibrated to optimize its output with respect to
observations for the application region. When applied to a relatively large
domain, both WRF-Hydro simulations and calibrations require intensive
computing resources and are best performed on multimode, multicore
high-performance computing (HPC) systems. Typically, each physics-based
model requires a calibration process that works specifically with that model
and is not transferrable to a different process or model. The parameter
estimation tool (PEST) is a flexible and generic calibration tool that can
be used in principle to calibrate any of these models. In its existing
configuration, however, PEST is not designed to work on the current
generation of massively parallel HPC clusters. To address this issue, we
ported the parallel PEST to HPCs and adapted it to work with WRF-Hydro. The
porting involved writing scripts to modify the workflow for different
workload managers and job schedulers, as well as to connect
the parallel PEST to WRF-Hydro. To test the operational feasibility and the
computational benefits of this first-of-its-kind HPC-enabled parallel PEST,
we developed a case study using a flood in the midwestern United States in
2013. Results on a problem involving the calibration of 22 parameters show that
on the same computing resources used for parallel WRF-Hydro, the HPC-enabled
parallel PEST can speed up the calibration process by a factor of up to 15
compared with commonly used PEST in sequential mode. The speedup factor is
expected to be greater with a larger calibration problem (e.g., more
parameters to be calibrated or a larger size of study area).</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e150">Physically based hydrological models contain detailed physical mechanisms to
model the hydrological cycle, but many complex physical processes in these
models are parameterized. For example, the state-of-the-art Weather Research
and Forecasting Hydrological (WRF-Hydro) modeling system (Gochis et al.,
2018) has dozens of parameters that can be dependent on land and river type
and are typically specified in lookup tables. Therefore, these hydrological
models need to be calibrated before they can be applied to research over
different regions. In this context, calibration refers to adjusting the
values of the model parameters so that the model can closely match the
behavior of the real system it represents. In some cases, the appropriate
value for a model parameter can be determined through direct measurements
conducted on the real system. In many situations, however, the model
parameters are conceptual representations of abstract watershed
characteristics and must be determined through calibration. In fact, model
calibration is the most time-consuming step, not only for hydrological
models, but also for Earth system model development, because both parametric
estimation and parametric uncertainty analysis require hundreds – if<?pagebreak page3524?> not
thousands – of model simulations to understand how perturbations in model
parameters affect simulations of dominant physical processes and to find the
optimum value of a single parameter.</p>
      <p id="d1e153">WRF-Hydro is a numerical model that can simulate the entire hydrological
cycle using advanced high-resolution data such as satellite and radar
products. Compared with the traditional land-surface model (LSM) used by
WRF, WRF-Hydro provides a framework for the multiscale representation of surface
flow, subsurface flow, channel routing, and baseflow, as well as a simple
lake–reservoir routing scheme. As a physics-based model, WRF-Hydro includes
many complicated physical processes that are nonlinear and must be
parameterized. The default parameters given by WRF-Hydro may be valid for
one region but not for another region. Hence, the  calibration of related model
parameters is often required in order to use the model in a new domain. In
particular, for a large spatial domain such as the entire contiguous United
States, in order to develop the optimal parameter sets in a reasonable
amount of time, the calibration must be conducted on high-performance
computing (HPC) systems in parallel instead of in sequential
mode. To date, no such calibration tool can efficiently calibrate WRF-Hydro
on HPC resources. Typically, each physics-based model needs a calibration
code that is custom designed to work with that particular numerical model
and its set of physics parameterizations, software architecture, and
solvers. These custom-designed calibration codes are highly challenging and
do not offer flexibility. Therefore, a more flexible and generic calibration
tool is needed that can calibrate any code that uses Message-Passing
Interface–Open Multi-Processing (MPI–OpenMP) for parallelization on HPC
systems.</p>
      <p id="d1e156">One widely used generic and independent calibration tool is the parameter
estimation tool (PEST). PEST (Doherty, 2016) conducts calibration
automatically based on mathematical methods and is thus applicable for
optimizing nonlinear parameters. Compared with manual calibration, automatic
calibration is more efficient and effective because it avoids interference
from human factors (Madsen, 2000; Getirana, 2010). The uniqueness of PEST is
that it operates independently of models: there is no need to develop
additional programs for a particular model except preparing the files
required by PEST (as described in Sect. 3.2). PEST has four modes of
operation  (Doherty, 2016). One of the modes is regularization mode, which supports the use
of Tikhonov regularization and is found to be better for serving environmental
models because, if implemented properly, it supports model predictions of
minimum error variance, is numerically stable, and embraces rather than
eschews the heterogeneity of natural systems. Singular value decomposition
(SVD) can be used as a regularization device to guarantee the numerical
stability of the calibration problem. The parallel PEST is able to distribute
many runs across many computing nodes using master–worker parallel
programming. To our best knowledge, however, no approach is available that
allows users to submit jobs using PEST parallelization to a typical
supercomputing facility that uses job scheduling and workload management
such as Simple Linux Utility for Resource Management (SLURM), Portable Batch
System (PBS), and Cobalt. A previous study (Senatore et al., 2015) used PEST
to calibrate WRF-Hydro over the Crati River Basin in southern Italy. Because
the study area was relatively small, the authors were able to conduct the
calibration using PEST in sequential mode (Alfonso Senatore, personal
communication, 2018).</p>
      <p id="d1e159">The objective of this study is to (1) port the parallel PEST to HPC clusters
operated by the U.S. Department of Energy (DOE) and adapt it to work with
WRF-Hydro, (2) evaluate the performance of the HPC-enabled parallel PEST linked
to WRF-Hydro by calibrating a flood event, and (3) explore the scale-up
capability and computational benefits of the HPC-enabled parallel PEST by
assigning different computing resources to the entire calibration process.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Model description</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Study area</title>
      <p id="d1e177">The case presented here is one of the worst floods experienced by greater
Chicago area in the past 3 decades; the storm occurred on 18 April
2013. According to the National Weather Service (NWS), the heaviest 24 h
accumulated rainfall during this storm reached 201.4, 171.1, and 136.4 mm
across Illinois, Iowa, and Missouri, respectively. The Mississippi River
crested at 10.8 m (1.7 m above flood stage), and the Illinois River crested
in Peoria, Illinois, at 8.95 m; this river cresting broke the previous
record of 8.78 m, set in 1943, and was 4.55 m above the historical normal
river stage (NWS, 2013). Campos and Wang (2015) conducted three-domain
nested WRF simulations to understand the dynamical and microphysical
mechanisms of the event. Our study builds on the smallest domain of that
study, which covers Illinois and the majority of Iowa and Missouri at a spatial
resolution of 3 km (Fig. 1). The domain size is <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">495</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">000</mml:mn></mml:mrow></mml:math></inline-formula> km<inline-formula><mml:math id="M2" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> (747 km from west to east; 657 km from south to north).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><label>Figure 1</label><caption><p id="d1e204">Eight USGS sites over the study area. The boundaries of the Upper
Mississippi River Basin (UMRB) and Missouri River Basin (MORB) are
highlighted. The four black circles indicate the sites that are used for
calibrations; the four black crosses are sites that are used for
transferability assessment. USGS site numbers corresponding to the site
indices used in this study are as follows. Station 1: 05465500; Station 2: 07010000;
Station 3: 07020500; Station 4: 07022000; Station 5: 05465700; Station 6:
05474000; Station 7: 05558300; Station 8: 05568500. The three inflow
stations indicated by the black triangles on the lower left map are
06807000, 06887500, and 05389500.</p></caption>
          <?xmltex \igopts{width=426.791339pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019-f01.jpg"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>WRF-Hydro configuration</title>
      <p id="d1e221">This study employs WRF-Hydro version 5 with a basic configuration. This
configuration does not use nudging techniques or spatially distributed
soil-related parameters as used in the National Water Model configuration.
WRF-Hydro has been tested in several different cases that focused on
different hydrometeorological forecasting and simulation problems (e.g.,
Yucel et al., 2015; Senatore et al., 2015; Arnault et al., 2016), and it
shows reasonable accuracy in simulated streamflow after being carefully
calibrated. For details of the WRF-Hydro modeling system, see Gochis et al. (2018). Currently, two LSMs are available in WRF-Hydro for representing
land-surface column physics: Noah (Chen and Dudhia, 2001) and Noah
Multi-parameterization (Noah-MP; Niu et al., 2011). We utilize the Noah-MP LSM
because compared with the Noah LSM it shows obvious improvements in reproducing
surface fluxes, skin temperature over dry periods, snow water equivalent,
snow depth, and runoff (Niu et al., 2011). Noah-MP is configured at a
grid spacing of 3 km, and the aggregation factor is 15; that is, starting
from a 3 km LSM resolution in the domain shown in Fig. 1, hydrological
routing is performed at a grid resolution of 200 m, with 3285 south–north
<inline-formula><mml:math id="M3" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 3735 west–east grid cells. We use a time step of 10 s for
the routing grid in order to maintain model stability and prevent the numerical
dispersion of overland flood waves. WRF-Hydro is configured to be in
offline or uncoupled mode – there is no online interaction between the
WRF-Hydro hydrological model and the WRF<?pagebreak page3526?> atmospheric model. Overland flow,
saturated subsurface flow, gridded channel routing, and a conceptual
baseflow are active in this study. The gridded channel network uses an
explicit, one-dimensional, variable time-stepping diffusive wave. The time
step of 10 s also meets the Courant condition criteria for diffusive
wave routing on a 200 m resolution grid. A direct output-equals-input
“pass-through” relationship is adopted to estimate the baseflow. Although
the baseflow module is not physically explicit, it is important because the
water flow in the channel routing is contributed by both the overland flow
and baseflow. If the overland flow is active as it is in this study, it
passes water directly to the channel model. In this case the soil drainage
is the only water resource flowing into the baseflow buckets. However, if
the overland flow is deactivated but channel routing is still active, then
WRF-Hydro collects excess surface infiltration water from the land model and
passes this water into the baseflow bucket. This bucket then contributes the
water from both overland and soil drainage to the channel flow. Therefore,
the baseflow must be active if the overland flow is switched off. This study
does not consider lakes and reservoirs.</p>
      <p id="d1e231">We use the geographic information system (GIS) tool developed by the WRF-Hydro team (Sampson and Gochis,
2018) to delineate the stream channel
network, open-water (i.e., lake, reservoir, and ocean) grid cells, and
groundwater–baseflow basins. Meteorological input for WRF-Hydro includes
hourly precipitation; near-surface air temperature, humidity, and wind
speed; incoming shortwave and longwave radiation; and surface pressure. In
this study, the hourly precipitation is from the National Centers for
Environmental Prediction (NCEP) Stage IV analysis at a spatial resolution of
4 km. The Stage IV data are based on combined radar and gauge data (Lin and
Mitchell, 2005; Prat and Nelson, 2015) and have been shown to be temporally
well correlated with high-quality measurements from individual gauges (see,
e.g., Sapiano and Arkin, 2009; Prat and Nelson, 2015). The other hourly
meteorological inputs are from the second phase of the multi-institution
North American Land Data Assimilation System project, phase 2 (NLDAS-2) (Xia
et al., 2012a, b), at a spatial resolution of 12 km. NLDAS-2 is an offline
data assimilation system featuring uncoupled LSMs driven by
observation-based atmospheric forcing.</p>
      <p id="d1e234">During the 15 d period of this studied case, light to moderate rain
occurred on 8 through 11 April 2013, followed by a relatively dry period
from 12 to 15 April. Then a heavy rain event began on 16 April and peaked on
18 April. The heaviest rain band moved east of the study area on 19 April.
The rainy event ended over the study area on 20 April (see Fig. S1 in
the Supplement). We start the WRF-Hydro simulation on 1 October
2012 and run the model for 6 months to reach equilibrium. This 6-month
period is considered spin-up time and is excluded from model calibration
and evaluation. We calibrate the river discharge calculated by the WRF-Hydro
model from 00:00 UTC 9 April to 00:00 UTC 12 April 2013, considering it long enough
to achieve our objective. We then evaluate the model performance against
U.S. Geological Survey (USGS) observed river discharge from 00:00 UTC 12 April
to 00:00 UTC 25 April 2013.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Calibration</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Platforms</title>
      <p id="d1e253">We customized the parallel PEST to work on three different workload managers and
job schedulers: SLURM at the National Energy Research Scientific Computing
Center (NERSC), PBS at the Argonne National Laboratory Computing Resource
Center (LCRC), and Cobalt at the Argonne Leadership Computing Facility. The
tests presented here are conducted on Edison and Cori at NERSC and Bebop at
Argonne LCRC, which all use the SLURM workload manager and job scheduler.</p>
      <p id="d1e256">The interface we have built between the parallel PEST and the management
software is, in general, used for (1) setting the number of workers and the
nodes for each worker to conduct a model run (WRF-Hydro here); (2) setting
up the working directory for the workers; (3) finding the nodes that are
available; (4) identifying the nodes that work for each worker; (5) passing
the global files (the same for all the working directory) to all the workers
(these files include the lookup table files that are not to be calibrated,
the namelist files for both the LSM and hydrological sector, and restart files
generated by the previous simulations or spin-up period); and (6) submitting the job for the entire calibration process, including the parallel
PEST and parallel WRF-Hydro. The job can be submitted as a fresh run
or as a restart in terms of the calibration process. The main difference for this interface on different
management software is that different management software has its own way to
identify available nodes and to submit jobs. These differences require minor
changes in the scripts we developed, which involves finding and identifying
available nodes for workers, and submitting jobs for the specific management
software. See detailed comments in the published code and scripts.</p>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>PEST files and settings</title>
      <p id="d1e267">PEST requires three file types in both sequential and parallel modes. They
are template files to define the parameters to be calibrated, an instruction
file to define the format of model-generated output files, and a control
file to supply PEST with the size of the problem and the settings for the
calibration method. The parallel PEST uses a master–worker paradigm that
starts model runs simultaneously by different workers (or in different
folders). The master of the parallel PEST communicates with each of its workers
many times during a calibration. To run PEST in parallel mode, one also
needs a management file to inform PEST where the working folder is for each
worker and what the names and paths are for each model input file that PEST
must write (i.e., lookup tables<?pagebreak page3527?> that come from template files) and each
model output file that PEST must read (such as frsxt_pts_out.txt). The management file also sets the maximum
running time for each worker. For workers that take longer than the
maximum running time, PEST will stop the model run by that particular worker
and assign that model run to another worker if there is one with nothing
else to do.</p>
      <p id="d1e270">To the best of our knowledge, however, the parallel PEST is not designed to run
on HPCs directly. We developed scripts and an interface to enable parallel
PEST to run on HPCs using SLURM, PBS, or Cobalt workload managers and job
schedulers. The development involved writing scripts to modify the workflow
for different workload managers and job schedulers, as well as to connect the parallel PEST to WRF-Hydro. These developments enable
parallel PEST to have many workers to run at the same time; each worker runs
a parallel code (here WRF-Hydro) that uses more than one node, which could
significantly reduce the wall-clock time for model calibrations. Although
this master–worker parallelism may not be as efficient as a fully MPI
approach, it is sufficient for model calibration and requires the least
effort for the current parallel PEST to run on HPC systems.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e276">Calibrated 22 parameters and the optimum
parameters found after five iterations based on the four USGS stations
indicated by the solid circles in Fig. 1.<inline-formula><mml:math id="M4" display="inline"><mml:msup><mml:mi/><mml:mo>∗</mml:mo></mml:msup></mml:math></inline-formula></p></caption><oasis:table frame="topbot"><oasis:tgroup cols="5">
     <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:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Calibrated parameter</oasis:entry>
         <oasis:entry colname="col2">Default</oasis:entry>
         <oasis:entry colname="col3">Lower bound</oasis:entry>
         <oasis:entry colname="col4">Upper bound</oasis:entry>
         <oasis:entry colname="col5">Optimum  parameter</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">MannN1</oasis:entry>
         <oasis:entry colname="col2">0.55</oasis:entry>
         <oasis:entry colname="col3">0.35</oasis:entry>
         <oasis:entry colname="col4">0.6</oasis:entry>
         <oasis:entry colname="col5">0.6</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MannN2</oasis:entry>
         <oasis:entry colname="col2">0.35</oasis:entry>
         <oasis:entry colname="col3">0.15</oasis:entry>
         <oasis:entry colname="col4">0.35</oasis:entry>
         <oasis:entry colname="col5">0.35</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MannN3</oasis:entry>
         <oasis:entry colname="col2">0.15</oasis:entry>
         <oasis:entry colname="col3">0.08</oasis:entry>
         <oasis:entry colname="col4">0.15</oasis:entry>
         <oasis:entry colname="col5">0.15</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MannN4</oasis:entry>
         <oasis:entry colname="col2">0.1</oasis:entry>
         <oasis:entry colname="col3">0.05</oasis:entry>
         <oasis:entry colname="col4">0.15</oasis:entry>
         <oasis:entry colname="col5">5.00<inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MannN5</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M7" display="inline"><mml:mrow><mml:mn mathvariant="normal">7.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.02</oasis:entry>
         <oasis:entry colname="col4">0.1</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:mn mathvariant="normal">6.59</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MannN6</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.015</oasis:entry>
         <oasis:entry colname="col4">0.1</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M10" display="inline"><mml:mrow><mml:mn mathvariant="normal">4.67</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MannN7</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:mn mathvariant="normal">4.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.01</oasis:entry>
         <oasis:entry colname="col4">0.08</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.24</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MannN8</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.005</oasis:entry>
         <oasis:entry colname="col4">0.06</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.72</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">xslope1</oasis:entry>
         <oasis:entry colname="col2">0.1</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4">1</oasis:entry>
         <oasis:entry colname="col5">0.181358</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">REFDK</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">8</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:mn mathvariant="normal">6.69</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">7</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">REFKDT</oasis:entry>
         <oasis:entry colname="col2">1</oasis:entry>
         <oasis:entry colname="col3">0.01</oasis:entry>
         <oasis:entry colname="col4">5</oasis:entry>
         <oasis:entry colname="col5">0.956414</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn1 (urban)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.005</oasis:entry>
         <oasis:entry colname="col4">0.06</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:mn mathvariant="normal">6.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn2 (dry crop)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.015</oasis:entry>
         <oasis:entry colname="col4">0.06</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn3 (irrigated crop)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.015</oasis:entry>
         <oasis:entry colname="col4">0.06</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:mn mathvariant="normal">6.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn5 (crop–grass)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.015</oasis:entry>
         <oasis:entry colname="col4">0.06</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn6 (crop–wood)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:mn mathvariant="normal">6.80</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.035</oasis:entry>
         <oasis:entry colname="col4">0.25</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mn mathvariant="normal">3.68</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn7 (grass)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.015</oasis:entry>
         <oasis:entry colname="col4">0.25</oasis:entry>
         <oasis:entry colname="col5">0.127159</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn10 (savanna)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.50</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.015</oasis:entry>
         <oasis:entry colname="col4">0.3</oasis:entry>
         <oasis:entry colname="col5">0.157904</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn11 (deciduous forest)</oasis:entry>
         <oasis:entry colname="col2">0.2</oasis:entry>
         <oasis:entry colname="col3">0.1</oasis:entry>
         <oasis:entry colname="col4">0.3</oasis:entry>
         <oasis:entry colname="col5">0.1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn14 (evergreen forest)</oasis:entry>
         <oasis:entry colname="col2">0.2</oasis:entry>
         <oasis:entry colname="col3">0.1</oasis:entry>
         <oasis:entry colname="col4">0.3</oasis:entry>
         <oasis:entry colname="col5">0.11768</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn15 (mixed forest)</oasis:entry>
         <oasis:entry colname="col2">0.2</oasis:entry>
         <oasis:entry colname="col3">0.1</oasis:entry>
         <oasis:entry colname="col4">0.3</oasis:entry>
         <oasis:entry colname="col5">0.1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ovn16 (water)</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">0.001</oasis:entry>
         <oasis:entry colname="col4">0.01</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.00</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><table-wrap-foot><p id="d1e287"><inline-formula><mml:math id="M5" display="inline"><mml:msup><mml:mi/><mml:mo>∗</mml:mo></mml:msup></mml:math></inline-formula> MannN numbers are the Manning's roughness coefficients in CHANPARM.TBL;
xslope1 is the first number of the nine SLOPE_DATA (deep
drainage) in GENPARM.TBL; REFDK and REFKDT are saturated soil lateral
conductivity and the infiltration scaling parameter, respectively, in
GENPARM.TBL; ovn numbers are the Manning's roughness coefficients for different
land-use types.</p></table-wrap-foot></table-wrap>

      <p id="d1e1185">This study presents calibration results from PEST using  SVD-based
regularization mode to ensure numerical stability (Tonkin
and Doherty, 2005). We focus on calibrating 22 parameters (see Table 1 and
a detailed description in Sect. 3.3) using 96 observation points and 22 items of
prior information for the calibrated parameters. In each item of prior
information, a value equal to its default value provided by WRF-Hydro
v5.0 (or the log of its default value) is assigned for each adjustable
parameter, assuming that default values are the preferred values. All prior
information equations are assigned a weight of 1.0. We assigned five
different regularization groups to the prior information: Manning's
roughness coefficients specified by Strahler stream order in CHANPARM.TBL to
one group; the parameters in HYDRO.TBL (Manning's roughness coefficients for
overland flow as a function of vegetation types) to another group; and three
global parameters for Noah-MP –  deep drainage (SLOPE), the infiltration scaling parameter (REFKDT), and saturated soil lateral conductivity (REFDK) – in GENPARM.TBL
to the remaining three groups. The 96 observation points are given different
weights based on the inversed mean of their observed discharge during the
studied period (see the detailed description in Sect. 3.3 and  4.1). For
a detailed description of these settings see the PEST user manual (Doherty,
2016).</p>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Calibrated experiments</title>
      <p id="d1e1196">The primary objective of this study is to build a bridge for linking
parallel PEST and WRF-Hydro on the basis of HPC clusters and to explore the
computational benefits of this bridge. We do not attempt to extensively
assess each individual tool or address questions in each individual domain,
such as optimizing the objective functions in PEST or calibrating WRF-Hydro
for a long time period considering all the relevant parameters to achieve an
optimal parameter set. The calibration period thus is limited to only 3 d, which we believe is long enough to achieve our objective and to
understand WRF-Hydro's sensitivity to the calibrated parameters. We
calibrated WRF-Hydro using four USGS sites (referred to as Station 1,
Station 2, Station 3, and Station 4 hereafter), as shown in Fig. 1. (More
USGS sites could be included if one manually reallocated the stations that
were not properly assigned to the desired location on the channel network by
the GIS tool.) As shown by the lower left index map in Fig. 1, the study area
(the red box) only covers the lower part of the Upper Mississippi River Basin
(UMRB) and a portion of the Missouri River Basin (MORB). In order to prepare
observation datasets of streamflow contributed <italic>only</italic> from the drainage area
<italic>within</italic> the model domain, we identified inflows entering the model domain at three
different sites, namely sites 05411500, 06807000, and 06887500, as
indicated by the black solid triangles in the index map of Fig. 1. The
outflows of combined UMRB and MORB can be found at the three outlets,
namely sites 07010000, 07020500, and 07022000 (Stations 2, 3, and 4,
respectively, as shown by black solid circles in Fig. 1). These outlets are
located sequentially at the main Mississippi River after the confluence of
the Mississippi River and Missouri River. Thus, the observed streamflow
contributed by drainage area within the model domain can be calculated by
subtracting the sum of the discharge at the three sites (black triangles;
recognized as inflow) from the discharge at each of the three outlet sites
(black circles; recognized as outflow). The final derived observations of
streamflow (or adjusted streamflow observation data) from the drainage area
within this model domain are prepared for model calibration and validation. To
prove this concept, we validated the consistency of the sum of observed
drainage areas at inflow sites plus modeled drainage area with the overall
drainage area at the outlet. The drainage area (UMRB and MORB) at outlet
site 07010000 is <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.8</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M35" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>. The sum of drainage areas at three
inflow sites is about <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.4</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M37" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> (<inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.0</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">11</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.1</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.4</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">11</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M41" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> for site 05411500, 06807000, and 06887500, respectively) and the
modeled drainage area is <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:mn mathvariant="normal">0.36</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M43" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>; the total area is <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.76</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M45" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>. This indicates that the flows from the sum of three inflow sites and
the modeled result represent 98 % of the drainage area at outflow site
07010000. Therefore, the adjusted streamflow observation data are qualified
for model calibration. We then transfer the calibrated parameters to other
sub-basins in the study area to assess the transferability of the calibrated
parameters. Although many parameters, including spatially distributed
parameters and constant parameters in the lookup tables, affect the model
performance, we calibrate only the parameters in lookup tables and do not
consider the spatial variability of other parameters or their scaling
factors. On the other hand, we acknowledge that some studies calibrated a
single scaling factor (without considering<?pagebreak page3528?> its spatial variability, however)
of overland roughness coefficients (OVROUGHRTFAC) rather than the actual
value of each land type in the lookup table (e.g., Kerandi et al., 2018).
Although this approach reduces the number of calibrated parameters, it has
less flexibility because changing one factor will change all the parameters
that use the same proportion.</p>
      <p id="d1e1357">For the calibration exercises we conduct here, the retention depth factor
(RETDEPRTFAC) is fixed at 0.001. This value is reasonable because the
modeled discharge of our particular configuration (Sect. 2.2) using default
parameters is lower than observed discharge. Reducing this factor from 1 to
0.001 keeps less water in water ponds and more water on the surface so it
can contribute to river discharge. First, we calibrate 48 parameters based
on a 3 d simulation from 9 to 11 April 2013 (Table S1 in the Supplement). This calibration uses the estimation mode in PEST and
considers an equal weight for all four USGS stations. We calibrate Manning's
roughness coefficients for both channels and land-use types, SLOPE, the REFKDT, and REFDK. Manning's roughness coefficients control
the hydrograph shape and the timing of the peaks; the SLOPE, REFKDT, and
REFDK control the total water volume. Second, based on the knowledge we
learn from the 48-parameter calibration (see details in Sec. 4.1), for the
same 3 d period, we reduce the number of calibrated parameters from 48 to
22 according to the sensitiveness of the WRF-Hydro model to the adjustable
parameters. For example, during the calibration we find that Manning's
roughness coefficients for several land types barely change because these
land types (e.g., tundra, snow–ice) are not present in the study area. We
also learn that even though the calibrated WRF-Hydro parameters can generate
discharge results that closely resemble observations, the physical meaning
of several parameters is not appropriate because of the wide range of those
parameters that we set in the PEST control file. For example, the Manning's
roughness coefficient for stream order 1 (0.199) is calibrated smaller than
that for stream order 2 (0.218); the overland roughness coefficients for
evergreen needleleaf forest (0.043) and mixed forest (0.023) are calibrated
smaller than for cropland–woodland (0.046). Neither of these is true in the
real world. We therefore adjust the range of many parameters according to
the literature (Soong et al., 2012) to maintain their physical meanings
(Table 1). On the other hand, we find that by using the same absolute weight
for all four stations, the calibration helps three stations (Station 2, 3,
and 4) with large water volumes to generate more reasonable results than do
the default parameters; however, the calibrated results for Station 1, which has a
relatively small volume of water, are not always better than the<?pagebreak page3529?> discharge
that is modeled by using default parameters. Thus, we assign a higher weight
(9.0) for Station 1 than for the other three stations (1.0) according to the
inversed mean of observed discharge over these four stations in April 2013.
The ratio of the weights between Station 1 and the other three stations
stays similar even if the means are calculated based on different time
periods.</p>
</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Statistics</title>
      <p id="d1e1368">This study employs three statistical criteria: the Nash–Sutcliffe efficiency
(NSE; Nash and Sutcliffe, 1970; Moriasi et al., 2007), root mean square
error (RMSE), and Pearson correlation coefficient (PCC). RMSE and PCC
evaluate model performance in terms of bias and temporal variation. NSE
quantitatively describes the accuracy of modeled discharge compared with the
mean of the observed data. Equation (1) calculates the NSE with defined
variables:
            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M46" display="block"><mml:mrow><mml:mi mathvariant="normal">NSE</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:msubsup><mml:mi>Y</mml:mi><mml:mi>t</mml:mi><mml:mi mathvariant="normal">obs</mml:mi></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>Y</mml:mi><mml:mi>t</mml:mi><mml:mi mathvariant="normal">sim</mml:mi></mml:msubsup></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow><mml:mrow><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>n</mml:mi></mml:munderover><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msubsup><mml:mi>Y</mml:mi><mml:mi>t</mml:mi><mml:mi mathvariant="normal">obs</mml:mi></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mi>Y</mml:mi><mml:mi mathvariant="normal">mean</mml:mi><mml:mi mathvariant="normal">obs</mml:mi></mml:msubsup></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msubsup><mml:mi>Y</mml:mi><mml:mi>t</mml:mi><mml:mi mathvariant="normal">obs</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> is the <inline-formula><mml:math id="M48" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>th observed value from USGS sites for river discharge, <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msubsup><mml:mi>Y</mml:mi><mml:mi>t</mml:mi><mml:mi mathvariant="normal">sim</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>is the <inline-formula><mml:math id="M50" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>th simulated value from the WRF-Hydro
output, <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:msubsup><mml:mi>Y</mml:mi><mml:mi mathvariant="normal">mean</mml:mi><mml:mi mathvariant="normal">obs</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> is the temporal average of USGS observed discharge,
and <inline-formula><mml:math id="M52" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> is the total number of observation time points. An efficiency of 1
(NSE <inline-formula><mml:math id="M53" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1) corresponds to a perfect match between modeled discharge and
observed data. An efficiency of 0 (NSE <inline-formula><mml:math id="M54" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0) indicates that the model
predictions are as accurate as the mean of the observed data. An efficiency
below zero (NSE <inline-formula><mml:math id="M55" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 0) occurs when the model is worse than the
observed mean. Essentially, the closer the NSE is to 1, the more accurate
the model is.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Results</title>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>WRF-Hydro calibration and validation</title>
      <p id="d1e1555">Based on the knowledge we gained from the 48-parameter 3 d calibration, we
adjust the range of critical parameters in the PEST control file to maintain
their physical meanings. For example, we set the Manning's roughness coefficient
larger for stream order 1 than for stream order 2. We also adjust the
parameter range of the overland roughness coefficient for multiple land
covers, such as cropland and forests. We exclude the parameters that are not
sensitive to WRF-Hydro streamflow for this study in order to constrain the
problem size due to the limits of computational resources.
However, if one has an area of interest that is much larger with more land
types than the study area here, then there would be more parameters to
calibrate. Meanwhile, hundreds of constant parameters in the Noah-MP model
could affect the WRF-Hydro results (Cuntz et al., 2016) and can be calibrated
as well. Both these situations would increase the burden of WRF-Hydro
calibration. We perform the same 3 d calibration from 9 to 11 April
2013. Figure 2 shows the results of the 3 d modeled discharge using
default and calibrated parameters after five iterations, as well as observed
discharge. The four stations are calibrated by considering different
weights. While the model performance for Station 1 using the default and
calibrated parameters is similar, the calibration improves the model
performance over the drainage areas represented by Stations 2, 3, and 4
significantly. The modeled discharge using the default parameter
underestimates the streamflow by 24 %–33 %. PEST detects this
underestimation, immediately adjusts the parameters, and increases the
modeled discharge during the first iteration. After the third iteration, the
difference in calibrated results between different iterations is relatively
small. We allow PEST to conduct five iterations and use the parameters
obtained from the fifth iteration as our optimum parameters. As shown in
Table 2, when the optimum parameters are used, the modeled discharges are
much closer to the observations than the modeled results using default
parameters. The NSEs for the four stations increased from <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4.8</mml:mn></mml:mrow></mml:math></inline-formula> (Station 2),
<inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">18.8</mml:mn></mml:mrow></mml:math></inline-formula> (Station 3), and <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">57.0</mml:mn></mml:mrow></mml:math></inline-formula> (Station 4) to 0.75, <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.03</mml:mn></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.42</mml:mn></mml:mrow></mml:math></inline-formula>,
respectively, being closer to 1. It is noteworthy that although NSE values between 0.5 and 0.65 have
been suggested to indicate a model of sufficient
quality, we see much lower NSE values for Stations 3 and 4 with calibration results close to the observations. This may be because
the objective function used in PEST is the sum of squared weighted residuals
(SSWR), which is calculated differently from NSE. Thus even if SSWR reaches
a small value, the NSE might still be far from 0.5. Incorporating other
measures into the objective function of PEST may improve the robustness of
PEST calibrations. The RMSEs decreased from 902.2, 1001.3, and 1399.3 m<inline-formula><mml:math id="M61" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M62" 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> to 188.6, 228.7, and 219.1 m<inline-formula><mml:math id="M63" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M64" 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>, respectively.</p>

      <?xmltex \floatpos{p}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><label>Figure 2</label><caption><p id="d1e1653">Observed and modeled discharge
(m<inline-formula><mml:math id="M65" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M66" 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>) using default and calibrated parameters
during a 3 d calibration period (9–11 April 2013) over the four
stations indicated by the black circles in Fig. 1. The observed discharge
for Stations 2, 3, and 4 has been adjusted to exclude the inflows from the
catchments that are not covered by the current study area.</p></caption>
          <?xmltex \igopts{width=384.112205pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019-f02.png"/>

        </fig>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2" specific-use="star"><?xmltex \currentcnt{2}?><label>Table 2</label><caption><p id="d1e1686">Statistics of model performance using
optimum and default (in parentheses) parameters for Stations 1–4 during the
calibration and validation period.<inline-formula><mml:math id="M67" display="inline"><mml:msup><mml:mi/><mml:mo>∗</mml:mo></mml:msup></mml:math></inline-formula></p></caption><oasis:table frame="topbot"><oasis:tgroup cols="5">
     <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:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Statistics</oasis:entry>
         <oasis:entry colname="col2">Station 1</oasis:entry>
         <oasis:entry colname="col3">Station 2</oasis:entry>
         <oasis:entry colname="col4">Station 3</oasis:entry>
         <oasis:entry colname="col5">Station 4</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col5">Calibration </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">NSE</oasis:entry>
         <oasis:entry colname="col2">0.64 (0.73)</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M71" display="inline"><mml:mn mathvariant="bold">0.75</mml:mn></mml:math></inline-formula> <inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">4.8</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">0.03</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">18.8</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">0.42</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">57.0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">RMSE</oasis:entry>
         <oasis:entry colname="col2">79.8 (69.3)</oasis:entry>
         <oasis:entry colname="col3"><bold>188.6 (902.2)</bold></oasis:entry>
         <oasis:entry colname="col4"><bold>228.7 (1001.3)</bold></oasis:entry>
         <oasis:entry colname="col5"><bold>219.1 (1399.3)</bold></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">PCC</oasis:entry>
         <oasis:entry colname="col2"><bold>0.92 (0.91)</bold></oasis:entry>
         <oasis:entry colname="col3"><bold>0.91 (0.81)</bold></oasis:entry>
         <oasis:entry colname="col4"><bold>0.86 (0.40)</bold></oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M77" display="inline"><mml:mn mathvariant="bold">0.50</mml:mn></mml:math></inline-formula> <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">0.52</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col5">Validation </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">NSE</oasis:entry>
         <oasis:entry colname="col2"><bold>0.52 (0.41)</bold></oasis:entry>
         <oasis:entry colname="col3"><bold>0.17</bold><inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">0.62</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4"><bold>0.19</bold><inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">23.1</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5"><bold>0.09</bold><inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mo mathvariant="bold">-</mml:mo><mml:mn mathvariant="bold">0.76</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">RMSE</oasis:entry>
         <oasis:entry colname="col2"><bold>440.6 (487.3)</bold></oasis:entry>
         <oasis:entry colname="col3"><bold>2953.6 (4129.5)</bold></oasis:entry>
         <oasis:entry colname="col4"><bold>2827.6 (15 459.1)</bold></oasis:entry>
         <oasis:entry colname="col5"><bold>3222.6 (4480.4)</bold></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">PCC</oasis:entry>
         <oasis:entry colname="col2"><bold>0.9 (0.8)</bold></oasis:entry>
         <oasis:entry colname="col3"><bold>0.81 (0.70)</bold></oasis:entry>
         <oasis:entry colname="col4"><bold>0.78 (0.19)</bold></oasis:entry>
         <oasis:entry colname="col5"><bold>0.75 (0.65)</bold></oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><table-wrap-foot><p id="d1e1697"><inline-formula><mml:math id="M68" display="inline"><mml:msup><mml:mi/><mml:mo>∗</mml:mo></mml:msup></mml:math></inline-formula> The calibration is for 3 d (9–11 April) and includes 22 parameters. The validation period is 12–24 April. Bold typeface indicates
the calibrated model results are closer to observations compared with the
default model results. NSE and PCC are unitless (RMSE: m<inline-formula><mml:math id="M69" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M70" 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>).</p></table-wrap-foot></table-wrap>

      <?pagebreak page3531?><p id="d1e2030">During the validation period, compared with the modeled discharge using
default parameters, as shown in Table 2, the NSEs for all four stations are
increased to be closer to 1; RMSEs are significantly decreased, and the
correlation coefficients between the observed and modeled discharge are
increased from 0.8, 0.7, 0.19, and 0.65 to 0.9, 0.81, 0.78, and 0.75.
Compared with the results of calibration using the estimation mode (no
regularization) in PEST (not illustrated), the SVD-based regularization
generates a slightly better hydrograph shape with 1 d later discharge peaks
that are closer to the observations. However, as shown in Fig. 3, a problem remains with the
hydrograph shapes of the modeled discharge, especially with the modeled peak
discharge. For Station 1, WRF-Hydro almost captures the timing of the
peak discharge, but it still underestimates the discharge by
<inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">25</mml:mn></mml:mrow></mml:math></inline-formula> %. One of the reasons perhaps is that this study uses a
direct pass-through baseflow module, which does not account for slow
discharge and long-term storage of the baseflow. Therefore, the largest
contribution to river discharge is from precipitation, and groundwater does
not contribute much discharge to the channels in a long-term view, as is
also true for the other three large river stations. As a result, the
contribution from the baseflow to the river discharge in model simulations
does not stay as long as in real situations. In the observations, the river
discharge decreases from the peak at a speed of <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">500</mml:mn></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M84" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M85" 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> d<inline-formula><mml:math id="M86" 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>, while the modeled river discharge decreases from the
peak at a speed of <inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1667</mml:mn></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M88" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M89" 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> d<inline-formula><mml:math id="M90" 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>. Using
an exponential storage–discharge function for the baseflow may improve this
situation. Other reasons include the fact that the parameter range we set in the PEST
control file is perhaps not wide enough, as we can see from Table 1 that
several optimal parameters hit the bound of parameter ranges. Allowing wider
parameter ranges may improve the calibration results.</p>

      <?xmltex \floatpos{p}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><label>Figure 3</label><caption><p id="d1e2132">Observed and modeled discharge
(m<inline-formula><mml:math id="M91" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M92" 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>) during a validation period (12–24 April
2013) using optimum parameters identified from a 3 d calibration over the
four stations indicated by black circles in Fig. 1. As in Fig. 2, the
observed discharge for Stations 2, 3, and 4 has been adjusted.</p></caption>
          <?xmltex \igopts{width=355.659449pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019-f03.png"/>

        </fig>

      <p id="d1e2162">Alternatively, instead of calibrating the stations that have large drainage
areas and water coming from outside the current model domain, we have also
tested calibrating small flows at local stations that have relatively small
drainage areas covered by the current study area. This requires generating a
new high-resolution GIS data file to distribute the stations of interest. We
first run the WRF-Hydro model for 6 months using default parameters to spin
up the model, and then we calibrate the model based on observations of these
local stations. Results including figures and tables are shown in the Supplement. The calibration results are improved compared to the results
that use default parameters, although further improvements are still needed.
This again may be because the parameter range is not wide enough to
consider the possible values of parameters that work for these specific
areas represented at local stations, as we see many optimal parameters hit
the bound of the parameter range. More tests to figure out a better set of
parameters are needed for future investigation, which is beyond the scope of
this study.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Computational benefits of parallel PEST on HPCs</title>
      <p id="d1e2173">The ability to scale up the calibration of WRF-Hydro by using the parallel PEST
on HPC systems is determined by two factors: the scale-up capability of
parallel PEST and the scale-up capability of WRF-Hydro. In calibrating
WRF-Hydro, PEST first makes as many model runs as there are adjustable
parameters to calculate the Jacobian matrix (Doherty, 2016). The Jacobian matrix
has a column for each calibrated parameter and a row for each observation
and each item of prior information set in the PEST control file. These
model runs are independent between workers and can be easily parallelized.
Each worker runs the model with temporarily incremented parameters that are
defined in the template and control files. Then, PEST needs to make
additional model runs to test parameter updates. Different from calculating
the Jacobian matrix, these additional runs are performed by using different
Marquardt lambdas, and the search for a Marquardt lambda that achieves the
best set of parameters is a serial iterative process. The lambda to use for
the next run depends on the outcome of the model run conducted using the
previously chosen lambda. Although serial testing of Marquardt lambdas may
quickly find the optimal Marquardt lambda in the first or second series of
model runs, it is an inefficient use of computing resources because other
processors are idle while only one process is searching for the lambdas. This is
especially true when the model domain is large and requires extensive
computing resources. This study employs partial parallelization for the
lambda-testing procedure (Doherty, 2016), so multiple workers can be used to
calculate parameter upgrades based on a series of lambda values that are
related to each other by a factor of RLAMFAC set in the PEST control file.
We set the value of PARLAM to <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">9999</mml:mn></mml:mrow></mml:math></inline-formula> in the management file so only one cycle
of parallel WRF-Hydro runs is devoted to testing Marquardt lambdas. For
additional details on these parameters and their settings see the PEST user
manual (Doherty, 2016).</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T3" specific-use="star"><?xmltex \currentcnt{3}?><label>Table 3</label><caption><p id="d1e2189">Experiments designed to test the scale-up capability and
computational benefits of the HPC-enabled parallel PEST linked to
WRF-Hydro.<inline-formula><mml:math id="M94" display="inline"><mml:msup><mml:mi/><mml:mo>∗</mml:mo></mml:msup></mml:math></inline-formula></p></caption><oasis:table frame="topbot"><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">Test</oasis:entry>
         <oasis:entry colname="col2">No. of</oasis:entry>
         <oasis:entry colname="col3">No. of</oasis:entry>
         <oasis:entry colname="col4">No. of  nodes</oasis:entry>
         <oasis:entry colname="col5">Total computing</oasis:entry>
         <oasis:entry colname="col6">Total time</oasis:entry>
         <oasis:entry colname="col7">Time cost for</oasis:entry>
         <oasis:entry colname="col8">Time cost for</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">workers</oasis:entry>
         <oasis:entry colname="col3">lambdas</oasis:entry>
         <oasis:entry colname="col4">for each</oasis:entry>
         <oasis:entry colname="col5">resources (nodes)</oasis:entry>
         <oasis:entry colname="col6">cost (min)</oasis:entry>
         <oasis:entry colname="col7">calculating</oasis:entry>
         <oasis:entry colname="col8">testing parameter</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4">worker</oasis:entry>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6"/>
         <oasis:entry colname="col7">Jacobian matrix</oasis:entry>
         <oasis:entry colname="col8">upgrades</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Test 1</oasis:entry>
         <oasis:entry colname="col2">23</oasis:entry>
         <oasis:entry colname="col3">15</oasis:entry>
         <oasis:entry colname="col4">2</oasis:entry>
         <oasis:entry colname="col5">46</oasis:entry>
         <oasis:entry colname="col6">103</oasis:entry>
         <oasis:entry colname="col7">52</oasis:entry>
         <oasis:entry colname="col8">51</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Test 2</oasis:entry>
         <oasis:entry colname="col2">12</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4">2</oasis:entry>
         <oasis:entry colname="col5">24</oasis:entry>
         <oasis:entry colname="col6">150</oasis:entry>
         <oasis:entry colname="col7">102</oasis:entry>
         <oasis:entry colname="col8">48</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Test 3</oasis:entry>
         <oasis:entry colname="col2">6</oasis:entry>
         <oasis:entry colname="col3">5</oasis:entry>
         <oasis:entry colname="col4">2</oasis:entry>
         <oasis:entry colname="col5">12</oasis:entry>
         <oasis:entry colname="col6">264</oasis:entry>
         <oasis:entry colname="col7">211</oasis:entry>
         <oasis:entry colname="col8">53</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Test 4</oasis:entry>
         <oasis:entry colname="col2">6</oasis:entry>
         <oasis:entry colname="col3">5</oasis:entry>
         <oasis:entry colname="col4">4</oasis:entry>
         <oasis:entry colname="col5">24</oasis:entry>
         <oasis:entry colname="col6">131</oasis:entry>
         <oasis:entry colname="col7">107</oasis:entry>
         <oasis:entry colname="col8">24</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Test 5</oasis:entry>
         <oasis:entry colname="col2">6</oasis:entry>
         <oasis:entry colname="col3">5</oasis:entry>
         <oasis:entry colname="col4">6</oasis:entry>
         <oasis:entry colname="col5">36</oasis:entry>
         <oasis:entry colname="col6">86</oasis:entry>
         <oasis:entry colname="col7">70</oasis:entry>
         <oasis:entry colname="col8">16</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Test 6</oasis:entry>
         <oasis:entry colname="col2">6</oasis:entry>
         <oasis:entry colname="col3">5</oasis:entry>
         <oasis:entry colname="col4">8</oasis:entry>
         <oasis:entry colname="col5">48</oasis:entry>
         <oasis:entry colname="col6">60</oasis:entry>
         <oasis:entry colname="col7">48</oasis:entry>
         <oasis:entry colname="col8">12</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Extrap. 1</oasis:entry>
         <oasis:entry colname="col2">23</oasis:entry>
         <oasis:entry colname="col3">15</oasis:entry>
         <oasis:entry colname="col4">4</oasis:entry>
         <oasis:entry colname="col5">92</oasis:entry>
         <oasis:entry colname="col6">48</oasis:entry>
         <oasis:entry colname="col7">24</oasis:entry>
         <oasis:entry colname="col8">24</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Extrap. 2</oasis:entry>
         <oasis:entry colname="col2">23</oasis:entry>
         <oasis:entry colname="col3">15</oasis:entry>
         <oasis:entry colname="col4">6</oasis:entry>
         <oasis:entry colname="col5">138</oasis:entry>
         <oasis:entry colname="col6">32</oasis:entry>
         <oasis:entry colname="col7">16</oasis:entry>
         <oasis:entry colname="col8">16</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Extrap. 3</oasis:entry>
         <oasis:entry colname="col2">23</oasis:entry>
         <oasis:entry colname="col3">15</oasis:entry>
         <oasis:entry colname="col4">8</oasis:entry>
         <oasis:entry colname="col5">184</oasis:entry>
         <oasis:entry colname="col6">24</oasis:entry>
         <oasis:entry colname="col7">12</oasis:entry>
         <oasis:entry colname="col8">12</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Extrap. 4</oasis:entry>
         <oasis:entry colname="col2">12</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4">4</oasis:entry>
         <oasis:entry colname="col5">48</oasis:entry>
         <oasis:entry colname="col6">72</oasis:entry>
         <oasis:entry colname="col7">48</oasis:entry>
         <oasis:entry colname="col8">24</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Extrap. 5</oasis:entry>
         <oasis:entry colname="col2">12</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4">6</oasis:entry>
         <oasis:entry colname="col5">72</oasis:entry>
         <oasis:entry colname="col6">48</oasis:entry>
         <oasis:entry colname="col7">32</oasis:entry>
         <oasis:entry colname="col8">16</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Extrap. 6</oasis:entry>
         <oasis:entry colname="col2">12</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4">8</oasis:entry>
         <oasis:entry colname="col5">96</oasis:entry>
         <oasis:entry colname="col6">36</oasis:entry>
         <oasis:entry colname="col7">24</oasis:entry>
         <oasis:entry colname="col8">12</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table><table-wrap-foot><p id="d1e2200"><inline-formula><mml:math id="M95" display="inline"><mml:msup><mml:mi/><mml:mo>∗</mml:mo></mml:msup></mml:math></inline-formula> The tests were conducted on Edison at NERSC. Edison is a Cray XC30 with a peak performance of 2.57 petaflops per second. It has 5586 nodes, 24
cores per node, and <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">61</mml:mn></mml:mrow></mml:math></inline-formula> GB of physical memory per node.</p></table-wrap-foot></table-wrap>

      <?pagebreak page3533?><p id="d1e2665">In this study we test the computational performance of the HPC-enabled parallel
PEST using different numbers of workers (6, 12, and 23) for the 22-parameter
calibration. As shown in Table 3, we conducted six experiments: Test 1 uses
23 workers, Test 2 uses 12 workers, and Test 3 uses 6 workers. All three
tests use two nodes for each worker to run WRF-Hydro in parallel. The
maximum number of lambda-testing runs undertaken per iteration is set to 15,
10, and 5 for Tests 1, 2, and 3, respectively, to ensure that only one cycle
of WRF-Hydro runs is devoted (using 15, 10, and 5 workers from Tests 1, 2,
and 3, respectively) to testing Marquardt lambdas. Note that the maximum
number of lambda-testing runs should be set equal to or less than the number of
workers available. Otherwise, another cycle of WRF-Hydro runs needs to be
conducted. In fact, generating more Marquardt lambdas does not always
guarantee that the best Marquardt lambdas are generated. In contrast, it may
make the model convergence slower (here, PEST) or even lead to model failure.</p>
      <p id="d1e2669">In order to test the trade-offs between the computing nodes used for running
parallel WRF-Hydro and the workers used for running parallel PEST, Tests 4,
5, and 6 use the same number of workers (six) as Test 3 but use different
numbers of nodes for each worker to run WRF-Hydro in parallel. Explicitly,
Test 4 uses four nodes per worker, Test 5 uses six nodes per worker, and
Test 6 uses eight nodes per worker. The maximum number of lambda-testing
runs undertaken per iteration is set to five for Tests 4, 5, and 6. Note that
the time costs in Table 3 are limited to only one iteration. Conducting more
iterations will increase the cost of wall-clock time and computing resources
but will not change the conclusion for the scale-up capability and
computational benefits for the HPC-enabled parallel PEST linked to WRF-Hydro.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><label>Figure 4</label><caption><p id="d1e2674">Time cost for calculating the Jacobian matrix and total time
cost for one iteration for five experiments (see Table 3) using different
numbers of workers to conduct PEST <bold>(a, b)</bold> and different numbers of nodes for each worker <bold>(c, d)</bold> to conduct WRF-Hydro.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019-f04.png"/>

        </fig>

      <p id="d1e2689">PEST needs to run the WRF-Hydro model at least as many times as the number
of calibrated parameters (22 here). In fact, PEST runs the model 23 times in
the first iteration with initial parameter values and
for the first Jacobian matrix. From the second iteration, it runs the model
22 times to calculate the Jacobian matrix. Therefore, if there are fewer than 23
workers, the time cost for the first round of Jacobian matrix calculation
will increase accordingly. For example, as shown in Fig. 4a, when we assign
12 (and 6) workers to parallel PEST, the time cost for calculating the
Jacobian matrix is increased by a factor of 2 (and 4) compared with the time
cost when using 23 workers. The time cost for the parameter upgrade stays
similar for the three experiments because they all conducted only one cycle
of WRF-Hydro simulations to test the Marquardt lambdas. As a result, the
total time cost for Test 2 is <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> times more than that for
Test 1, and the total time cost for Test 3 is <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> times more
than that for Test 2 (Fig. 4b). By extrapolating the speedup curve shown in
Fig. 4a and b, we expect the total time cost to be <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">1516</mml:mn></mml:mrow></mml:math></inline-formula> min when using only one worker (or sequential mode), which is about
15 times slower compared with running PEST in parallel mode using 23
workers. For this particular study with 22 adjustable parameters, we expect
that the time cost will most likely stay the same, even if one increases the number
of workers to more than 23, because PEST runs WRF-Hydro only 23 or 22 times
for each iteration. Assigning more workers for this particular study would
most likely render some workers idle, which is not an efficient use of
computing resources. PEST may run WRF-Hydro more than 22 times (e.g., 44 times) if higher-order finite differences are employed; in this case,
assigning more workers (e.g., 45 workers) may further speed up the
calibration process. On the other hand, for the same case study as we
presented here and<?pagebreak page3534?> using the same number of nodes for running parallel
WRF-Hydro, we can estimate the computing speedup by assuming an increase in
the number of calibrated parameters to 50. This would be the case, for
example, to evaluate model sensitiveness to the physics in Noah-MP or the
spatial variabilities of certain parameters. We then expect to use 51
workers to calculate the Jacobian matrix in only one cycle. This would then
be 28–30 times faster than running PEST using one worker (or in sequential
mode). Similarly, if 100 parameters were used for the calibration for the
same case study, a factor of up to 60 speedup in the calibration process
would be achieved by running the HPC-enabled parallel PEST.</p>
      <p id="d1e2722">In addition, by increasing the number of nodes for each worker to conduct
WRF-Hydro (Tests 3, 4, 5, and 6), the time cost for the entire calibration
process is significantly reduced (Fig. 4c and d). Specifically,
WRF-Hydro scales up well when using four, six, and eight nodes, and thus both
the time spent on calculating the Jacobian matrix and the time spent on
testing the parameter upgrades are decreased by 49 %, 67 %, and 77 %,
respectively, when using four, six, and eight nodes compared with using two nodes. Therefore, the total
time spent is also decreased when using more nodes for each worker (see
Table 3). Moreover, if one has a larger study area, such as the entire
contiguous United States, we expect WRF-Hydro to have an even better
scale-up capability (e.g., on dozens of nodes) than in this study.</p>
      <p id="d1e2725">While the numbers in Table 3 and Fig. 4 are helpful to demonstrate the
scale-up capability of each component (PEST and WRF-Hydro), they do not
answer questions such as the following: if one has a certain number of nodes, how many
workers and how many nodes per worker should be used to achieve the highest
efficiency of the WRF-Hydro calibration using HPC-enabled PEST? On the other
hand, one may have unlimited computational resources but would like to
complete the calibration in a short time period. We present a scalability
analysis below to answer these questions. First, we generate more scenarios
using different numbers of workers and nodes per worker by extrapolating the
existing time and computing costs based on the experiments that have been conducted. These scenarios use 23 or 12 workers and four, six, or eight nodes per
worker, respectively. Since we have conducted simulations using the same
number of nodes per worker, the cost for these scenarios can be easily and
accurately predicted.</p>
      <?pagebreak page3535?><p id="d1e2729">As shown in Fig. 5, compared with Test 3 (which requires the fewest
computing resources – 12 nodes in total), having more workers (with the same
number of nodes for each worker, e.g., Tests 1 and 2) takes more time than
the ideal curve. The ideal curve assumes a linear speedup based on the time
cost of Test 3. However, using the same number of workers and increasing the
number of nodes for each worker (e.g., Tests 4, 5, and 6) can achieve the
ideal speedup. Even when using 12 workers, increasing the number of nodes
for each worker can still achieve a speedup close to the ideal curve (Extrap. 4, 5, and 6). Using
23 workers and increasing the number of nodes for each worker will not
achieve the ideal speedup (Extrap. 1, 2, and 3). Therefore, if one only has a certain number of
nodes available, we recommend using a relatively small number of workers but
a large number of nodes for each worker. For example, if one has 48 nodes,
then there are three options that can be considered: using 23 workers and two nodes
per worker; using 12 workers and four nodes per worker; and using 6 workers and eight nodes per
worker. Other partitions (<inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>; or <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:mn mathvariant="normal">8</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula>) between numbers of workers and nodes
per worker are not as efficient as above. These three options will cost 103,
72, and 60 min, respectively, to finish one iteration. Thus, using six workers
and eight nodes per worker is the most efficient way to spend the limited
computing resources. On the other hand, if one would like to conduct the
calibration in a short time period without any limits for the computing
resources, then using 23 workers and eight nodes (perhaps even more nodes
depending on the scale-up capability of WRF-Hydro) will finish one
iteration in <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">24</mml:mn></mml:mrow></mml:math></inline-formula> min.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><?xmltex \currentcnt{5}?><label>Figure 5</label><caption><p id="d1e2768">Total time cost and total computing resources needed for
each test and extrapolated scenario, which use different numbers of workers
and different numbers of nodes per worker. The dash line is an ideal curve,
which assumes a linear decrease in terms of time cost when more computing
resources are used, built on Test 3. All the circles are real costs for time
and computing resources for each test and extrapolated scenario. The red
text and filled circles indicate that those specific tests meet the ideal speedup
curve.</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019-f05.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Evaluation of spatial transferability of the calibrated parameters</title>
      <p id="d1e2785">To assess the transferability of the calibrated parameters, we apply the
optimum parameters obtained from the calibration for the four stations
(black circles) in Fig. 1 to another set of four stations (crosses in Fig. 1) in the study area. All four sites are located on relatively small rivers,
so the lag time between precipitation peak and discharge peak is much
shorter than that for Stations 2, 3, and 4. The assessment compares the observed discharge with the
closest grid cells from the discharge output of WRF-Hydro. Figure 6 shows
the observed and modeled discharge using the default and optimum parameters.
Overall, WRF-Hydro's default parameters underestimate the discharge and
misrepresent the timing of discharge peaks compared with observations over
the four assessed stations (Stations 5, 6, 7, and 8). By using the
calibrated parameters from other sites over the area, the model results
increase the discharge and shift the hydrograph shape so they are much
closer to the observations than model results using default parameters. The
absolute error of simulated discharge decreases by 13.1 %, 38.3 %, and
71.6 %, respectively, over Stations 6 through 8 (Station 5 shows a 6 %
increase in absolute error) compared with the default simulated discharge.
We also find that using SVD-based regularization for the PEST
calibration captures the timing of the discharge peak better than using the
estimation mode, which is 1 d earlier than the observations in reaching the
discharge peak.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><label>Figure 6</label><caption><p id="d1e2790">Observed and modeled daily averaged discharge
(m<inline-formula><mml:math id="M103" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> s<inline-formula><mml:math id="M104" 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>) over the four stations indicated by
the black crosses in Fig. 1 for 9–24 April using the default and optimum
parameters (shown in Table 1) identified by the 3 d calibration.</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/12/3523/2019/gmd-12-3523-2019-f06.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <label>5</label><title>Summary and discussion</title>
      <p id="d1e2830">WRF-Hydro is a new, and perhaps the first practical, computer code that can
run on HPC systems and model the entire hydrological cycle using
physics-based submodels and high-resolution input datasets (e.g., radar).
The hydrological community has desired this capability for decades, although
it requires intensive computing resources. Thus, the calibration of this
model would ideally be conducted on HPCs in parallel as well, especially
when the model covers a large domain rather than the basin scale. This study
ports an independent model calibration tool, parallel PEST, to HPC clusters
and links it to WRF-Hydro to help WRF-Hydro users calibrate the model within
a much shorter wall-clock time period. The bridge we build here (between
parallel PEST and WRF-Hydro on the basis of HPC systems) can be applied to
any other hydrological models and ESMs that use
parameterizations to represent model physics. We present the operational
feasibility of the HPC-enabled parallel PEST by evaluating<?pagebreak page3536?> the performance
of calibrated WRF-Hydro against observations in hydrograph features, such as the
volume and timing of flood events. We examine the scale-up capability and
computational benefits of the tool by assigning different computing resources
for PEST and for WRF-Hydro. While this study presents the optimum parameters
identified from the calibration of the particular flood event, the
parameters can be significantly different if one uses different physics,
such as an exponential storage–discharge function for a groundwater model or
reach-based channel routing. Our preliminary testing shows that using
exponential storage-discharge function with the default parameters provided
by WRF-Hydro, the modeled discharge was larger than that of observations for this particular study.
Thus, the calibration will need to adjust the parameters to reduce the
discharge. Our study finds that for calibrating 22 parameters, using the
same computing resources for running WRF-Hydro, the HPC-enabled PEST
calibration tool can speed up WRF-Hydro calibration by a factor of 15
compared with running PEST in sequential mode. The speedup factor can be
larger when there are more parameters to be calibrated.</p>
      <p id="d1e2833">The following are several key points that we would like to highlight and to
inform future studies.
<list list-type="order"><list-item>
      <p id="d1e2838">In this study, we consider using the prior or regularization information only for the parameters that we calibrate. As is the case with solving inverse problems, prior information is added to improve the smoothness of the solutions. In order to build a more comprehensive calibration, an important aspect that can be considered is to enrich the prior with available historical data (e.g., April and May from the past few years). Hence, the regularization objective function in PEST will constitute not only the discrepancies between parameters and their “current estimates” but also the discrepancies between WRF-Hydro simulations and preferred values (which is the observed time series of historical discharge). Additionally, one can use the pilot-points technique described by Doherty (2005) in conjunction with parameter estimation to add more flexibility to the calibration process. This will be potentially beneficial in improving the predictions.</p></list-item><list-item>
      <?pagebreak page3537?><p id="d1e2842">To focus on our main goal, we calibrate only the parameters in lookup tables. We acknowledge that using a single value to represent the physics for a large domain could be problematic, especially when we expect the HPC-enabled parallel PEST to execute with WRF-Hydro for large domains. This situation often needs parameter regionalization. For example, WRF-Hydro version 5.0 has many spatially distributed parameters available, such as OVROUGHRTFAC –  the overland flow roughness scaling factor, RETDEPRTFAC – the factor of maximum retention depth, and soil-related parameters (when compiled with SPATIAL_SOIL <inline-formula><mml:math id="M105" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1). Calibrating these spatial parameters based on the grid scale (e.g., catchments) rather than a single value will give the model more flexibility and may thus better fit the observations (Hundecha and Bardossy, 2004; Wagener and Wheater, 2006). In practice, for example, one can include regional OVROUGHRTFACs (e.g., their lower–upper bounds and default values) in the PEST control file based on catchments. However, the selection of the locations and sizes of catchments may introduce significant uncertainties to the calibration results, which require systematic and comprehensive investigation and understanding of the study area.</p></list-item><list-item>
      <p id="d1e2853">This study is limited to calibrating the observed streamflow only based on the format of one of the WRF-Hydro model outputs for individual stations (frxst_pts_out.txt). It is feasible, however, to calibrate other variables as long as the observation data are available. For example, one can either find the closest point from the gridded output (of WRF-Hydro) to the observation location and then compare that model grid to observations, or one can change the WRF-Hydro input–output code to output other variables in the frxst_pts_out.txt file, so they can still use the same interface we developed here to calibrate other variables in addition to the discharge.</p></list-item><list-item>
      <p id="d1e2857">The optimal parameter set obtained from this study is from the fifth iteration of parallel PEST by testing five Marquardt lambdas. Testing different numbers of lambdas or calibrating different numbers of parameters may generate a different set of optimal parameters. These parameter sets can all make physical sense and be equally good for reproducing observed discharges. This phenomenon is called equifinality (Beven and Freer, 2001; Savenije, 2001), which is an important source of model uncertainty. To reduce the model uncertainty by reducing the equifinality, hydrologists carry out additional modeling objectives for model evaluation to find more useful parameter sets (Mo and Beven, 2004; Gallart et al., 2007). Alternatively, inspired by no. 3 discussed above, one can calibrate the WRF-Hydro model based on more than one variable, such as discharge and soil moisture (or heat flux or water table depth), to reduce the number of optimal parameter sets and thus reduce the model uncertainty of predictions for these variables.</p></list-item><list-item>
      <p id="d1e2861">While this study ported the parallel PEST to an HPC system and linked it to WRF-Hydro, we note that BEOPEST is available in the PEST family. BEOPEST has the same functionality as parallel PEST but uses a different approach for communication between master and workers. Working with HPC-enabled BEOPEST may save total time cost since BEOPEST uses the Transmission Control Protocol and the Internet Protocol instead of message files (reading input and writing output between master and workers) for communication. We expect it to be relatively straightforward to use BEOPEST to calibrate WRF-Hydro on HPCs since the interface remains the same, except one needs to copy the template and instruction files in addition to the global files (see Sect. 3.1) into each working folder.</p></list-item></list></p>
</sec>

      
      </body>
    <back><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d1e2868">The observed river discharge is downloaded from the USGS Surface-Water Data
website, available at <uri>https://waterdata.usgs.gov/nwis/sw</uri> (last access: 26 January 2018). The
Stage IV precipitation data were downloaded from <uri>https://data.eol.ucar.edu/dataset/21.093</uri> (last access: 17 January 2018). PEST was downloaded from
<uri>http://www.pesthomepage.org/Downloads.php</uri> (last access: 1 May 2018). We use the Unix PEST
version 13.6. The scripts and files that are developed in this study and
required by PEST for calibrating WRF-Hydro are available at <ext-link xlink:href="https://doi.org/10.5281/zenodo.3247116" ext-link-type="DOI">10.5281/zenodo.3247116</ext-link> (Wang et al., 2019).</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e2883">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/gmd-12-3523-2019-supplement" xlink:title="pdf">https://doi.org/10.5194/gmd-12-3523-2019-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e2892">JW proposed the project and developed the study case in WRF and WRF-Hydro.
CW developed the scripts and code to port parallel PEST to DOE
supercomputers and adapt it to work with WRF-Hydro. VR provided important
input for the regularization calibration method. AO operated the ArcGIS tool
to delineate the high-resolution grid cells to include stream channel
network, open water, and groundwater and baseflow basins. EY provided important
input for hydrology during the revision of this paper. RK provided
high-level guidance and insight for the entire project. All authors
commented on this paper.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e2898">The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e2904">Computational
resources are provided by the DOE-supported National Energy Research
Scientific Computing Center, Argonne National Laboratory Computing Resource
Center, and Argonne Leadership Computing Facility. Our special thanks to the
PEST developers and the entire WRF-Hydro team, especially Kevin Sampson for his
guidance on the ArcGIS tool. We gratefully thank the two reviewers for their
valuable comments and suggestions, which tremendously improved this
paper.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e2909">This research has been supported by a Laboratory Directed
Research and Development (LDRD) Program at Argonne
National Laboratory through U.S. Department of Energy (DOE)
contract DE-AC02-06CH11357.</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <?pagebreak page3538?><p id="d1e2915">This paper was edited by Wolfgang Kurtz and reviewed by John Doherty and one anonymous referee.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>
Arnault, J., Wagner, S., Rummler, T., Fersch, B., Bliefernicht, J.,
Andresen, S., and Kunstmann, H.: Role of runoff–infiltration partitioning
and resolved overland flow on land–atmosphere feedbacks: A case study with
the WRF-Hydro coupled modeling system for West Africa, J. Hydrometeorol.,
17, 1489–1516, 2016.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>
Beven, K. and Freer, J.: Equifinality, data assimilation, and uncertainty
estimation in mechanistic modelling of complex environmental systems using
the GLUE methodology, J. Hydrol., 249, 11–29, 2001.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>
Campos, E. and Wang, J.: Numerical simulation and analysis of the April
2013 Chicago Floods, J. Hydrol., 531, 454–474, 2015.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>
Chen, F. and Dudhia, J.: Coupling an advanced land surface-hydrology model
with the Penn State-NCAR MM5 modeling system, Part I: Model implementation
and sensitivity, Mon. Weather Rev., 129, 569–585, 2001.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>Cuntz, M., Mai, J., Samaniego, L., Clark, M., Wulfmeyer, V., Branch, O.,
Attinger, S., and Thober, S.: The impact of standard and hard-coded
parameters on the hydrologic fluxes in the Noah-MP land surface model, J.
Geophys. Res.-Atmos., 121, 10676–10700, <ext-link xlink:href="https://doi.org/10.1002/2016JD025097" ext-link-type="DOI">10.1002/2016JD025097</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>
Doherty, J.: Ground water model calibration using pilot points and
regularization, Groundwater, 41, 170–177, 2005.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>
Doherty, J.: PEST: Model Independent Parameter Estimation, User Manual, 6th
ed., Watermark Numerical Computing, Brisbane, Queensland, Australia, 2016.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>
Gallart, F., Latron, J., Llorens, P., and Beven, K. J.: Using internal
catchment information to reduce the uncertainty of discharge and baseflow
predictions, Adv. Water Resour., 30, 808–823, 2007.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>Getirana, A. C. V.: Integrating spatial altimetry data into the automatic
calibration of hydrological models, J. Hydrol., 387, 244–255, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2010.04.013" ext-link-type="DOI">10.1016/j.jhydrol.2010.04.013</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>Gochis, D. J., Barlage, M., Dugger, A., FitzGerald, K., Karsten, L.,
McAllister, M., McCreight, J., Mills, J., RafieeiNasab, A., Read, L.,
Sampson, K., Yates, D., and Yu, W.: The WRF-Hydro modeling system technical
description, (Version 5.0). NCAR Technical Note. 107 pp., available at: <uri>https://ral.ucar.edu/projects/wrf_hydro/technical-description-user-guide</uri>, last access: 1 June 2018.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>
Hundecha, Y. and Bárdossy, A.: Modeling of the effect of land use
changes on the runoff generation of a river basin through parameter
regionalization of a watershed model, J. Hydrol., 292, 281–295, 2004.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>Kerandi, N., Arnault, J., Laux, P., Wagner, S., Kitheka, J., and Kunstmann,
H.: Joint atmospheric-terrestrial water balances for East Africa: A
WRF-Hydro case study for the upper Tana River basin, Theor. Appl. Climatol.,
131, 1337–1355, <ext-link xlink:href="https://doi.org/10.1007/s00704-017-2050-8" ext-link-type="DOI">10.1007/s00704-017-2050-8</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 1?><mixed-citation>
Lin, Y. and Mitchell, K. E.: The NCEP stage II/IV hourly precipitation
analyses: Development and applications, Preprints, 19th Conf. on Hydrology, 10 January 2005, San Diego, CA, USA, Amer. Meteor. Soc., 1.2., 2005.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 1?><mixed-citation>
Madsen, H.: Automatic calibration of a conceptual rainfall–runoff model
using multiple objectives, J. Hydrol., 235, 276–288, 2000.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><?label 1?><mixed-citation>
Mo, X. and Beven, K.: Multi-objective parameter conditioning of a
three-source wheat canopy model, Agr. Forest Meteorol.,
122, 39–63, 2004.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 1?><mixed-citation>
Moriasi, D. N., Arnold, J. G., Van Liew, M. W., Bingner, R. L., Harmel, R.
D., and Veith, T. L.: Model evaluation guidelines for systematic
quantification of accuracy in watershed simulations, T.
ASABE, 50, 885–900, 2007.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 1?><mixed-citation>Nash, J. E. and Sutcliffe, J. V.: River flow forecasting through conceptual
models, part I – A discussion of principles, J. Hydrol., 10, 282–290,
<ext-link xlink:href="https://doi.org/10.1016/0022-1694(70)90255-6" ext-link-type="DOI">10.1016/0022-1694(70)90255-6</ext-link>, 1970.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 1?><mixed-citation>Niu, G.-Y., Yang, Z.-L., Mitchell, K. E., Chen, F., Ek, M. B., Barlage, M.,
Kumar, A., Manning, K., Niyogi, D., Rosero, E., Tewari, M., and Xia, Y.: The
community Noah land surface model with multiparameterization options
(Noah-MP): 1. Model description and evaluation with local-scale
measurements, J. Geophys. Res., 116, D12109, <ext-link xlink:href="https://doi.org/10.1029/2010JD015139" ext-link-type="DOI">10.1029/2010JD015139</ext-link>,
2011.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 1?><mixed-citation>NWS (National Weather Service): Record river flooding of April 2013, available at:
<uri>https://www.weather.gov/ilx/apr2013flooding</uri>, last access: 2 May 2013.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 1?><mixed-citation>Prat, O. P. and Nelson, B. R.: Evaluation of precipitation estimates over CONUS derived from satellite, radar, and rain gauge data sets at daily to annual scales (2002–2012), Hydrol. Earth Syst. Sci., 19, 2037–2056, <ext-link xlink:href="https://doi.org/10.5194/hess-19-2037-2015" ext-link-type="DOI">10.5194/hess-19-2037-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 1?><mixed-citation>Sampson, K. and Gochis, D.: WRF Hydro GIS Pre-processing tools, Version 5.0
Documentation, NCAR Technical Note, 45 pp., available at: <uri>https://ral.ucar.edu/projects/wrf_hydro/pre-processing-tools</uri> (last access: 17 January 2017), 2018.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 1?><mixed-citation>Sapiano, M. R. P. and Arkin, P.A.: An intercomparison and validation of
high-resolution satellite precipitation estimates with 3-hourly gauge data,
J. Hydrometeor., 10, 149–166, <ext-link xlink:href="https://doi.org/10.1175/2008JHM1052.1" ext-link-type="DOI">10.1175/2008JHM1052.1</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 1?><mixed-citation>
Savenije, H. H. G.: Equifinality, a blessing in disguise?, Hydrol. Process.,
15, 2835–2838, 2001.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 1?><mixed-citation>Senatore, A., Mendicino, G., Gochis, D. J., Yu, W., Yates, D. N., and
Kunstmann, H.: Fully coupled atmosphere-hydrology simulations for the
central Mediterranean: Impact of enhanced hydrological parameterization for
short and long time scales, J. Adv. Model. Earth Sy., 7, 1693–1715,
<ext-link xlink:href="https://doi.org/10.1002/2015MS000510" ext-link-type="DOI">10.1002/2015MS000510</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 1?><mixed-citation>
Soong, D. T., Prater, C. D., Halfar, T. M., and Wobig, L. A.: Manning's
roughness coefficients for Illinois streams, U.S. Geological Survey Data
Series 668, U.S. Geological Survey, Reston, Virginia, USA, 2012.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 1?><mixed-citation>Tonkin, M. J. and Doherty, J.: A hybrid regularized inversion methodology
for highly parameterized environmental models, Water Resour. Res., 41,
W10412, <ext-link xlink:href="https://doi.org/10.1029/2005WR003995" ext-link-type="DOI">10.1029/2005WR003995</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 1?><mixed-citation>
Wagener, T. and Wheater, H. S.: Parameter estimation and regionalization
for continuous rainfall-runoff models including uncertainty, J. Hydrol.,
320, 132–154, 2006.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 1?><mixed-citation>Wang, J., Wang, C., Orr, A., and Kotamarthi, R.: A parallel workflow implementation for PEST version 13.6 in high-performance computing for WRF-Hydro version 5.0: a case study over the Midwestern United States, Zenodo, <ext-link xlink:href="https://doi.org/10.5281/zenodo.3247116" ext-link-type="DOI">10.5281/zenodo.3247116</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 1?><mixed-citation>Xia, Y., Mitchell, K., Ek, M., Sheffield, J., Cosgrove, B., Wood, E., Luo,
L., Alonge, C., Wei, H., Meng, J., Livneh, B.<?pagebreak page3539?>, Lettenmaier, D., Koren, V.,
Duan, Q., Mo, K., Fan, Y., and Mocko, D.: Continental-scale water and energy
flux analysis and validation for the North American Land Data Assimilation
System project phase 2 (NLDAS-2), 1: Intercomparison and application of
model products, J. Geophys. Res., 117, D03109, <ext-link xlink:href="https://doi.org/10.1029/2011JD016048" ext-link-type="DOI">10.1029/2011JD016048</ext-link>,
2012a.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 1?><mixed-citation>Xia, Y., Mitchell, K., Ek, M., Cosgrove, B., Sheffield, J., Luo, L., Alonge,
C., Wei, H., Meng, J., Livneh, B., Duan, Q., and Lohmann, D.:
Continental-scale water and energy flux analysis and validation for the
North American Land Data Assimilation System project phase 2 (NLDAS-2). 2. Validation of model-simulated streamflow, J. Geophys. Res., 117, D03110,
<ext-link xlink:href="https://doi.org/10.1029/2011JD016051" ext-link-type="DOI">10.1029/2011JD016051</ext-link>, 2012b.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib31"><label>31</label><?label 1?><mixed-citation>
Yucel, I., Onen, A. Yilmaz, K. K., and Gochis, D. J.: Calibration and
evaluation of a flood forecasting system: Utility of numerical weather
prediction model, data assimilation and satellite-based rainfall, J.
Hydrol., 523, 49–66, 2015.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>A parallel workflow implementation for PEST version 13.6 in high-performance computing for WRF-Hydro version 5.0: a case study over the midwestern United States</article-title-html>
<abstract-html><p>The Weather Research and Forecasting Hydrological
(WRF-Hydro) system is a state-of-the-art numerical model that models the
entire hydrological cycle based on physical principles. As with other
hydrological models, WRF-Hydro parameterizes many physical processes. Hence,
WRF-Hydro needs to be calibrated to optimize its output with respect to
observations for the application region. When applied to a relatively large
domain, both WRF-Hydro simulations and calibrations require intensive
computing resources and are best performed on multimode, multicore
high-performance computing (HPC) systems. Typically, each physics-based
model requires a calibration process that works specifically with that model
and is not transferrable to a different process or model. The parameter
estimation tool (PEST) is a flexible and generic calibration tool that can
be used in principle to calibrate any of these models. In its existing
configuration, however, PEST is not designed to work on the current
generation of massively parallel HPC clusters. To address this issue, we
ported the parallel PEST to HPCs and adapted it to work with WRF-Hydro. The
porting involved writing scripts to modify the workflow for different
workload managers and job schedulers, as well as to connect
the parallel PEST to WRF-Hydro. To test the operational feasibility and the
computational benefits of this first-of-its-kind HPC-enabled parallel PEST,
we developed a case study using a flood in the midwestern United States in
2013. Results on a problem involving the calibration of 22 parameters show that
on the same computing resources used for parallel WRF-Hydro, the HPC-enabled
parallel PEST can speed up the calibration process by a factor of up to 15
compared with commonly used PEST in sequential mode. The speedup factor is
expected to be greater with a larger calibration problem (e.g., more
parameters to be calibrated or a larger size of study area).</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Arnault, J., Wagner, S., Rummler, T., Fersch, B., Bliefernicht, J.,
Andresen, S., and Kunstmann, H.: Role of runoff–infiltration partitioning
and resolved overland flow on land–atmosphere feedbacks: A case study with
the WRF-Hydro coupled modeling system for West Africa, J. Hydrometeorol.,
17, 1489–1516, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Beven, K. and Freer, J.: Equifinality, data assimilation, and uncertainty
estimation in mechanistic modelling of complex environmental systems using
the GLUE methodology, J. Hydrol., 249, 11–29, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Campos, E. and Wang, J.: Numerical simulation and analysis of the April
2013 Chicago Floods, J. Hydrol., 531, 454–474, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Chen, F. and Dudhia, J.: Coupling an advanced land surface-hydrology model
with the Penn State-NCAR MM5 modeling system, Part I: Model implementation
and sensitivity, Mon. Weather Rev., 129, 569–585, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Cuntz, M., Mai, J., Samaniego, L., Clark, M., Wulfmeyer, V., Branch, O.,
Attinger, S., and Thober, S.: The impact of standard and hard-coded
parameters on the hydrologic fluxes in the Noah-MP land surface model, J.
Geophys. Res.-Atmos., 121, 10676–10700, <a href="https://doi.org/10.1002/2016JD025097" target="_blank">https://doi.org/10.1002/2016JD025097</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Doherty, J.: Ground water model calibration using pilot points and
regularization, Groundwater, 41, 170–177, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Doherty, J.: PEST: Model Independent Parameter Estimation, User Manual, 6th
ed., Watermark Numerical Computing, Brisbane, Queensland, Australia, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Gallart, F., Latron, J., Llorens, P., and Beven, K. J.: Using internal
catchment information to reduce the uncertainty of discharge and baseflow
predictions, Adv. Water Resour., 30, 808–823, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Getirana, A. C. V.: Integrating spatial altimetry data into the automatic
calibration of hydrological models, J. Hydrol., 387, 244–255, <a href="https://doi.org/10.1016/j.jhydrol.2010.04.013" target="_blank">https://doi.org/10.1016/j.jhydrol.2010.04.013</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Gochis, D. J., Barlage, M., Dugger, A., FitzGerald, K., Karsten, L.,
McAllister, M., McCreight, J., Mills, J., RafieeiNasab, A., Read, L.,
Sampson, K., Yates, D., and Yu, W.: The WRF-Hydro modeling system technical
description, (Version 5.0). NCAR Technical Note. 107 pp., available at: <a href="https://ral.ucar.edu/projects/wrf_hydro/technical-description-user-guide" target="_blank">https://ral.ucar.edu/projects/wrf_hydro/technical-description-user-guide</a>, last access: 1 June 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Hundecha, Y. and Bárdossy, A.: Modeling of the effect of land use
changes on the runoff generation of a river basin through parameter
regionalization of a watershed model, J. Hydrol., 292, 281–295, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Kerandi, N., Arnault, J., Laux, P., Wagner, S., Kitheka, J., and Kunstmann,
H.: Joint atmospheric-terrestrial water balances for East Africa: A
WRF-Hydro case study for the upper Tana River basin, Theor. Appl. Climatol.,
131, 1337–1355, <a href="https://doi.org/10.1007/s00704-017-2050-8" target="_blank">https://doi.org/10.1007/s00704-017-2050-8</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Lin, Y. and Mitchell, K. E.: The NCEP stage II/IV hourly precipitation
analyses: Development and applications, Preprints, 19th Conf. on Hydrology, 10 January 2005, San Diego, CA, USA, Amer. Meteor. Soc., 1.2., 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Madsen, H.: Automatic calibration of a conceptual rainfall–runoff model
using multiple objectives, J. Hydrol., 235, 276–288, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Mo, X. and Beven, K.: Multi-objective parameter conditioning of a
three-source wheat canopy model, Agr. Forest Meteorol.,
122, 39–63, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Moriasi, D. N., Arnold, J. G., Van Liew, M. W., Bingner, R. L., Harmel, R.
D., and Veith, T. L.: Model evaluation guidelines for systematic
quantification of accuracy in watershed simulations, T.
ASABE, 50, 885–900, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Nash, J. E. and Sutcliffe, J. V.: River flow forecasting through conceptual
models, part I – A discussion of principles, J. Hydrol., 10, 282–290,
<a href="https://doi.org/10.1016/0022-1694(70)90255-6" target="_blank">https://doi.org/10.1016/0022-1694(70)90255-6</a>, 1970.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Niu, G.-Y., Yang, Z.-L., Mitchell, K. E., Chen, F., Ek, M. B., Barlage, M.,
Kumar, A., Manning, K., Niyogi, D., Rosero, E., Tewari, M., and Xia, Y.: The
community Noah land surface model with multiparameterization options
(Noah-MP): 1. Model description and evaluation with local-scale
measurements, J. Geophys. Res., 116, D12109, <a href="https://doi.org/10.1029/2010JD015139" target="_blank">https://doi.org/10.1029/2010JD015139</a>,
2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
NWS (National Weather Service): Record river flooding of April 2013, available at:
<a href="https://www.weather.gov/ilx/apr2013flooding" target="_blank">https://www.weather.gov/ilx/apr2013flooding</a>, last access: 2 May 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Prat, O. P. and Nelson, B. R.: Evaluation of precipitation estimates over CONUS derived from satellite, radar, and rain gauge data sets at daily to annual scales (2002–2012), Hydrol. Earth Syst. Sci., 19, 2037–2056, <a href="https://doi.org/10.5194/hess-19-2037-2015" target="_blank">https://doi.org/10.5194/hess-19-2037-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Sampson, K. and Gochis, D.: WRF Hydro GIS Pre-processing tools, Version 5.0
Documentation, NCAR Technical Note, 45 pp., available at: <a href="https://ral.ucar.edu/projects/wrf_hydro/pre-processing-tools" target="_blank">https://ral.ucar.edu/projects/wrf_hydro/pre-processing-tools</a> (last access: 17 January 2017), 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Sapiano, M. R. P. and Arkin, P.A.: An intercomparison and validation of
high-resolution satellite precipitation estimates with 3-hourly gauge data,
J. Hydrometeor., 10, 149–166, <a href="https://doi.org/10.1175/2008JHM1052.1" target="_blank">https://doi.org/10.1175/2008JHM1052.1</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Savenije, H. H. G.: Equifinality, a blessing in disguise?, Hydrol. Process.,
15, 2835–2838, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Senatore, A., Mendicino, G., Gochis, D. J., Yu, W., Yates, D. N., and
Kunstmann, H.: Fully coupled atmosphere-hydrology simulations for the
central Mediterranean: Impact of enhanced hydrological parameterization for
short and long time scales, J. Adv. Model. Earth Sy., 7, 1693–1715,
<a href="https://doi.org/10.1002/2015MS000510" target="_blank">https://doi.org/10.1002/2015MS000510</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Soong, D. T., Prater, C. D., Halfar, T. M., and Wobig, L. A.: Manning's
roughness coefficients for Illinois streams, U.S. Geological Survey Data
Series 668, U.S. Geological Survey, Reston, Virginia, USA, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Tonkin, M. J. and Doherty, J.: A hybrid regularized inversion methodology
for highly parameterized environmental models, Water Resour. Res., 41,
W10412, <a href="https://doi.org/10.1029/2005WR003995" target="_blank">https://doi.org/10.1029/2005WR003995</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Wagener, T. and Wheater, H. S.: Parameter estimation and regionalization
for continuous rainfall-runoff models including uncertainty, J. Hydrol.,
320, 132–154, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
Wang, J., Wang, C., Orr, A., and Kotamarthi, R.: A parallel workflow implementation for PEST version 13.6 in high-performance computing for WRF-Hydro version 5.0: a case study over the Midwestern United States, Zenodo, <a href="https://doi.org/10.5281/zenodo.3247116" target="_blank">https://doi.org/10.5281/zenodo.3247116</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Xia, Y., Mitchell, K., Ek, M., Sheffield, J., Cosgrove, B., Wood, E., Luo,
L., Alonge, C., Wei, H., Meng, J., Livneh, B., Lettenmaier, D., Koren, V.,
Duan, Q., Mo, K., Fan, Y., and Mocko, D.: Continental-scale water and energy
flux analysis and validation for the North American Land Data Assimilation
System project phase 2 (NLDAS-2), 1: Intercomparison and application of
model products, J. Geophys. Res., 117, D03109, <a href="https://doi.org/10.1029/2011JD016048" target="_blank">https://doi.org/10.1029/2011JD016048</a>,
2012a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
Xia, Y., Mitchell, K., Ek, M., Cosgrove, B., Sheffield, J., Luo, L., Alonge,
C., Wei, H., Meng, J., Livneh, B., Duan, Q., and Lohmann, D.:
Continental-scale water and energy flux analysis and validation for the
North American Land Data Assimilation System project phase 2 (NLDAS-2). 2. Validation of model-simulated streamflow, J. Geophys. Res., 117, D03110,
<a href="https://doi.org/10.1029/2011JD016051" target="_blank">https://doi.org/10.1029/2011JD016051</a>, 2012b.

</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Yucel, I., Onen, A. Yilmaz, K. K., and Gochis, D. J.: Calibration and
evaluation of a flood forecasting system: Utility of numerical weather
prediction model, data assimilation and satellite-based rainfall, J.
Hydrol., 523, 49–66, 2015.
</mixed-citation></ref-html>--></article>
