<?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-13-565-2020</article-id><title-group><article-title>glmGUI v1.0: an R-based graphical user interface and toolbox<?xmltex \hack{\break}?> for GLM
(General Lake Model) simulations</article-title><alt-title>glmGUI v1.0</alt-title>
      </title-group><?xmltex \runningtitle{glmGUI v1.0}?><?xmltex \runningauthor{T. Bueche et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1 aff2">
          <name><surname>Bueche</surname><given-names>Thomas</given-names></name>
          <email>tbueche@web.de</email>
        <ext-link>https://orcid.org/0000-0002-9588-398X</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Wenk</surname><given-names>Marko</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Poschlod</surname><given-names>Benjamin</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-0247-2514</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff4">
          <name><surname>Giadrossich</surname><given-names>Filippo</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-7546-1632</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff4">
          <name><surname>Pirastru</surname><given-names>Mario</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff5">
          <name><surname>Vetter</surname><given-names>Mark</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-1849-2034</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Department of Geography, Ludwig Maximilian University of Munich, Munich, Germany</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>WipflerPLAN Planungsgesellschaft mbH, Pfaffenhofen an der Ilm, Germany</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Independent researcher: Stuttgart, Germany</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>Dipartimento di Agraria, University of Sassari,  Sassari, Italy</institution>
        </aff>
        <aff id="aff5"><label>5</label><institution>Faculty of Plastics Engineering and Surveying, University of Applied
Sciences Würzburg-Schweinfurt, Würzburg, Germany</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Thomas Bueche (tbueche@web.de)</corresp></author-notes><pub-date><day>13</day><month>February</month><year>2020</year></pub-date>
      
      <volume>13</volume>
      <issue>2</issue>
      <fpage>565</fpage><lpage>580</lpage>
      <history>
        <date date-type="received"><day>8</day><month>December</month><year>2018</year></date>
           <date date-type="rev-request"><day>4</day><month>February</month><year>2019</year></date>
           <date date-type="rev-recd"><day>27</day><month>November</month><year>2019</year></date>
           <date date-type="accepted"><day>5</day><month>December</month><year>2019</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2020 Thomas Bueche et al.</copyright-statement>
        <copyright-year>2020</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/13/565/2020/gmd-13-565-2020.html">This article is available from https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e155">Numerical modeling provides an opportunity to quantify
the reaction of lakes to alterations in their environment, such as changes
in climate or hydrological conditions. The one-dimensional hydrodynamic
General Lake Model (GLM) is an open-source software and widely used within
the limnological research community. Nevertheless, no interface to
process the input data and run the model and no tools for an automatic
parameter calibration yet exist. Hence, we developed <italic>glmGUI</italic>, a graphical user
interface (GUI) including a toolbox for an autocalibration, parameter
sensitivity analysis, and several plot options. The tool is provided as a
package for the freely available scientific code language R. The model
parameters can be analyzed and calibrated for the simulation output
variables water temperature and lake level.</p>
    <p id="d1e161">The <italic>glmGUI</italic> package is tested for two sites (lake Ammersee, Germany, and lake
Baratz, Italy), distinguishing size, mixing regime, hydrology of the
catchment area (i.e., the number of inflows and their runoff seasonality),
and climatic conditions. A robust simulation of water temperature for both
lakes (Ammersee: RMSE <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.17</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M2" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C; Baratz: RMSE
<inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.30</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M4" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C) is achieved by a quick automatic calibration. The
quality of a water temperature simulation can be assessed immediately by
means of a difference plot provided by <italic>glmGUI</italic>, which displays the distribution of
the spatial (vertical) and temporal deviations. The calibration of the lake-level simulations of lake Ammersee for multiple hydrological inputs
including also unknown inflows yielded a satisfactory model fit (RMSE <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.20</mml:mn></mml:mrow></mml:math></inline-formula> m). This shows that GLM can also be used to estimate the water balance
of lakes correctly. The tools provided by <italic>glmGUI</italic> enable a less time-consuming and
simplified parameter optimization within the calibration process. Due to
this, i.e., the free availability and the implementation in a GUI, the presented R
package expands the application of GLM to a broader field of lake modeling
research and even beyond limnological experts.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e231">Because lakes respond to changes in their environment they are often considered
to be “sentinels of change” (Williamson et al., 2009;
Hipsey et al., 2019). The investigation
of alterations in the physical conditions of lakes, such as water
temperature, stratification, water balance, mixing behavior, or ice cover,
has a key role in the understanding of the lake dynamics. Numerical modeling
provides an opportunity for research beyond the analysis of observational
monitoring data (Frassl et al., 2016), enabling
simulations of periods without in situ data as well as future conditions of
lakes.</p>
      <p id="d1e234">The development and application of community-based models is of increasing
importance in order to find solutions for the future challenges to simulate
water body conditions under environmental alterations (e.g., climatic, land
use, and agricultural policies; Bruce et al., 2018). The one-dimensional
hydrodynamic General Lake Model (GLM) has been developed, under the
leadership of members of the Global Lake Ecological Observatory Network
(GLEON, <uri>https://gleon.org</uri>, last access: 30 January 2020;  Hanson et al.,<?pagebreak page566?> 2016), in response to the need of a
robust model of lake dynamics (Hipsey et
al., 2019), which is applicable for the vast diversity of lakes and
reservoirs around the globe. GLM is able to simulate the thermal dynamics of
lakes in their temporal and spatial (vertical) characteristics. The model
code is open source and applied in numerous studies to a broad variety of
different lakes and research questions (e.g., Bueche et al., 2017; Bucak
et al., 2018; Bruce et al., 2018; Fenocchi et al., 2017, 2018, 2019; Robertson et al.,
2018; Ladwig et al., 2018; Mi et al., 2018). Carey and Gougis (2017) present the usage of GLM
beyond the research application by incorporating it into a teaching tool for
students.</p>
      <p id="d1e240">A powerful toolbox for automatic calibration, validation, and statistical sensitivity analysis is not yet existent, although GLM is often used in the research community. Therefore, we developed an R-based graphical user interface (GUI)
implemented in the new R package <italic>glmGUI</italic>, combining an easy handling of GLM
simulations, a tool to automate the calibration process, and visualization
options for the input and output data. In general, the maxim of our project
was inspired by four aspects:
<list list-type="bullet"><list-item>
      <p id="d1e248">provision of an open-source tool;</p></list-item><list-item>
      <p id="d1e252">provision of a user-friendly tool, which could be used by experts as well as
less experienced modelers and limnologists;</p></list-item><list-item>
      <p id="d1e256">using scripts to adapt the tool, with high acceptance and contribution in
the scientific community; and</p></list-item><list-item>
      <p id="d1e260">flexibility for the implementation of different calibration parameters and
for the numerical and graphical interpretation of the output results.</p></list-item></list>
The R language (<uri>https://www.r-project.org</uri>, last access: 30 January 2020) was chosen because
it is open source, flexible, and an independent platform (Snortheim et
al., 2017). Moreover, the lake modeler community already uses R-based
packages, i.e., <italic>glmtools </italic>for parameterization or plotting model output (<uri>https://github.com/USGS-R/glmtools</uri>, last access: 30 January 2020) and <italic>rLakeAnalyzer</italic> for postprocessing and
evaluation of the model results (Winslow et al., 2016, <uri>https://github.com/GLEON/rLakeAnalyzer</uri>, last access: 30 January 2020).</p>
      <p id="d1e280">Changes in the water level of a lake can have strong influences on
hydrodynamics, such as thermocline depth and stratification stability and
duration, and they can also affect lake water quality (Robertson et
al., 2018). The appropriate water level reproduction by lake models is
essential for a robust simulation of spatial features of thermal dynamics in
lakes, especially in shallow lakes with high variations in water stages.
Furthermore, an accurate simulation of the lake level ensures the correct
representation of hydrological interaction of the lake with its environment
in the catchment area. Hence, in addition to the model output water
temperature, the lake level is included to be calibrated in the provided
automated calibration tool.</p>
      <p id="d1e284">In this contribution we present the options included in <italic>glmGUI</italic>, and we show the
application for two different sites, namely the pre-alpine deep lake Ammersee, southern Germany, and the shallow, Mediterranean lake Baratz,
Sardinia, Italy. The objectives of these two case studies are the
calibration of the water temperature and lake-level simulations of GLM using
the automatic calibration tool.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Lake model, software description, and toolbox options</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>The hydrodynamic lake model</title>
      <p id="d1e305">GLM is a one-dimensional hydrodynamic model simulating the vertical
profiles of temperature, salinity, and density at one spatial point in a
lake over time (Frassl et al., 2016; Robertson et al., 2018). It applies
the Lagrangian layer structure adapting the thickness and volume of layers
with uniform properties from each simulation step (Bueche et al.,
2017). The underlying equations and hydrodynamics closures are documented in
Hipsey et al. (2014, 2017).
The hydrodynamic model can also easily be coupled with the Aquatic
Ecodynamics library (AED2) to simulate water quality simulations (Weber
et al., 2017; Bruce et al., 2018).</p>
      <p id="d1e308">GLM simulations are based on parameterizations of mixing processes, surface
dynamics, and the effect of inflows and outflows. The model performance for
simulating the lake thermal dynamics as well as the water balance can be
improved by a calibration of lake-specific parameters. The model
documentation of  Hipsey et al. (2017) includes also a
description of the lake-specific parameters and the default values for GLM
simulations. The model requires meteorological and hydrological input data
(see Table A1 in  Appendix A). Field data of water temperature
should be available in a suitable temporal and spatial (several depths)
resolution to enable a reliable calibration process.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><?xmltex \opttitle{R package \textit{glmGUI}}?><title>R package <italic>glmGUI</italic></title>
      <p id="d1e322">The R package <italic>glmGUI</italic> written by the authors interacts with the functionality of
GLM. It provides two basic application functions – the logical elements of
model-fit criteria calculations and graphical user interfaces for data
visualization. The package requires a software version of R of <inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">3.4</mml:mn></mml:mrow></mml:math></inline-formula>
and the version of <italic>rLakeAnalyzer</italic> <inline-formula><mml:math id="M7" display="inline"><mml:mrow><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">1.8.3</mml:mn></mml:mrow></mml:math></inline-formula>. All required R packages are automatically
installed during the first installation of <italic>glmGUI</italic>.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Graphical user interface</title>
      <p id="d1e362">The graphical user interface is constructed as a window-based design using
functions of the R package <italic>gWidgets</italic> (Verzani, 2014), which provides several
toolkits for<?pagebreak page567?> producing user interfaces by creating, for example, labels, buttons,
containers, or drop lists. The GUI is organized in a main menu with five
sections. Submenus and result messages are opened in separate windows
(Fig. 1).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><label>Figure 1</label><caption><p id="d1e370">Window-based structure of <italic>glmGUI</italic> with examples of the submenu
“Calculate SI-value” and of the result message “Temperature RMSE” created
after a model run.</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f01.png"/>

        </fig>

<sec id="Ch1.S2.SS3.SSS1">
  <label>2.3.1</label><title>Data preprocessing and model efficiency</title>
      <p id="d1e389">The GUI enables either the usage of an existing simulation control file of
GLM (glm2.nml) from a selectable workspace (Sect. 1,
Fig. 1) or the creation of a new control file
using the function nml_template_path  of the
R package <italic>GLMr</italic> (<uri>https://github.com/GLEON/GLMr</uri>, last access: 30 January 2020). The lake-specific
parameters and settings are in accordance with the deposited file of <italic>GLMr</italic> and is
due to change with the current GLM version. The input data are automatically
listed in part 2 (Fig. 1) if stored at the path
as specified in the control file. All included time series of input data can
be visualized and tested against missing values (NA). The toolbox includes
an option to fill the missing values by applying the nonparametric
Kalman filter method (Grewal, 2011) using the R package <italic>imputeTS</italic> (Hyndman and Khandakar, 2007). Several filter methods were tested by manually removing
values from existing time series of meteorological data and interpolating
these missing values. The Kalman smoothing could deliver the best and most
constant results for all kinds of various meteorological data. If
selected, an autofill option writes the interpolated values directly to the
input file. All parameter settings defined within the control file can be
shown and changed by the GUI (part 3, Fig. 1).</p>
      <p id="d1e404">The model simulation can be run (part 5, Fig. 1)
and several plot options can be selected to compare the model result with
observed field data (part 4, Fig. 1). As lake
level variations can have a strong impact on the water temperature
distribution within lakes (especially true for shallow waters), the
validation of the lake-level simulation results is provided within the GUI
additionally to the water temperature. The root mean square error (RMSE),
which is often applied as model fit criteria in lake modeling studies (e.g., Bueche et al., 2017; Luo et al., 2018; Frassl et al., 2018), can be
computed for both model output variables. Additionally, the mean bias error
(MBE, average of the lake-level differences of all simulated time
steps) is calculated for lake-level simulations. Both model criteria are
calculated for all available observed data points and averaged subsequently.</p>
</sec>
<sec id="Ch1.S2.SS3.SSS2">
  <label>2.3.2</label><title>Plots and output visualization</title>
      <p id="d1e416">Plot options are provided by <italic>glmGUI</italic> for the input time series in part 2
(Fig. 1) and for all output variables generated by
GLM (csv and netCDF file formats, part 5 Fig. 1). This includes simple line plots (e.g., for
lake level or evaporation) and contour plots for a parameter varying with lake
depth, such as water temperature or density. In addition, two types of contour
plots of the vertical profile can be created. First is the visualization of
observed and modeled water temperatures in one plot above each other with
the option of the measured data as point overlay to mark where and when
field data are available (areas in between are interpolated to draw the
plots, Fig. 2). The second plot visualizes the
temperature differences between the interpolated measured values and the
modeled data. This plot type is a new feature, enabling a quick overview on
the spatial and temporal errors and deviations of the simulation
(Fig. 9). The displayed deviations are fixed to nine classes in the range of the errors between <inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M10" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C, and all values beyond these limits are shown in one color
(<inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:mo>≤</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> in dark blue and <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:mo>≥</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula> in red), summarizing and highlighting
extreme errors. The spatial reference in both plots is the lake surface, but
lake-level variations are represented by changes in depth, which become
visible at the “bottom” of this plot type.</p>
      <p id="d1e474">The generation of the contour plots is based on functions provided by
<italic>glmtools</italic>. The default settings to scale the color bar legend for water temperature
plots take into account the range of temperatures and also erroneously the
range of lake depth. This method is adopted in glmGUI, while discarding the
consideration of the lake depth, and the temperature range is adjusted
explicitly to the plotting method to provide well differentiated color
ranges in the legend.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><label>Figure 2</label><caption><p id="d1e482">Example of a contour plot of observed <bold>(a)</bold> and modeled <bold>(b)</bold>
water temperatures for lake Ammersee. Black dots mark the availability
(time/date and depth) of observed water temperatures.</p></caption>
            <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f02.png"/>

          </fig>

</sec>
<sec id="Ch1.S2.SS3.SSS3">
  <label>2.3.3</label><title>Sensitivity analysis</title>
      <p id="d1e505">To reduce the effort of the model calibration process only sensitive
parameters should be included (Luo et al., 2018), which are usually
identified by applying a sensitivity analysis. It investigates how variations
in the output of a numerical model can be attributed to variations of input
parameters or factors (Pianosi et al., 2016). The widely
used approach after   Lenhart et al. (2002) is implemented in the
GUI.  The sensitivity index (SI) is calculated for each selected parameter
separately, since only one parameter is changed at a time:

                  <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M13" display="block"><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mi mathvariant="normal">SI</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi><mml:mo>/</mml:mo></mml:mrow></mml:mfrac></mml:mstyle><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d1e560">The parameter with the value <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is increased and
decreased by <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:math></inline-formula>. The resulting outputs
<inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M17" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> (either water
temperature, lake level, or the respective RMSEs) are subtracted and
normalized by the output <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, which results from using
the unchanged parameter value <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:msub><mml:mi>x</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>; <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:math></inline-formula> can be set to four different values in the GUI (5 %, 10 %, 20 %,
50 %). It can be chosen out of four grades of relative changes of a
parameter. The sensitivity of the simulation can be analyzed with regards to the
model output of water temperature or lake level. SI values can be calculated
based on either the respective model output or the RMSE, as also applied by
Rigosi et al. (2011).</p>
</sec>
<sec id="Ch1.S2.SS3.SSS4">
  <label>2.3.4</label><title>Autocalibration</title>
      <p id="d1e647">Since the GLM uses empirical equations (Hipsey et al., 2017),
model parameters can be adjusted during the calibration process to minimize
the error between model output and<?pagebreak page568?> observations (Luo et al., 2018). As
an alternative to adjusting the parameters manually in the glm2.nml file,
<italic>glmGUI</italic> provides an automatic calibration tool for preselected parameters of
surface dynamics, mixing parameters, and hydrological and meteorological
factors (Table A2). The user can choose those parameters that are to
be included in the calibration process, and they can define a percentage range by
which the upper and lower limits of every parameter can be changed from the value
in the glm2.nml file. The resolution of the increase or decrease of the
parameters within the defined limits can be set as well. According to these
settings, model runs of GLM are executed with all possible combinations of
the selected parameters (“brute-force”). The overall RMSE of the lake
level or water temperature is calculated and saved for every parameter
combination to a csv file, with the “best fit” being indicated.</p>
      <p id="d1e653">The automated calibration of the lake level includes also the optimization
for the parameter <italic>inflow_factor</italic> for multiple lake inflows. This enables an approximation
to the water balance and the reproduction of the lake level if the
contribution of inflows is unknown, which is often the case for groundwater
inflows or smaller tributaries.</p>
      <p id="d1e659">The runtime of the calibration algorithm (<inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">cal</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) increases exponentially
with the number of parameters (<inline-formula><mml:math id="M22" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>) to be calibrated
(Eq. 2):

                  <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M23" display="block"><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">cal</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mi>p</mml:mi></mml:msup><mml:mo>⋅</mml:mo><mml:mo>(</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">GLM</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">RMSE</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            <?xmltex \hack{\newpage}?><?xmltex \hack{\noindent}?>with <inline-formula><mml:math id="M24" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> being the number of tested values for each parameter <inline-formula><mml:math id="M25" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">GLM</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">RMSE</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> being runtimes of the lake model and the calculation of the output
RMSE, respectively.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Case study of lake Baratz</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Study site</title>
      <p id="d1e776">Lake Baratz is located in the northwest of Sardinia
(Fig. 3), Italy, and it is the only natural lake of
the island. The elevation of its bottom is 18.6 m a.s.l., and the lake level
suffered significant changes in the last 2 decades with a maximum lake
depth of 11 m and a minimum of 3 m (Giadrossich et al., 2015; Niedda et
al., 2014). The overflow spillway of the lake is at 32.5 m a.s.l.
(Niedda et al., 2014). At this maximum level the lake has a
surface of about 0.6 km<inline-formula><mml:math id="M28" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> and volume of <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.1</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">6</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> km<inline-formula><mml:math id="M30" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> (Giadrossich et al., 2015). As
lake-overflow events to the sea were extremely rare in the past century, the
catchment area is considered to be a closed basin (Niedda and
Pirastru, 2013). The lake watershed is about 12 km<inline-formula><mml:math id="M31" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula> with a
maximum elevation of 410 m (Pirastru and Niedda, 2013). The
only significant tributary inflowing the lake is in the northeast and drains
a subcatchment area of 8.1 km<inline-formula><mml:math id="M32" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>. Due to a very dry summer
season, the water inflow starts usually in December and ends in May
(Giadrossich et al., 2015).</p>
      <p id="d1e830">The lake can be classified as eutrophic and the water is brackish. Thermal
stratification usually establishes in<?pagebreak page569?> February or early March and lasts until
early autumn (Giadrossich et al., 2015). Lake mixing occurs all
throughout winter, and thus it can be classified as a warm monomictic lake.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><label>Figure 3</label><caption><p id="d1e835"><bold>(a)</bold> Lake Baratz and its hydrological catchment area and observation
station; <bold>(b)</bold> observation stations outside of the lake watershed (gray area);
<bold>(c)</bold> contour lines of the lake basin. The blue area indicates the lake surface
at a lake level of 8 m (equal to an elevation of 26 m a.s.l.) observed in
November 2012. Brown lines display dry terrain and cyan isobaths at this
lake level (Source DEM © Regione Autonoma della Sardegna).</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f03.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Sensitivity analysis and calibration</title>
      <p id="d1e860">The simulation period for lake Baratz is determined to be 13 July 2011 to
31 December 2016. We assume the light extinction coefficient value, <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>w</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.57</mml:mn></mml:mrow></mml:math></inline-formula> m<inline-formula><mml:math id="M34" 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>, is representative of the whole study period. <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is
calculated by dividing the Secchi-disk constant (in this case the minimum value
of 1.44 was taken as it usually ranges between 1.44 and 1.80; Hornung,
2002; Holmes, 1970; Chapra, 2008) by the mean Secchi-disk depth of 2.50 m (data from June 2016 to June 2017). A similar value can be obtained
considering a Secchi-disk average depth of 3 m (assumed when the lake
had a higher water level) and Secchi-disk constant of 1.70 (Poole and
Atkins, 1929). A further detailed description of the applied meteorological
and hydrological model input data, the field data, and the data processing
can be found in the Supplement.</p>
      <p id="d1e901">The calibration process of the lake level was accomplished without
hydrological parameters, as preliminary estimations of the water balance
considering the seasonality of the inflow and subsurface outflow already
exist (see the Supplement Sect. S1.3), which are also applied in this
study. Thus, the sensitivity analysis was performed by considering only the
parameters of surface dynamics and the <italic>wind_factor</italic> as wind can have an impact on the
lake level due to its influence on evaporation. The options of 10 %
increase and the RMSE as a measure of deviation were selected.</p>
      <p id="d1e907">After   Lenhart et al. (2002), only one of four parameters (cd) is found
to have a negligible sensitivity as indicated by a<?pagebreak page570?> SI value of below 0.01. The
analysis revels a high sensitivity for the parameters  ch (SI <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.234</mml:mn></mml:mrow></mml:math></inline-formula>, see
also Fig. 4) and ce (SI <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.334</mml:mn></mml:mrow></mml:math></inline-formula>) and a medium sensitivity for
<italic>wind_factor</italic> (SI <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.089</mml:mn></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d1e943">The sensitivity analysis regarding water temperature was conducted for
parameters of lake mixing, surface dynamics, and the <italic>wind_factor</italic> with the
same options as selected for the lake level. Negligible SI values of 0.005
and below are found for all considered parameters, except for ce (SI <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.232</mml:mn></mml:mrow></mml:math></inline-formula>)
and <italic>wind_factor</italic> (0.290) with high sensitivities and ch (0.050) with a sensitivity at the
threshold between medium and small (Fig. 4).
According to both sensitivity analyses, the model is calibrated first for the
lake level considering these three parameters with medium and high
sensitivities. As the model is found to be sensitive to lake level and water
temperature simulations for changes in the same parameters, the calibration
for water temperature simulations was performed only considering ce and
<italic>wind_factor</italic> to prevent a decline of the lake level reproduction by the water
temperature calibration. Not considering parameter ch is plausible, as its SI
value only matches just the threshold to be medium sensitive. In addition,
small parameter value ranges of 10 % are applied. Within the calibration
process, a total number of approx. 3000 simulation runs were conducted in 6
autocalibration runs.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><?xmltex \currentcnt{4}?><label>Figure 4</label><caption><p id="d1e968">Sensitivity index (SI) after   Lenhart et al. (2002) of GLM
simulations of lake Baratz regarding the lake level (blue) and water
temperature (cyan). The lower horizontal line (SI <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.05</mml:mn></mml:mrow></mml:math></inline-formula>) marks the
threshold between small and medium sensitivity and the upper line (SI <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.20</mml:mn></mml:mrow></mml:math></inline-formula>)
between medium and high sensitivity.</p></caption>
          <?xmltex \igopts{width=213.395669pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f04.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><label>Figure 5</label><caption><p id="d1e999">Observed (blue) and simulated (red) lake level of lake Baratz.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f05.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Simulation results</title>
      <?pagebreak page571?><p id="d1e1016">The calibration processes for lake-level simulations of the lake model
reveal the best fit when applying an unchanged parameter value for ch, an
adjustment of ce to 0.001748, and an adjustment of <italic>wind_factor</italic> to 1.56. The simulated lake level of lake
Baratz shows very good model fit criteria with an average RMSE <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.11</mml:mn></mml:mrow></mml:math></inline-formula> m and
an average MBE <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.05</mml:mn></mml:mrow></mml:math></inline-formula> m. The seasonal pattern of the lake level,
characterized by a strong increase during winter and a drop during summer,
is represented well. Additionally, the general decrease of the water stage
by about 3 m during the simulation period is simulated correctly, which
proves the capability of the model to reproduce the water balance of the
lake and its catchment area.</p>
      <p id="d1e1042">The modeled water temperatures simulated with the adapted lake parameters
found by the (auto)calibration yield an overall average RMSE of 1.30 <inline-formula><mml:math id="M44" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C. A period of remarkable deviation of simulated and observed
lake level is induced in January 2014, which could be attributed to
uncertainties in the discharge input data simulated by a hydrological model.
The basin in that period of the year is still in an intermediate status of
soil moisture. Probably the hydrological model overestimated the discharge
on the base of rainfall events in January 2014, which in reality did not
produce a significant lake-level variation (see Fig. 2 in Giadrossich
et al., 2015). However, the observed and simulated lake levels in Fig. 5
have the same trend, and the error caused in January is propagated throughout
the year.</p>
      <p id="d1e1054">The model reproduces stratified and isothermal conditions
(Fig. 6). A detailed overview on the temporal and
spatial differences between the observed and simulated water temperatures is
given in Fig. B1. The simulation can be assessed as
a robust fit (Bruce et al., 2018), especially when considering the high
degree of thermal dynamics due to the shallow depth of the lake and an
additional enhancement by highly variable lake level
(Fig. 6). The results also approve GLM to be
applicable for shallow lakes in warm climates with a high variety in lake
level.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><label>Figure 6</label><caption><p id="d1e1060">Observed <bold>(a)</bold> and simulated <bold>(b)</bold> water temperatures of lake
Baratz.</p></caption>
          <?xmltex \igopts{width=412.564961pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f06.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Case study of lake Ammersee</title>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Study site</title>
      <p id="d1e1091">The pre-alpine lake Ammersee (Fig. 7) has a maximum
depth of 83.7 m (Fig. S8, the Supplement), a surface area of 46.6 km<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>, and a volume of about <inline-formula><mml:math id="M46" 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">9</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> km<inline-formula><mml:math id="M47" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:math></inline-formula> (Bueche and Vetter, 2014b). The mixing regime
can be classified as dimictic, but also monomictic seasons occur
(Bueche, 2016). The trophic status is currently mesotrophic (Vetter
and Sousa, 2012).</p>
      <p id="d1e1127">The lake has a catchment area of about 994 km<inline-formula><mml:math id="M48" display="inline"><mml:msup><mml:mi/><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:math></inline-formula>, and its
outflow is in the north (Stegen gauge station). The main tributary is river
Ammer, which contributes approximately 80 % to the total annual discharge
to the lake (Bueche and Vetter, 2015). Several other streams and
creeks inflow into the lake, but only the rivers Rott and Fischbach have a share
of greater than 5 % of the total lake catchment area size (see
Fig. 7). Additionally, groundwater is assumed to
inflow to the lake, which has not been quantified yet (Bueche and Vetter,
2014a). The mean lake level is 532.9 m a.s.l. and usually varies about 1 m (Bay. LfU, 2018).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><?xmltex \currentcnt{7}?><label>Figure 7</label><caption><p id="d1e1141">Catchment area (with subcatchments) of lake Ammersee. Dots mark
the locations of hydrological observation stations (Source DEM: elevation
data from ASTER GDEM, a product of METI and NASA; Source geodata:
Geobasisdaten © Bayerische Vermessungsverwaltung,
<uri>http://www.geodaten.bayern.de</uri>, last access: 30 January 2020).</p></caption>
          <?xmltex \igopts{width=227.622047pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f07.png"/>

        </fig>

</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Sensitivity analysis and calibration</title>
      <p id="d1e1161">The simulation period for lake Ammersee was chosen to be 30 January 2014 to
31 December 2017, starting when reliable field data of the lake station are
available consistently (see the Supplement  Sect. S2). The initial
profile of water temperatures is taken from the observations of that date.
No water quality data were available for the simulation period, and the
salinity values are derived from conductivity<?pagebreak page572?> measurements of January 2004,
when similar thermal conditions of a slight inverse stratification
prevailed and equivalent salinity conditions can be assumed. As the trophic
status has not changed since 2004, the average <inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value of 0.35 m<inline-formula><mml:math id="M50" 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>,
determined for the period 2004 to 2008 from Secchi-disk observations (data
surveyed and provided by Bavarian Environment Agency), is used for the GLM
simulations in this study.</p>
      <p id="d1e1187">The calibration of the lake level considers the <italic>inflow_factor</italic> (i.e., simple factor for the
discharge values of the inflows) of the four defined inflows of river Ammer;
river Fischbach; groundwater inflow; and the sum of river Rott, river
Kienbach, and all other unknown inflows. Thus, the adjustment of the
representative <italic>inflow_factor</italic> includes the required correction of the available discharge
data, considering the observations are not taken at the stream inlet to the
lake but at an upstream location. This is especially relevant for river
Ammer with its gauge at Weilheim (Fig. 7).
Meteorological input data are taken by a raft station at the lake center,
except for precipitation and cloud cover data (see the Supplement,
Sect. S2, for a detailed description about the sources of the used
meteorological and hydrological input data and the processing of the data).</p>
      <p id="d1e1196">The sensitivity analysis regarding the water temperature (increase: 10 %;
measure of difference: RMSE) reveals seven parameters with an SI <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.05</mml:mn></mml:mrow></mml:math></inline-formula>, indicating a medium sensitivity (after Lenhart et
al., 2002, Table 1). In order to reduce the
calculation time of the autocalibration runs, four parameters of high
sensitivity with a SI above 0.2 are chosen for this process. In total
approx. 50 000 simulation runs in 12 autocalibration runs were performed
within the calibration process.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e1213">Values of sensitivity index (SI) for lake Ammersee water temperature simulations.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">SI</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">ch</oasis:entry>
         <oasis:entry colname="col2">0.534</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_shear</oasis:entry>
         <oasis:entry colname="col2">0.484</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_turb</oasis:entry>
         <oasis:entry colname="col2">0.410</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">wind_factor</oasis:entry>
         <oasis:entry colname="col2">0.210</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">cd</oasis:entry>
         <oasis:entry colname="col2">0.126</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_KH</oasis:entry>
         <oasis:entry colname="col2">0.097</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_wind_stir</oasis:entry>
         <oasis:entry colname="col2">0.060</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ce</oasis:entry>
         <oasis:entry colname="col2">0.034</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_conv</oasis:entry>
         <oasis:entry colname="col2">0.015</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_hyp</oasis:entry>
         <oasis:entry colname="col2">0.008</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<?pagebreak page573?><sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Simulation results</title>
      <p id="d1e1339">The calibration of the lake-level simulation yields its best fit for the
combination of inflow factors for the defined tributaries: river Ammer of
1.10; river Fischbach of 0.72; groundwater of 1.07; and rivers Rott,
Kienbach, and all other smaller and unknown inflows of 1.01. By using these
adapted inflow factors instead of the default value of 1.0, overall RMSE
reduced significantly from 1.10 to 0.20 m, the MBE changed from <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1.00</mml:mn></mml:mrow></mml:math></inline-formula>  to
0.09 m, and the achieved model fit can be assessed as very satisfactory. The
simulation shows periods of general deviations of over 0.20 up to 0.55 m for some months, but it reproduces the short-term fluctuations well
(Fig. 8). The remaining errors and differences can
be ascribed to the uncertainties and lack of data for some inflows as
assumptions and estimations for the unknown surface input and the
groundwater inflow had to be made. More detailed hydrological data might
explain remarkable dates, like during summer when the trend of simulated
and observed lake level changes abruptly. No obvious explanation for these
trend shifts could be found, although a detailed investigation of the
existing hydrological data was conducted. An impact of a highly complex
groundwater inflow system is likely to have a key role in the water balance
of the lake, which is not considered by the applied input data sufficiently.
Furthermore it cannot be ruled out that unknown alterations or errors in the
observation setup of the gauges cause these “turning points” as some of
them correspond to flood events, which might have implied problems with the
measurements. However, it was possible to improve the lake-level simulation
distinctively by considering only the parameter <italic>inflow_factor</italic> for multiple inflows within
the calibration process.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><?xmltex \currentcnt{8}?><label>Figure 8</label><caption><p id="d1e1357">Observed (blue) and simulated (red) lake level of lake Ammersee.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f08.png"/>

        </fig>

      <p id="d1e1366">Simulated water temperatures reveal an overall RMSE of 1.172 <inline-formula><mml:math id="M53" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C.
The highest deviations occur within the metalimnion at a depth between 7 and 18 m (Bueche and Vetter, 2014b) during summer stratification, when
the model underestimates the temperature (Fig. 9).
This is accompanied by layers that are too warm in the upper epilimnion at a depth of
about 20 m. However, the general seasonal pattern is reproduced adequately,
and differences during winter are negligible.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9" specific-use="star"><?xmltex \currentcnt{9}?><label>Figure 9</label><caption><p id="d1e1381">Contour plot of differences between simulated and observed water
temperatures of lake Ammersee.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f09.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Discussion</title>
      <p id="d1e1400">The implemented option of an autocalibration in the toolbox enables a less
time-consuming and more efficient parameter optimization compared to a
conventional manual calibration procedure (Luo et al., 2018). The
utilization of such automatization techniques is advised for lake modeling
studies (Ladwig et al., 2018). Hence, the provided tool can be seen as
the centerpiece of the developed GLM toolbox, which is complemented by the
plotting option of differences between<?pagebreak page574?> observed and simulated water
temperatures. This model output visualization enables an immediate overview
on the simulated deviations and their spatial distribution without any
further postprocessing of the model results. Although no detailed
quantification of the error is possible, this illustration allows for a very
quick qualitative comparison of different simulation settings. Such
a visualization option for GLM output has not yet been provided for an
open-source software.</p>
      <p id="d1e1403">The easy handling and free availability of the GUI expands the reach of the GLM to potential users beyond limnological research specialists. The
used scripting language R is already widespread in limnological (e.g.,
Winslow et al., 2016), hydrological, and environmental research (e.g., Pilz et al., 2017; Gampe et al., 2016), as well as in the field
of automation of water management processes (e.g., Erban et al., 2018).
Providing the R code as a development version (<ext-link xlink:href="https://doi.org/10.5281/zenodo.2025865" ext-link-type="DOI">10.5281/zenodo.2025865</ext-link>, Wenk et al., 2018) in addition to the R package
enables the GUI and its tools to be easily customized by users for other
specific demands and to be shared with the public.</p>
      <p id="d1e1409">Due to the small number of considered parameters in the calibration process
of the presented case studies, the efficiency was successfully tested for a
realistic effort of time. The visibility of the simulation error provided by
the<?pagebreak page575?> difference contour plots provides an opportunity to combine the
automated calibration easily with expert knowledge. However, the time
consumption of an autocalibration run of several days and more for
combinations of larger number of parameters and higher intervals might
hamper of the calibration efficiency of a solely automatized calibration and
can be improved in upcoming versions of the toolbox. At present running the
tool on a server in advance or as a “background task” can compensate for
this problem.</p>
      <p id="d1e1412">Further limitations of the toolbox and GUI have to be mentioned and more coding
activities should be addressed to minimize the following issues. (1) The
contour plots of water temperatures indicate the lake level on the bottom
either interpolated or in very coarse lake-level fluctuation, which does not
allow for a sufficient derivation of this model output by these plots. For this
purpose, separated plots of the lake-level simulations can be created. (2) The
calibration algorithm of the toolbox creates parameter values with a high
decimal precision due to the approach of percental alteration. This might
assume a false sensitivity of the model and a too detailed accuracy of the
calibration for the respective parameter. (3) The method of the sensitivity
analysis will yield a SI <inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> for any included parameter with the initial
value being 0. This applies, for example, to <italic>seepage_rate</italic> as its  default  value is 0. (4) The
applied model version of GLM is dependent on the maintenance of the R
package <italic>glmtools</italic>.</p>
      <p id="d1e1432">The presented simulations of lake water temperatures have average overall
RMSEs of 1.30  and 1.17 <inline-formula><mml:math id="M55" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C for lake Ammersee and lake Baratz, respectively. This is within the range
of values obtained by other lake modeling studies applying GLM or other
1-D lake models (Bueche et al., 2017; Ladwig et al., 2018; Robertson et al.,
2018; Frassl et al., 2018). This simulation quality was achieved even by
only a few autocalibration runs showing the effectiveness of the tool.</p>
      <p id="d1e1444">In addition to the visualization options and the calibration tool for water
temperature simulations, <italic>glmGUI</italic> also enables a calibration of the lake level to
achieve a correct reproduction of the water stage. This is especially
important for smaller lakes, for which an incorrect simulation of the lake
level can have a significant impact on the water temperature reproduction.
Furthermore, as the lake level is the result of the lake–catchment water
balance (Vanderkelen et al., 2018), the applicability of GLM is
also enhanced for hydrological analysis and water balance investigations by
this feature. The GLM uses the bulk aerodynamic formula to estimate the
latent heat flux and therefore evaporation (Hipsey et al., 2014), which is
commonly applied to assess the evaporation rate over open water bodies
(Fischer et al., 1979; Hicks, 1972). Including the GLM in the hydrological
analysis can therefore improve the accuracy of the modeled evaporation, and
thus the water balance estimate. In this study, a RMSE for the lake-level
simulations of 0.11 m (lake Baratz) and 0.20 m (lake Ammersee) is achieved,
which is within the range of the GLM performance shown by
Weber et al. (2017), and this attests a good accordance of the
modeled water level with the observed values (Hostetler, 1990).</p>
      <p id="d1e1450">The GUI is also able to execute simulation runs of GLM coupled with water
quality models of ecological lake models (e.g., Aquatic Ecodynamics modeling
library, AED). Although water quality settings cannot yet be changed using
the toolbox, any model-generated output can be plotted.</p>
</sec>
<sec id="Ch1.S6" sec-type="conclusions">
  <label>6</label><title>Conclusions</title>
      <p id="d1e1461">The presented R package <italic>glmGUI</italic> combines simulation and processing tools for the
GLM. This includes a tool to autocalibrate the model and options for a
parameter sensitivity analysis. Both tools can be used to examine the two
simulation output variables of water temperature and lake level.
Furthermore, <italic>glmGUI</italic> implements several visualization options for the
meteorological and hydrological input data and the model output. After the
deployment of other R packages to execute GLM, and for model output
post-processing and statistical analysis (<italic>rLakeAnalyzer</italic>, <italic>rGLM</italic>, <italic>glmtools</italic>), <italic>glmGUI</italic> fills the gap of missing
tools to simplify and accelerate the calibration process and to extend
visualization options.</p>
      <p id="d1e1483">The tools are tested for two different lake types (deep, dimictic, perennial
inflow and shallow, monomictic, seasonal inflow) located in varying climate
zones. Good model results were achieved after a low expenditure of
calibration effort. In contrast to many other studies, an exhaustive
description of the simulation input data and field data (data for lake Ammersee also provided as example data) is given within this paper (in the Supplement). The GUI includes tools to check the quality of the
input data. This comprises the option of a visual detection of errors,
missing values, and plausibility.</p>
      <p id="d1e1486">The development of <italic>glmGUI</italic> for the free and open-source programming language R,
available on all common platforms (Windows, macOS, Linux), makes it
accessible for anyone to use, which contributes to scientific transparency
(Winslow et al., 2018). The GUI allows for a high level of
interoperability due to the option of combining with other operating
systems. This includes the coupling of GLM with ecological lake models (e.g.,
Snortheim et al., 2017; Robertson et al., 2018; Weber et al., 2017;
Fenocchi et al., 2019), as the toolbox is already applicable for this
purpose and can be the basis for establishing a coupling interface.
Furthermore, we designed the software with the aim of a high flexibility for
the application of other scenarios, for various study areas, or with diverse
time steps. An increasing number of lake modeling studies are investigating
the impact of global change on lakes using as meteorological input data
regional climate model output or future scenarios (Fenocchi et al., 2018;
Weinberger and Vetter, 2014; Bueche and Vetter, 2015; Ladwig et al., 2018;
Pietikäinen et al., 2018; Piccolroaz and Toffolon, 2018). For analyses
in these fields of research, the presented R package <italic>glmGUI</italic> will be a powerful
tool, especially concerning the provided difference contour plots.</p><?xmltex \hack{\clearpage}?>
</sec>

      
      </body>
    <back><app-group>

<?pagebreak page576?><app id="App1.Ch1.S1">
  <?xmltex \currentcnt{A}?><label>Appendix A</label><title>Model input data and calibration parameter</title>

<?xmltex \floatpos{h!}?><table-wrap id="App1.Ch1.S1.T2"><?xmltex \hack{\hsize\textwidth}?><?xmltex \currentcnt{A1}?><label>Table A1</label><caption><p id="d1e1511">Required model input data (after Hipsey et al., 2014).</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="justify" colwidth="312.980315pt"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Unit</oasis:entry>
         <oasis:entry colname="col3">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col3">Meteorological parameters: </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Air temperature</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M56" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C</oasis:entry>
         <oasis:entry colname="col3">Average air temperature 10 m above the water surface</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Wind speed</oasis:entry>
         <oasis:entry colname="col2">m s<inline-formula><mml:math id="M57" 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></oasis:entry>
         <oasis:entry colname="col3">Average wind speed 10 m above the water surface</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Relative humidity</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
         <oasis:entry colname="col3">Average relative humidity (0 %–100 %) 10 m above the  water surface</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Shortwave radiation</oasis:entry>
         <oasis:entry colname="col2">W m<inline-formula><mml:math id="M58" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">Average shortwave radiation</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Longwave radiation</oasis:entry>
         <oasis:entry colname="col2">W m<inline-formula><mml:math id="M59" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col3">Longwave radiation input is assumed to be direct  incident intensity</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Rainfall</oasis:entry>
         <oasis:entry colname="col2">m d<inline-formula><mml:math id="M60" 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></oasis:entry>
         <oasis:entry colname="col3">Rainfall depth</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Cloud cover <italic>(optional)</italic></oasis:entry>
         <oasis:entry colname="col2">–</oasis:entry>
         <oasis:entry colname="col3">Required if no information on longwave radiation available and incoming longwave flux is estimated from cloud cover fraction data</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Snowfall <italic>(optional)</italic></oasis:entry>
         <oasis:entry colname="col2">m d<inline-formula><mml:math id="M61" 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></oasis:entry>
         <oasis:entry colname="col3">Snowfall depth</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col3">Hydrological parameters: </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Inflow discharge</oasis:entry>
         <oasis:entry colname="col2">m<inline-formula><mml:math id="M62" 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="M63" 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></oasis:entry>
         <oasis:entry colname="col3">Average discharge</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Water temperature</oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M64" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C</oasis:entry>
         <oasis:entry colname="col3">Average streamflow water temperature</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Salinity <italic>(optional)</italic></oasis:entry>
         <oasis:entry colname="col2">mg L<inline-formula><mml:math id="M65" 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></oasis:entry>
         <oasis:entry colname="col3">Streamflow salinity</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Outflow discharge</oasis:entry>
         <oasis:entry colname="col2">m<inline-formula><mml:math id="M66" 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="M67" 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></oasis:entry>
         <oasis:entry colname="col3">Average discharge</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<?xmltex \floatpos{h!}?><table-wrap id="App1.Ch1.S1.T3"><?xmltex \hack{\hsize\textwidth}?><?xmltex \currentcnt{A2}?><label>Table A2</label><caption><p id="d1e1833">List of preselected parameters for autocalibration (after
Hipsey et al., 2017).</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter (glm.nml ID)</oasis:entry>
         <oasis:entry colname="col2">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col2">Lake properties </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msub><mml:mi>K</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">Extinction coefficient for photosynthetically active radiation (PAR) (unit: m<inline-formula><mml:math id="M69" 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>)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Surface dynamics</oasis:entry>
         <oasis:entry colname="col2"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ch</oasis:entry>
         <oasis:entry colname="col2">Bulk aerodynamic coefficient for  sensible heat transfer</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ce</oasis:entry>
         <oasis:entry colname="col2">Bulk aerodynamic coefficient for   latent heat transfer</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">cd</oasis:entry>
         <oasis:entry colname="col2">Bulk aerodynamic coefficient for  transfer of momentum</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col2">Mixing parameters </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_conv</oasis:entry>
         <oasis:entry colname="col2">Mixing efficiency – convective  overturn</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_wind_stir</oasis:entry>
         <oasis:entry colname="col2">Mixing efficiency – wind stirring</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_shear</oasis:entry>
         <oasis:entry colname="col2">Mixing efficiency – shear  production</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_turb</oasis:entry>
         <oasis:entry colname="col2">Mixing efficiency – unsteady turbulence (acceleration)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">coef_mix_KH</oasis:entry>
         <oasis:entry colname="col2">Mixing efficiency – Kelvin–Helmholtz turbulent billows</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">coef_mix_hyp</oasis:entry>
         <oasis:entry colname="col2">Mixing efficiency of hypolimnetic  turbulence</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry namest="col1" nameend="col2">Hydrological and meteorological factors </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">seepage_rate</oasis:entry>
         <oasis:entry colname="col2">Rate of seepage from the deepest layer (unit: m d<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>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">inflow_factor</oasis:entry>
         <oasis:entry colname="col2">Factor for inflow(s)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">outflow_factor</oasis:entry>
         <oasis:entry colname="col2">Factor for outflow</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Rain_factor</oasis:entry>
         <oasis:entry colname="col2">Factor for rainfall</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">wind_factor</oasis:entry>
         <oasis:entry colname="col2">Factor for wind speed</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<?xmltex \hack{\clearpage}?>
</app>

<?pagebreak page577?><app id="App1.Ch1.S2">
  <?xmltex \currentcnt{B}?><label>Appendix B</label><title>Contour plot of GLM simulations</title>

      <?xmltex \floatpos{h!}?><fig id="App1.Ch1.S2.F10"><?xmltex \currentcnt{B1}?><label>Figure B1</label><caption><p id="d1e2069">Contour plot of differences between simulated and observed water
temperatures of lake Baratz.</p></caption>
        <?xmltex \hack{\hsize\textwidth}?>
        <?xmltex \igopts{width=412.564961pt}?><graphic xlink:href="https://gmd.copernicus.org/articles/13/565/2020/gmd-13-565-2020-f10.png"/>

      </fig>

<?xmltex \hack{\clearpage}?>
</app>
  </app-group><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d1e2086">The package and R code are available at <ext-link xlink:href="https://doi.org/10.5281/zenodo.2025865" ext-link-type="DOI">10.5281/zenodo.2025865</ext-link> (Wenk et al., 2018). Example data for lake Ammersee are
attached to this paper in the Supplement. Sources are described in
the Supplement Sect. S2.</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e2092">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/gmd-13-565-2020-supplement" xlink:title="zip">https://doi.org/10.5194/gmd-13-565-2020-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e2101">TB and MV initiated the idea and concept of <italic>glmGUI</italic>. MW and BP developed the
<italic>glmGUI</italic> package and code. The study sites were suggested by TB and FG. FG and MP
operated the raft station and data collection at lake Baratz. Data
preprocessing was conducted by TB with the support of MP, FG, and BP.
Simulations and analyses have been conducted by TB with the support of FG, MP,
and MV. The article was prepared by TB with contributions from all
co-authors.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e2113">The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e2119">We are grateful to the University of Sassari for funding 1 month of
professorship for Thomas Bueche in Sassari. We are thankful for the financial support for this
study by the teaching and research program Lehre@LMU, sponsored by the German
Federal Ministry of Education and Research (BMBF) (grant no. 01PL17016) and
by the mentoring program of LMU Munich. We also thank Bachisio Padedda for
providing ecological data observations of lake Baratz and Helge Olberding
for assisting work. Finally, we pay a silent tribute to Marcello Niedda, who
initiated and expedited the hydrological investigations at lake Baratz.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e2124">The University of Applied Sciences Würzburg-Schweinfurt supported the publication of this research.</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e2131">This paper was edited by Steve Easterbrook and reviewed by three anonymous referees.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>Bay. LfU (Bayerisches Landesamt für Umwelt): Gewässerkundlicher
Dienst Bayern, available at: <uri>https://www.gkd.bayern.de/</uri> (last access: 30 January 2020), 2018.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 1?><mixed-citation>Bruce, L. C., Frassl, M. A., Arhonditsis, G. B., Gal, G., Hamilton, D. P.,
Hanson, P. C., Hetherington, A. L., Melack, J. M., Read, J. S., Rinke, K.,
Rigosi, A., Trolle, D., Winslow, L., Adrian, R., Ayala, A. I., Bocaniov, S.
A., Boehrer, B., Boon, C., Brookes, J. D., Bueche, T., Busch, B. D.,
Copetti, D., Cortés, A., de Eyto, E., Elliott, J. A., Gallina, N.,
Gilboa, Y., Guyennon, N., Huang, L., Kerimoglu, O., Lenters, J. D.,
MacIntyre, S., Makler-Pick, V., McBride, C. G., Moreira, S., Özkundakci,
D., Pilotti, M., Rueda, F. J., Rusak, J. A., Samal, N. R., Schmid, M.,
Shatwell, T., Snorthheim, C., Soulignac, F., Valerio, G., van der Linden,
L., Vetter, M., Vinçon-Leite, B., Wang, J., Weber, M., Wickramaratne,
C., Woolway, R. I., Yao, H., and Hipsey, M. R.: A multi-lake comparative
analysis of the General Lake Model (GLM): Stress-testing across a global
observatory network, Environ. Modell. Softw., 102, 274–291,
<ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2017.11.016" ext-link-type="DOI">10.1016/j.envsoft.2017.11.016</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 1?><mixed-citation>Bucak, T., Trolle, D., Tavşanoğlu, Ü. N., Çakıroğlu,
A. İ., Özen, A., Jeppesen, E., and Beklioğlu, M.: Modeling the
effects of climatic and land use changes on phytoplankton and water quality
of the largest Turkish freshwater lake: Lake Beyşehir, Sci.
Total Environ., 621, 802–816,
<ext-link xlink:href="https://doi.org/10.1016/j.scitotenv.2017.11.258" ext-link-type="DOI">10.1016/j.scitotenv.2017.11.258</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><?label 1?><mixed-citation>Bueche, T.: The mixing regime of Lake Ammersee, Erde, 147, 275–283, <ext-link xlink:href="https://doi.org/10.12854/erde-147-24" ext-link-type="DOI">10.12854/erde-147-24</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 1?><mixed-citation>Bueche, T. and Vetter, M.: Influence of groundwater inflow on water
temperature simulations of Lake Ammersee using a one-dimensional
hydrodynamic lake model, Erdkunde, 68, 19–31, <ext-link xlink:href="https://doi.org/10.3112/erdkunde.2014.01.03" ext-link-type="DOI">10.3112/erdkunde.2014.01.03</ext-link>,
2014a.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 1?><mixed-citation>Bueche, T. and Vetter, M.: Simulating water temperatures and stratification
of a pre-alpine lake with a hydrodynamic model: calibration and sensitivity
analysis of climatic input parameters, Hydrol. Process., 28,
1450–1464, <ext-link xlink:href="https://doi.org/10.1002/hyp.9687" ext-link-type="DOI">10.1002/hyp.9687</ext-link>, 2014b.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 1?><mixed-citation>Bueche, T. and Vetter, M.: Future alterations of thermal characteristics in
a medium-sized lake simulated by coupling a regional climate model with a
lake model, Clim. Dynam., 44, 371–384, <ext-link xlink:href="https://doi.org/10.1007/s00382-014-2259-5" ext-link-type="DOI">10.1007/s00382-014-2259-5</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 1?><mixed-citation>Bueche, T., Hamilton, D. P., and Vetter, M.: Using the General Lake Model
(GLM) to simulate water temperatures and ice cover of a medium-sized lake: a
case study of Lake Ammersee, Germany, Environ. Earth Sci., 76, 461–475,
<ext-link xlink:href="https://doi.org/10.1007/s12665-017-6790-7" ext-link-type="DOI">10.1007/s12665-017-6790-7</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 1?><mixed-citation>
Carey, C. C. and Gougis, R. D.: Simulation modeling of lakes in
undergraduate and graduate classrooms increases comprehension of climate
change concepts and experience with computational tools, J. Sci.
Educ. Technol., 26, 1–11, 2017.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 1?><mixed-citation>
Chapra, S. C.: Surface water-quality modeling, Waveland press, 2008.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 1?><mixed-citation>
Erban, L. E., Balogh, S. B., Campbell, D. E., and Walker, H. A.: An R
Package for Open, Reproducible Analysis of Urban Water Systems, With
Application to Chicago, Open Water Journal, 5,  26–40, 2018.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 1?><mixed-citation>Fenocchi, A., Rogora, M., Sibilla, S., and Dresti, C.: Relevance of inflows
on the thermodynamic structure and on the modeling of a deep subalpine lake
(Lake Maggiore, Northern Italy/Southern Switzerland), Limnologica, 63, 42–56, <ext-link xlink:href="https://doi.org/10.1016/j.limno.2017.01.006" ext-link-type="DOI">10.1016/j.limno.2017.01.006</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 1?><mixed-citation>
Fenocchi, A., Rogora, M., Sibilla, S., Ciampittiello, M., and Dresti, C.:
Forecasting the evolution in the mixing regime of a deep subalpine lake
under climate change scenarios through numerical modelling (Lake Maggiore,
Northern Italy/Southern Switzerland), Clim. Dynam., 51,  3521–3536, 2018.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 1?><mixed-citation>Fenocchi, A., Rogora, M., Morabito, G., Marchetto, A., Sibilla, S., and
Dresti, C.: Applicability of a one-dimensional coupled
ecological-hydrodynamic numerical model to future projections in a very deep
large lake (Lake Maggiore, Northern Italy/Southern Switzerland), Ecol.
Model., 392, 38–51, <ext-link xlink:href="https://doi.org/10.1016/j.ecolmodel.2018.11.005" ext-link-type="DOI">10.1016/j.ecolmodel.2018.11.005</ext-link>,
2019.</mixed-citation></ref>
      <?pagebreak page579?><ref id="bib1.bib15"><label>15</label><?label 1?><mixed-citation>
Fischer, H. B., List, J. E., Koh, C. R., Imberger, J., and Brooks, N. H.:
Mixing in Inland and Coastal Waters, Academic Press, 1979.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 1?><mixed-citation>
Frassl, M., Weber, M., and Bruce, L. C.: The General Lake Model (GLM),
NETLAKE toolbox for the analysis of high-frequency data from lakes
(Factsheet 3), Technical report. NETLAKE COST Action ES1201, 11–15, 2016.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 1?><mixed-citation>Frassl, M., Boehrer, B., Holtermann, P., Hu, W., Klingbeil, K., Peng, Z.,
Zhu, J., and Rinke, K.: Opportunities and Limits of Using Meteorological
Reanalysis Data for Simulating Seasonal to Sub-Daily Water Temperature
Dynamics in a Large Shallow Lake, Water, 10,  594, <ext-link xlink:href="https://doi.org/10.3390/w10050594" ext-link-type="DOI">10.3390/w10050594</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 1?><mixed-citation>Gampe, D., Ludwig, R., Qahman, K., and Afifi, S.: Applying the Triangle
Method for the parameterization of irrigated areas as input for spatially
distributed hydrological modeling – Assessing future drought risk in the
Gaza Strip (Palestine), Sci. Total Environ., 543, 877–888,
<ext-link xlink:href="https://doi.org/10.1016/j.scitotenv.2015.07.098" ext-link-type="DOI">10.1016/j.scitotenv.2015.07.098</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 1?><mixed-citation>Giadrossich, F., Niedda, M., Cohen, D., and Pirastru, M.: Evaporation in a Mediterranean environment by energy budget and Penman methods, Lake Baratz, Sardinia, Italy, Hydrol. Earth Syst. Sci., 19, 2451–2468, <ext-link xlink:href="https://doi.org/10.5194/hess-19-2451-2015" ext-link-type="DOI">10.5194/hess-19-2451-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 1?><mixed-citation>
Grewal, M. S.: Kalman filtering, in: International Encyclopedia of
Statistical Science, Springer, 705–708, 2011.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 1?><mixed-citation>
Hanson, P. C., Weathers, K. C., and Kratz, T. K.: Networked lake science:
how the Global Lake Ecological Observatory Network (GLEON) works to
understand, predict, and communicate lake ecosystem response to global
change, Inland Waters, 6, 543–554, 2016.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 1?><mixed-citation>
Hicks, B.: Some evaluations of drag and bulk transfer coefficients over
water bodies of different sizes, Bound.-Lay. Meteorol., 3, 201–213,
1972.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 1?><mixed-citation>
Hipsey, M. R., Bruce, L. C., and Hamilton, D. P.: GLM – General Lake Model:
Model overview and user information, AED Report #26, The University of
Western Australia Technical Manual, 1–42, 2014.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 1?><mixed-citation>Hipsey, M. R., Bruce, L. C., Boon, C., Busch, B., Carey, C. C., Hamilton, D. P., Hanson, P. C., Read, J. S., de Sousa, E., Weber, M., and Winslow, L. A.: A General Lake Model (GLM2.4) for linking with high-frequency sensor datafrom the Global Lake Ecological Observatory Network (GLEON), Geosci. Model Dev. Discuss., <ext-link xlink:href="https://doi.org/10.5194/gmd-2017-257" ext-link-type="DOI">10.5194/gmd-2017-257</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 1?><mixed-citation>Hipsey, M. R., Bruce, L. C., Boon, C., Busch, B., Carey, C. C., Hamilton, D. P., Hanson, P. C., Read, J. S., de Sousa, E., Weber, M., and Winslow, L. A.: A General Lake Model (GLM 3.0) for linking with high-frequency sensor data from the Global Lake Ecological Observatory Network (GLEON), Geosci. Model Dev., 12, 473–523, <ext-link xlink:href="https://doi.org/10.5194/gmd-12-473-2019" ext-link-type="DOI">10.5194/gmd-12-473-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 1?><mixed-citation>
Holmes, R. W.: The Secchi Disk in turbid Costal Waters, Limnol.
Oceanogr., 15, 688–694, 1970.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 1?><mixed-citation>
Hornung, R.: Numerical Modelling of Stratification in Lake Constance with
the 1-D hydrodynamic model DYRESM, University of Stuttgart, Stuttgart, 101
pp., 2002.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 1?><mixed-citation>
Hostetler, S. W.: Simulation of Lake Evaporation With Aoolication to
Modeling Lake Level Variations of Harney-Malheur Lake, Oregon, Water
Resour. Res., 26, 2603–2612, 1990.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 1?><mixed-citation>
Hyndman, R. J.  and Khandakar, Y.: Automatic time series for forecasting:
the forecast package for R, 6/07, Monash University, Department of
Econometrics and Business Statistics, 2007.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 1?><mixed-citation>Ladwig, R., Furusato, E., Kirillin, G., Hinkelmann, R., and Hupfer, M.:
Climate Change Demands Adaptive Management of Urban Lakes: Model-Based
Assessment of Management Scenarios for Lake Tegel (Berlin, Germany), Water,
10, 186, <ext-link xlink:href="https://doi.org/10.3390/w10020186" ext-link-type="DOI">10.3390/w10020186</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><?label 1?><mixed-citation>
Lenhart, T., Eckhardt, K., Fohrer, N., and Frede, H.-G.: Comparison of two
different approaches of sensitivity analysis, Phys. Chem.
Earth, 27, 645–654, 2002.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><?label 1?><mixed-citation>Luo, L., Hamilton, D., Lan, J., McBride, C., and Trolle, D.: Autocalibration of a one-dimensional hydrodynamic-ecological model (DYRESM 4.0-CAEDYM 3.1) using a Monte Carlo approach: simulations of hypoxic events in a polymictic lake, Geosci. Model Dev., 11, 903–913, <ext-link xlink:href="https://doi.org/10.5194/gmd-11-903-2018" ext-link-type="DOI">10.5194/gmd-11-903-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><?label 1?><mixed-citation>Mi, C., Frassl, M. A., Boehrer, B., and Rinke, K.: Episodic wind events
induce persistent shifts in the thermal stratification of a reservoir
(Rappbode Reservoir, Germany), Int. Rev. Hydrobiol., 103,
71–82, <ext-link xlink:href="https://doi.org/10.1002/iroh.201701916" ext-link-type="DOI">10.1002/iroh.201701916</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><?label 1?><mixed-citation>Niedda, M. and Pirastru, M.: Hydrological processes of a closed
catchment-lake system in a semi-arid Mediterranean environment, Hydrol.
Process., 27, 3617–3626, <ext-link xlink:href="https://doi.org/10.1002/hyp.9478" ext-link-type="DOI">10.1002/hyp.9478</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><?label 1?><mixed-citation>Niedda, M., Pirastru, M., Castellini, M., and Giadrossich, F.: Simulating
the hydrological response of a closed catchment-lake system to recent
climate and land-use changes in semi-arid Mediterranean environment, J. Hydrol., 517, 732–745, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2014.06.008" ext-link-type="DOI">10.1016/j.jhydrol.2014.06.008</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><?label 1?><mixed-citation>Pianosi, F., Beven, K., Freer, J., Hall, J. W., Rougier, J., Stephenson, D.
B., and Wagener, T.: Sensitivity analysis of environmental models: A
systematic review with practical workflow, Environ. Modell.
Softw., 79, 214–232, <ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2016.02.008" ext-link-type="DOI">10.1016/j.envsoft.2016.02.008</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><?label 1?><mixed-citation>
Piccolroaz, S.  and Toffolon, M.: The fate of Lake Baikal: how climate
change may alter deep ventilation in the largest lake on Earth, Climatic
Change, 150, 181–194, 2018.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><?label 1?><mixed-citation>Pietikäinen, J.-P., Markkanen, T., Sieck, K., Jacob, D., Korhonen, J., Räisänen, P., Gao, Y., Ahola, J., Korhonen, H., Laaksonen, A., and Kaurola, J.: The regional climate model REMO (v2015) coupled with the 1-D freshwater lake model FLake (v1): Fenno-Scandinavian climate and lakes, Geosci. Model Dev., 11, 1321–1342, <ext-link xlink:href="https://doi.org/10.5194/gmd-11-1321-2018" ext-link-type="DOI">10.5194/gmd-11-1321-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><?label 1?><mixed-citation>Pilz, T., Francke, T., and Bronstert, A.: lumpR 2.0.0: an R package facilitating landscape discretisation for hillslope-based hydrological models, Geosci. Model Dev., 10, 3001–3023, <ext-link xlink:href="https://doi.org/10.5194/gmd-10-3001-2017" ext-link-type="DOI">10.5194/gmd-10-3001-2017</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><?label 1?><mixed-citation>Pirastru, M.  and Niedda, M.: Evaluation of the soil water balance in an
alluvial flood plain with a shallow groundwater table, Hydrolog. Sci.
J., 58, 898–911, <ext-link xlink:href="https://doi.org/10.1080/02626667.2013.783216" ext-link-type="DOI">10.1080/02626667.2013.783216</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><?label 1?><mixed-citation>
Poole, H. and Atkins, W.: Photo-electric measurements of submarine
illumination throughout the year, J. Mar. Biol.
Assoc. UK, 16, 297–324, 1929.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><?label 1?><mixed-citation>Rigosi, A., Marcé, R., Escot, C., and Rueda, F. J.: A calibration
strategy for dynamic succession models including several phytoplankton
groups, Environ. Modell. Softw., 26, 697–710,
<ext-link xlink:href="https://doi.org/10.1016/j.envsoft.2011.01.007" ext-link-type="DOI">10.1016/j.envsoft.2011.01.007</ext-link>, 2011.</mixed-citation></ref>
      <?pagebreak page580?><ref id="bib1.bib43"><label>43</label><?label 1?><mixed-citation>Robertson, D. M., Juckem, P. F., Dantoin, E. D., and Winslow, L. A.: Effects
of water level and climate on the hydrodynamics and water quality of Anvil
Lake, Wisconsin, a shallow seepage lake, Lake and Reserv. Manage., 34, 211–231,
<ext-link xlink:href="https://doi.org/10.1080/10402381.2017.1412374" ext-link-type="DOI">10.1080/10402381.2017.1412374</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><?label 1?><mixed-citation>
Snortheim, C. A., Hanson, P. C., McMahon, K. D., Read, J. S., Carey, C. C.,
and Dugan, H. A.: Meteorological drivers of hypolimnetic anoxia in a
eutrophic, north temperate lake, Ecol. Model., 343, 39–53, 2017.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><?label 1?><mixed-citation>Vanderkelen, I., van Lipzig, N. P. M., and Thiery, W.: Modelling the water balance of Lake Victoria (East Africa) – Part 1: Observational analysis, Hydrol. Earth Syst. Sci., 22, 5509–5525, <ext-link xlink:href="https://doi.org/10.5194/hess-22-5509-2018" ext-link-type="DOI">10.5194/hess-22-5509-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib46"><label>46</label><?label 1?><mixed-citation>Verzani, J.: Examples for gWidgets, R package version gWidgets 0.0-41, available at:
<uri>https://cran.r-project.org/web/packages/gWidgets/vignettes/gWidgets.pdf</uri> (last access: 30 January 2020),
2014.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><?label 1?><mixed-citation>Vetter, M.  and Sousa, A.: Past and current trophic development in Lake
Ammersee – Alterations in a normal range or possible signals of climate
change?, Fund. Appl. Limnol., 180, 41–57, <ext-link xlink:href="https://doi.org/10.1127/1863-9135/2012/0123" ext-link-type="DOI">10.1127/1863-9135/2012/0123</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><?label 1?><mixed-citation>Weber, M., Rinke, K., Hipsey, M. R., and Boehrer, B.: Optimizing withdrawal
from drinking water reservoirs to reduce downstream temperature pollution
and reservoir hypoxia, J. Environ. Manage., 197, 96–105,
<ext-link xlink:href="https://doi.org/10.1016/j.jenvman.2017.03.020" ext-link-type="DOI">10.1016/j.jenvman.2017.03.020</ext-link>, 2017.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib49"><label>49</label><?label 1?><mixed-citation>Weinberger, S.  and Vetter, M.: Lake heat content and stability variation
due to climate change: coupled regional climate model (REMO)-lake model
(DYRESM) analysis, J. Limnol., 73, 93–105,
<ext-link xlink:href="https://doi.org/10.4081/jlimnol.2014.668" ext-link-type="DOI">10.4081/jlimnol.2014.668</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><?label 1?><mixed-citation>Wenk, M., Poschlod, B., Büche, T., and Vetter, M.: R Package: glmgui (Version 1.0), Zenodo, <ext-link xlink:href="https://doi.org/10.5281/zenodo.2025865" ext-link-type="DOI">10.5281/zenodo.2025865</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><?label 1?><mixed-citation>Williamson, C. E., Saros, J. E., and Schindler, D. W.: Sentinels of Change,
Science, 323, 887–888, <ext-link xlink:href="https://doi.org/10.1126/science.1169443" ext-link-type="DOI">10.1126/science.1169443</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bib52"><label>52</label><?label 1?><mixed-citation>Winslow, L., Read, J., Woolway, R. I., Brentrup, J., Leach, T., and Zwart,
J.: rLakeAnalyzer: 1.8.3 Standardized methods for calculating common
important derived physical features of lakes, <ext-link xlink:href="https://doi.org/10.5281/zenodo.58411" ext-link-type="DOI">10.5281/zenodo.58411</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib53"><label>53</label><?label 1?><mixed-citation>Winslow, L. A., Zwart, J. A., Batt, R. D., Dugan, H. A., Woolway, R. I.,
Corman, J. R., Hanson, P. C., and Read, J. S.: LakeMetabolizer: an R package
for estimating lake metabolism from free-water oxygen using diverse
statistical models, Inland Waters, 6, 622–636, <ext-link xlink:href="https://doi.org/10.1080/iw-6.4.883" ext-link-type="DOI">10.1080/iw-6.4.883</ext-link>, 2018.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>glmGUI v1.0: an R-based graphical user interface and toolbox for GLM (General Lake Model) simulations</article-title-html>
<abstract-html><p>Numerical modeling provides an opportunity to quantify
the reaction of lakes to alterations in their environment, such as changes
in climate or hydrological conditions. The one-dimensional hydrodynamic
General Lake Model (GLM) is an open-source software and widely used within
the limnological research community. Nevertheless, no interface to
process the input data and run the model and no tools for an automatic
parameter calibration yet exist. Hence, we developed <i>glmGUI</i>, a graphical user
interface (GUI) including a toolbox for an autocalibration, parameter
sensitivity analysis, and several plot options. The tool is provided as a
package for the freely available scientific code language R. The model
parameters can be analyzed and calibrated for the simulation output
variables water temperature and lake level.</p><p>The <i>glmGUI</i> package is tested for two sites (lake Ammersee, Germany, and lake
Baratz, Italy), distinguishing size, mixing regime, hydrology of the
catchment area (i.e., the number of inflows and their runoff seasonality),
and climatic conditions. A robust simulation of water temperature for both
lakes (Ammersee: RMSE  = 1.17&thinsp;°C; Baratz: RMSE
 = 1.30&thinsp;°C) is achieved by a quick automatic calibration. The
quality of a water temperature simulation can be assessed immediately by
means of a difference plot provided by <i>glmGUI</i>, which displays the distribution of
the spatial (vertical) and temporal deviations. The calibration of the lake-level simulations of lake Ammersee for multiple hydrological inputs
including also unknown inflows yielded a satisfactory model fit (RMSE  = 0.20&thinsp;m). This shows that GLM can also be used to estimate the water balance
of lakes correctly. The tools provided by <i>glmGUI</i> enable a less time-consuming and
simplified parameter optimization within the calibration process. Due to
this, i.e., the free availability and the implementation in a GUI, the presented R
package expands the application of GLM to a broader field of lake modeling
research and even beyond limnological experts.</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Bay. LfU (Bayerisches Landesamt für Umwelt): Gewässerkundlicher
Dienst Bayern, available at: <a href="https://www.gkd.bayern.de/" target="_blank"/> (last access: 30 January 2020), 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Bruce, L. C., Frassl, M. A., Arhonditsis, G. B., Gal, G., Hamilton, D. P.,
Hanson, P. C., Hetherington, A. L., Melack, J. M., Read, J. S., Rinke, K.,
Rigosi, A., Trolle, D., Winslow, L., Adrian, R., Ayala, A. I., Bocaniov, S.
A., Boehrer, B., Boon, C., Brookes, J. D., Bueche, T., Busch, B. D.,
Copetti, D., Cortés, A., de Eyto, E., Elliott, J. A., Gallina, N.,
Gilboa, Y., Guyennon, N., Huang, L., Kerimoglu, O., Lenters, J. D.,
MacIntyre, S., Makler-Pick, V., McBride, C. G., Moreira, S., Özkundakci,
D., Pilotti, M., Rueda, F. J., Rusak, J. A., Samal, N. R., Schmid, M.,
Shatwell, T., Snorthheim, C., Soulignac, F., Valerio, G., van der Linden,
L., Vetter, M., Vinçon-Leite, B., Wang, J., Weber, M., Wickramaratne,
C., Woolway, R. I., Yao, H., and Hipsey, M. R.: A multi-lake comparative
analysis of the General Lake Model (GLM): Stress-testing across a global
observatory network, Environ. Modell. Softw., 102, 274–291,
<a href="https://doi.org/10.1016/j.envsoft.2017.11.016" target="_blank">https://doi.org/10.1016/j.envsoft.2017.11.016</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Bucak, T., Trolle, D., Tavşanoğlu, Ü. N., Çakıroğlu,
A. İ., Özen, A., Jeppesen, E., and Beklioğlu, M.: Modeling the
effects of climatic and land use changes on phytoplankton and water quality
of the largest Turkish freshwater lake: Lake Beyşehir, Sci.
Total Environ., 621, 802–816,
<a href="https://doi.org/10.1016/j.scitotenv.2017.11.258" target="_blank">https://doi.org/10.1016/j.scitotenv.2017.11.258</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Bueche, T.: The mixing regime of Lake Ammersee, Erde, 147, 275–283, <a href="https://doi.org/10.12854/erde-147-24" target="_blank">https://doi.org/10.12854/erde-147-24</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Bueche, T. and Vetter, M.: Influence of groundwater inflow on water
temperature simulations of Lake Ammersee using a one-dimensional
hydrodynamic lake model, Erdkunde, 68, 19–31, <a href="https://doi.org/10.3112/erdkunde.2014.01.03" target="_blank">https://doi.org/10.3112/erdkunde.2014.01.03</a>,
2014a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Bueche, T. and Vetter, M.: Simulating water temperatures and stratification
of a pre-alpine lake with a hydrodynamic model: calibration and sensitivity
analysis of climatic input parameters, Hydrol. Process., 28,
1450–1464, <a href="https://doi.org/10.1002/hyp.9687" target="_blank">https://doi.org/10.1002/hyp.9687</a>, 2014b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Bueche, T. and Vetter, M.: Future alterations of thermal characteristics in
a medium-sized lake simulated by coupling a regional climate model with a
lake model, Clim. Dynam., 44, 371–384, <a href="https://doi.org/10.1007/s00382-014-2259-5" target="_blank">https://doi.org/10.1007/s00382-014-2259-5</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Bueche, T., Hamilton, D. P., and Vetter, M.: Using the General Lake Model
(GLM) to simulate water temperatures and ice cover of a medium-sized lake: a
case study of Lake Ammersee, Germany, Environ. Earth Sci., 76, 461–475,
<a href="https://doi.org/10.1007/s12665-017-6790-7" target="_blank">https://doi.org/10.1007/s12665-017-6790-7</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Carey, C. C. and Gougis, R. D.: Simulation modeling of lakes in
undergraduate and graduate classrooms increases comprehension of climate
change concepts and experience with computational tools, J. Sci.
Educ. Technol., 26, 1–11, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Chapra, S. C.: Surface water-quality modeling, Waveland press, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Erban, L. E., Balogh, S. B., Campbell, D. E., and Walker, H. A.: An R
Package for Open, Reproducible Analysis of Urban Water Systems, With
Application to Chicago, Open Water Journal, 5,  26–40, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Fenocchi, A., Rogora, M., Sibilla, S., and Dresti, C.: Relevance of inflows
on the thermodynamic structure and on the modeling of a deep subalpine lake
(Lake Maggiore, Northern Italy/Southern Switzerland), Limnologica, 63, 42–56, <a href="https://doi.org/10.1016/j.limno.2017.01.006" target="_blank">https://doi.org/10.1016/j.limno.2017.01.006</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Fenocchi, A., Rogora, M., Sibilla, S., Ciampittiello, M., and Dresti, C.:
Forecasting the evolution in the mixing regime of a deep subalpine lake
under climate change scenarios through numerical modelling (Lake Maggiore,
Northern Italy/Southern Switzerland), Clim. Dynam., 51,  3521–3536, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Fenocchi, A., Rogora, M., Morabito, G., Marchetto, A., Sibilla, S., and
Dresti, C.: Applicability of a one-dimensional coupled
ecological-hydrodynamic numerical model to future projections in a very deep
large lake (Lake Maggiore, Northern Italy/Southern Switzerland), Ecol.
Model., 392, 38–51, <a href="https://doi.org/10.1016/j.ecolmodel.2018.11.005" target="_blank">https://doi.org/10.1016/j.ecolmodel.2018.11.005</a>,
2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Fischer, H. B., List, J. E., Koh, C. R., Imberger, J., and Brooks, N. H.:
Mixing in Inland and Coastal Waters, Academic Press, 1979.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Frassl, M., Weber, M., and Bruce, L. C.: The General Lake Model (GLM),
NETLAKE toolbox for the analysis of high-frequency data from lakes
(Factsheet 3), Technical report. NETLAKE COST Action ES1201, 11–15, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Frassl, M., Boehrer, B., Holtermann, P., Hu, W., Klingbeil, K., Peng, Z.,
Zhu, J., and Rinke, K.: Opportunities and Limits of Using Meteorological
Reanalysis Data for Simulating Seasonal to Sub-Daily Water Temperature
Dynamics in a Large Shallow Lake, Water, 10,  594, <a href="https://doi.org/10.3390/w10050594" target="_blank">https://doi.org/10.3390/w10050594</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Gampe, D., Ludwig, R., Qahman, K., and Afifi, S.: Applying the Triangle
Method for the parameterization of irrigated areas as input for spatially
distributed hydrological modeling – Assessing future drought risk in the
Gaza Strip (Palestine), Sci. Total Environ., 543, 877–888,
<a href="https://doi.org/10.1016/j.scitotenv.2015.07.098" target="_blank">https://doi.org/10.1016/j.scitotenv.2015.07.098</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Giadrossich, F., Niedda, M., Cohen, D., and Pirastru, M.: Evaporation in a Mediterranean environment by energy budget and Penman methods, Lake Baratz, Sardinia, Italy, Hydrol. Earth Syst. Sci., 19, 2451–2468, <a href="https://doi.org/10.5194/hess-19-2451-2015" target="_blank">https://doi.org/10.5194/hess-19-2451-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Grewal, M. S.: Kalman filtering, in: International Encyclopedia of
Statistical Science, Springer, 705–708, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Hanson, P. C., Weathers, K. C., and Kratz, T. K.: Networked lake science:
how the Global Lake Ecological Observatory Network (GLEON) works to
understand, predict, and communicate lake ecosystem response to global
change, Inland Waters, 6, 543–554, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Hicks, B.: Some evaluations of drag and bulk transfer coefficients over
water bodies of different sizes, Bound.-Lay. Meteorol., 3, 201–213,
1972.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Hipsey, M. R., Bruce, L. C., and Hamilton, D. P.: GLM – General Lake Model:
Model overview and user information, AED Report #26, The University of
Western Australia Technical Manual, 1–42, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Hipsey, M. R., Bruce, L. C., Boon, C., Busch, B., Carey, C. C., Hamilton, D. P., Hanson, P. C., Read, J. S., de Sousa, E., Weber, M., and Winslow, L. A.: A General Lake Model (GLM2.4) for linking with high-frequency sensor datafrom the Global Lake Ecological Observatory Network (GLEON), Geosci. Model Dev. Discuss., <a href="https://doi.org/10.5194/gmd-2017-257" target="_blank">https://doi.org/10.5194/gmd-2017-257</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Hipsey, M. R., Bruce, L. C., Boon, C., Busch, B., Carey, C. C., Hamilton, D. P., Hanson, P. C., Read, J. S., de Sousa, E., Weber, M., and Winslow, L. A.: A General Lake Model (GLM 3.0) for linking with high-frequency sensor data from the Global Lake Ecological Observatory Network (GLEON), Geosci. Model Dev., 12, 473–523, <a href="https://doi.org/10.5194/gmd-12-473-2019" target="_blank">https://doi.org/10.5194/gmd-12-473-2019</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Holmes, R. W.: The Secchi Disk in turbid Costal Waters, Limnol.
Oceanogr., 15, 688–694, 1970.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Hornung, R.: Numerical Modelling of Stratification in Lake Constance with
the 1-D hydrodynamic model DYRESM, University of Stuttgart, Stuttgart, 101
pp., 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
Hostetler, S. W.: Simulation of Lake Evaporation With Aoolication to
Modeling Lake Level Variations of Harney-Malheur Lake, Oregon, Water
Resour. Res., 26, 2603–2612, 1990.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Hyndman, R. J.  and Khandakar, Y.: Automatic time series for forecasting:
the forecast package for R, 6/07, Monash University, Department of
Econometrics and Business Statistics, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
Ladwig, R., Furusato, E., Kirillin, G., Hinkelmann, R., and Hupfer, M.:
Climate Change Demands Adaptive Management of Urban Lakes: Model-Based
Assessment of Management Scenarios for Lake Tegel (Berlin, Germany), Water,
10, 186, <a href="https://doi.org/10.3390/w10020186" target="_blank">https://doi.org/10.3390/w10020186</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Lenhart, T., Eckhardt, K., Fohrer, N., and Frede, H.-G.: Comparison of two
different approaches of sensitivity analysis, Phys. Chem.
Earth, 27, 645–654, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Luo, L., Hamilton, D., Lan, J., McBride, C., and Trolle, D.: Autocalibration of a one-dimensional hydrodynamic-ecological model (DYRESM 4.0-CAEDYM 3.1) using a Monte Carlo approach: simulations of hypoxic events in a polymictic lake, Geosci. Model Dev., 11, 903–913, <a href="https://doi.org/10.5194/gmd-11-903-2018" target="_blank">https://doi.org/10.5194/gmd-11-903-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
Mi, C., Frassl, M. A., Boehrer, B., and Rinke, K.: Episodic wind events
induce persistent shifts in the thermal stratification of a reservoir
(Rappbode Reservoir, Germany), Int. Rev. Hydrobiol., 103,
71–82, <a href="https://doi.org/10.1002/iroh.201701916" target="_blank">https://doi.org/10.1002/iroh.201701916</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
Niedda, M. and Pirastru, M.: Hydrological processes of a closed
catchment-lake system in a semi-arid Mediterranean environment, Hydrol.
Process., 27, 3617–3626, <a href="https://doi.org/10.1002/hyp.9478" target="_blank">https://doi.org/10.1002/hyp.9478</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
Niedda, M., Pirastru, M., Castellini, M., and Giadrossich, F.: Simulating
the hydrological response of a closed catchment-lake system to recent
climate and land-use changes in semi-arid Mediterranean environment, J. Hydrol., 517, 732–745, <a href="https://doi.org/10.1016/j.jhydrol.2014.06.008" target="_blank">https://doi.org/10.1016/j.jhydrol.2014.06.008</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
Pianosi, F., Beven, K., Freer, J., Hall, J. W., Rougier, J., Stephenson, D.
B., and Wagener, T.: Sensitivity analysis of environmental models: A
systematic review with practical workflow, Environ. Modell.
Softw., 79, 214–232, <a href="https://doi.org/10.1016/j.envsoft.2016.02.008" target="_blank">https://doi.org/10.1016/j.envsoft.2016.02.008</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
Piccolroaz, S.  and Toffolon, M.: The fate of Lake Baikal: how climate
change may alter deep ventilation in the largest lake on Earth, Climatic
Change, 150, 181–194, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
Pietikäinen, J.-P., Markkanen, T., Sieck, K., Jacob, D., Korhonen, J., Räisänen, P., Gao, Y., Ahola, J., Korhonen, H., Laaksonen, A., and Kaurola, J.: The regional climate model REMO (v2015) coupled with the 1-D freshwater lake model FLake (v1): Fenno-Scandinavian climate and lakes, Geosci. Model Dev., 11, 1321–1342, <a href="https://doi.org/10.5194/gmd-11-1321-2018" target="_blank">https://doi.org/10.5194/gmd-11-1321-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
Pilz, T., Francke, T., and Bronstert, A.: lumpR 2.0.0: an R package facilitating landscape discretisation for hillslope-based hydrological models, Geosci. Model Dev., 10, 3001–3023, <a href="https://doi.org/10.5194/gmd-10-3001-2017" target="_blank">https://doi.org/10.5194/gmd-10-3001-2017</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
Pirastru, M.  and Niedda, M.: Evaluation of the soil water balance in an
alluvial flood plain with a shallow groundwater table, Hydrolog. Sci.
J., 58, 898–911, <a href="https://doi.org/10.1080/02626667.2013.783216" target="_blank">https://doi.org/10.1080/02626667.2013.783216</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
Poole, H. and Atkins, W.: Photo-electric measurements of submarine
illumination throughout the year, J. Mar. Biol.
Assoc. UK, 16, 297–324, 1929.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
Rigosi, A., Marcé, R., Escot, C., and Rueda, F. J.: A calibration
strategy for dynamic succession models including several phytoplankton
groups, Environ. Modell. Softw., 26, 697–710,
<a href="https://doi.org/10.1016/j.envsoft.2011.01.007" target="_blank">https://doi.org/10.1016/j.envsoft.2011.01.007</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
Robertson, D. M., Juckem, P. F., Dantoin, E. D., and Winslow, L. A.: Effects
of water level and climate on the hydrodynamics and water quality of Anvil
Lake, Wisconsin, a shallow seepage lake, Lake and Reserv. Manage., 34, 211–231,
<a href="https://doi.org/10.1080/10402381.2017.1412374" target="_blank">https://doi.org/10.1080/10402381.2017.1412374</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
Snortheim, C. A., Hanson, P. C., McMahon, K. D., Read, J. S., Carey, C. C.,
and Dugan, H. A.: Meteorological drivers of hypolimnetic anoxia in a
eutrophic, north temperate lake, Ecol. Model., 343, 39–53, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation>
Vanderkelen, I., van Lipzig, N. P. M., and Thiery, W.: Modelling the water balance of Lake Victoria (East Africa) – Part 1: Observational analysis, Hydrol. Earth Syst. Sci., 22, 5509–5525, <a href="https://doi.org/10.5194/hess-22-5509-2018" target="_blank">https://doi.org/10.5194/hess-22-5509-2018</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation>
Verzani, J.: Examples for gWidgets, R package version gWidgets 0.0-41, available at:
<a href="https://cran.r-project.org/web/packages/gWidgets/vignettes/gWidgets.pdf" target="_blank"/> (last access: 30 January 2020),
2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation>
Vetter, M.  and Sousa, A.: Past and current trophic development in Lake
Ammersee – Alterations in a normal range or possible signals of climate
change?, Fund. Appl. Limnol., 180, 41–57, <a href="https://doi.org/10.1127/1863-9135/2012/0123" target="_blank">https://doi.org/10.1127/1863-9135/2012/0123</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation>
Weber, M., Rinke, K., Hipsey, M. R., and Boehrer, B.: Optimizing withdrawal
from drinking water reservoirs to reduce downstream temperature pollution
and reservoir hypoxia, J. Environ. Manage., 197, 96–105,
<a href="https://doi.org/10.1016/j.jenvman.2017.03.020" target="_blank">https://doi.org/10.1016/j.jenvman.2017.03.020</a>, 2017.

</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation>
Weinberger, S.  and Vetter, M.: Lake heat content and stability variation
due to climate change: coupled regional climate model (REMO)-lake model
(DYRESM) analysis, J. Limnol., 73, 93–105,
<a href="https://doi.org/10.4081/jlimnol.2014.668" target="_blank">https://doi.org/10.4081/jlimnol.2014.668</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation>
Wenk, M., Poschlod, B., Büche, T., and Vetter, M.: R Package: glmgui (Version 1.0), Zenodo, <a href="https://doi.org/10.5281/zenodo.2025865" target="_blank">https://doi.org/10.5281/zenodo.2025865</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation>
Williamson, C. E., Saros, J. E., and Schindler, D. W.: Sentinels of Change,
Science, 323, 887–888, <a href="https://doi.org/10.1126/science.1169443" target="_blank">https://doi.org/10.1126/science.1169443</a>, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>52</label><mixed-citation>
Winslow, L., Read, J., Woolway, R. I., Brentrup, J., Leach, T., and Zwart,
J.: rLakeAnalyzer: 1.8.3 Standardized methods for calculating common
important derived physical features of lakes, <a href="https://doi.org/10.5281/zenodo.58411" target="_blank">https://doi.org/10.5281/zenodo.58411</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>53</label><mixed-citation>
Winslow, L. A., Zwart, J. A., Batt, R. D., Dugan, H. A., Woolway, R. I.,
Corman, J. R., Hanson, P. C., and Read, J. S.: LakeMetabolizer: an R package
for estimating lake metabolism from free-water oxygen using diverse
statistical models, Inland Waters, 6, 622–636, <a href="https://doi.org/10.1080/iw-6.4.883" target="_blank">https://doi.org/10.1080/iw-6.4.883</a>, 2018.
</mixed-citation></ref-html>--></article>
