<?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" article-type="research-article"><?xmltex \makeatother\@nolinetrue\makeatletter?>
  <front>
    <journal-meta><journal-id journal-id-type="publisher">HESS</journal-id><journal-title-group>
    <journal-title>Hydrology and Earth System Sciences</journal-title>
    <abbrev-journal-title abbrev-type="publisher">HESS</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Hydrol. Earth Syst. Sci.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1607-7938</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/hess-26-3477-2022</article-id><title-group><article-title>Spatial extrapolation of stream thermal peaks using <?xmltex \hack{\break}?> heterogeneous time series at a national scale</article-title><alt-title>Spatial extrapolation of stream thermal peaks using heterogeneous time series</alt-title>
      </title-group><?xmltex \runningtitle{Spatial extrapolation of stream thermal peaks using heterogeneous time series}?><?xmltex \runningauthor{A.~Beaufort et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff2">
          <name><surname>Beaufort</surname><given-names>Aurélien</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff2">
          <name><surname>Diamond</surname><given-names>Jacob S.</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-5392-5707</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Sauquet</surname><given-names>Eric</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-9539-7730</ext-link></contrib>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Moatar</surname><given-names>Florentina</given-names></name>
          <email>florentina.moatar@inrae.fr</email>
        </contrib>
        <aff id="aff1"><label>1</label><institution>RiverLy, INRAE, Centre de Lyon-Grenoble Auvergne-Rhône-Alpes, 69100, Villeurbanne, France</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>GéoHydrosystèmes COntinentaux, Université de Tours, Tours, 38000, France</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Florentina Moatar (florentina.moatar@inrae.fr)</corresp></author-notes><pub-date><day>7</day><month>July</month><year>2022</year></pub-date>
      
      <volume>26</volume>
      <issue>13</issue>
      <fpage>3477</fpage><lpage>3495</lpage>
      <history>
        <date date-type="received"><day>21</day><month>April</month><year>2021</year></date>
           <date date-type="accepted"><day>11</day><month>June</month><year>2022</year></date>
           <date date-type="rev-recd"><day>8</day><month>June</month><year>2022</year></date>
           <date date-type="rev-request"><day>5</day><month>May</month><year>2021</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2022 Aurélien Beaufort et al.</copyright-statement>
        <copyright-year>2022</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://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022.html">This article is available from https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022.html</self-uri><self-uri xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022.pdf">The full text article is available as a PDF file from https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d1e116">Spatial reconstruction of stream temperature is relevant to water quality standards and fisheries management, yet large, regional scale datasets are
rare because data are decentralized and inharmonious. This data discordance is a major limitation for understanding thermal regimes of riverine
ecosystems. To overcome this barrier, we first aggregated one of the largest stream temperature databases on record with data from 1700 individual stations over 9 years from 2009–2017 (<inline-formula><mml:math id="M1" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M2" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 45 000 000 hourly measurements) across France (area <inline-formula><mml:math id="M3" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 552 000 <inline-formula><mml:math id="M4" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). For each station, we calculated a simple, ecologically relevant metric – the thermal peak – that captures the magnitude of summer thermal maximums. We then used three statistical models to extrapolate the thermal peak to nearly every stream reach in France and Corsica (<inline-formula><mml:math id="M5" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M6" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 105 800) and compared relative model performances with an air temperature metric. In general, the hottest thermal peaks were found along major rivers, whereas the coldest thermal peaks were found along small rivers with forested riparian zones and strong groundwater inputs and were located in mountainous regions. Several key predictors of the thermal peak emerged, including drainage area, mean summer air temperature, minimum monthly specific discharge, and vegetation cover in the riparian zone. Despite differing predictor importance across model structures, we observed strong concordance among models in their spatial distributions of the thermal peak, suggesting its robustness as a useful metric at the regional scale. Finally, air temperature was found to be a poor proxy for the stream temperature thermal peak across nearly all stations and reaches, highlighting the growing need to measure and account for stream temperature in regional ecological studies.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

      <?xmltex \hack{\newpage}?>
<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e177">Stream water temperature controls the rates of biogeochemical processes (Nimick et al., 2011; Song et al., 2018) and the distribution and phenology of
aquatic communities (Hawkins et al. 1997; Wolter 2007). Water temperature extremes, like summer maxima, are particularly strong drivers of aquatic
biota behavior, habitat selection (Carlson et al., 2007; Xu et al., 2010), and water quality (van Vliet and Zwolsman, 2008). Despite their importance,
we lack an understanding of the spatial distributions of thermal maximums, largely due to a paucity of consistent stream temperature data. There is
thus a need to develop and improve spatially distributed stream temperature datasets with a focus on identifying areas most affected by thermal
maximums.</p>
      <p id="d1e180">National- and even regional-scale stream temperature data are a relatively recent phenomenon (Jackson et al., 2018), in part due to advancements in
in situ sensors (Isaak et al., 2017), but these data tend to be spatiotemporally uncoordinated across regions and river networks (Arismendi et al.,
2014). This results in snapshot datasets, necessitating the use of air temperature proxies to supplement or even replace stream temperature
time series (Conti et al., 2015; Logez et al., 2012; Tisseuil et al., 2012). Indeed, ecologists regularly use air temperature as a proxy or predictor
of stream temperature (Buisson and Grenouillet, 2009; Durance and Ormerod, 2009; Mayer, 2012) despite the fact that water temperature better explains
the spatial organization of aquatic biota (Kirk and Rahel, 2022). While air temperature can be used to fill temporal data gaps (Morrill et al., 2005),
air temperature is a poor surrogate for stream temperature in several cases. In particular, air temperature correlates poorly with stream temperature
in headwater reaches (Caissie, 2006) and in reaches with strong local controls (e.g., riparian vegetation, groundwater inflows, bed form,
impoundements) (Moatar and Gailhard, 2006; Hill and Hawkins, 2014; Loicq et al., 2018; Chandesris et al., 2019; Seyedhashemi et al., 2021).</p>
      <p id="d1e183">The spatial variation of summer stream temperature is controlled by several factors, each with varying spatiotemporal influence (Fullerton et al.,
2015). The most commonly observed factor is stream size – often evaluated with a drainage area or distance-from-source proxy – which tends to have a
positive relationship with stream thermal maxima (Hrachowitz et al., 2010; Imholt et al., 2013; Isaak et al., 2017). As the stream's surface area
increases, it leads to rapid heat transfer and subsequent equilibration with air temperatures. Intuitively, discharge is also a strong control on
stream temperature distributions, with increasing groundwater influence (e.g., measured with monthly flow minima or the base flow index (BFI)) often
cited as a mitigating effect on thermal maxima (Chang and Psaris, 2013; Hare et al., 2021). An obvious candidate factor is summer air temperature,
which exhibits clear positive relationships with stream thermal maxima, albeit at regional scales (Moore et al., 2013; Isaak et al., 2017). In
addition to these three dominant factors, an array of additional controls like local geology, slope, altitude, and riparian cover can modulate these
relationships, leading to unexpected spatial distributions of stream water temperature (Fullerton et al., 2015).</p>
      <p id="d1e186">To account for the variety of controls on stream temperature spatial distributions in a data scarce landscape, researchers turn to predictive
models. Still, despite a recent growth in modeling techniques, including statistical (Segura et al., 2015, Benyahya et al., 2007) and physical (Beaufort
et al., 2016a, b) approaches, models that can capture regional or national-scale stream temperature distributions remain scarce (but see Hare
et al., 2021). At these larger spatial scales, statistical models, which relate stream temperature to climatic and environmental variables, are likely
the most pertinent and parsimonious for management. Indeed, geostatistical river network models that can incorporate network covariance structure are
likely the most appropriate and accurate models to estimate spatial distributions of stream temperature (Isaak et al., 2017), but their use is limited
to regions with high data density. As most countries lack the required data for such approaches, researchers are more prone to employ empirical
regressions or machine learning approaches, but the comparative accuracy and utility of these approaches are still unknown.</p>
      <p id="d1e190">In light of these gaps in data and understanding, our objectives were twofold: (1) to aggregate and develop a homogeneous national-scale stream
temperature database for France and (2) to develop empirical statistical models to predict a simple, ecologically relevant stream thermal metric that
captured the magnitude of the stream temperature maxima at the regional scale. To do so, we first defined an interannual thermal metric, which we
termed the “thermal peak”, using heterogeneous and non-concomitant time series of stream temperature and estimated it at 1700 stations for
2009–2017. We then tested three statistical models and one multi-model approach to predict this metric at the regional scale and compare their
predictive capacity with that of air temperature. Specifically, we used these models to address the following question: what are the spatial patterns
of stream temperature maxima in France and their drivers, and are these patterns consistent across modeling approaches? We hypothesized that spatial
patterns would be consistent, whereas the drivers would depend on the modeling approach used. We also hypothesized that stream size, air temperature,
and groundwater contributions would emerge as important, regardless of approach.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Methods</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Study area and monitoring network</title>
      <p id="d1e208">The study area is continental France and Corsica (550 000 <inline-formula><mml:math id="M7" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>). France is located in a temperate zone characterized by a variety of climates
due to the influences of the Atlantic Ocean, the Mediterranean Sea, and mountain areas. We assembled a large stream temperature dataset for this area
by combining data from public (national, regional; approximately 600 stations available from <uri>http://www.naiades.eaufrance.fr/</uri>, last access: 25 March 2019), fishing associations, and other private agencies. Due to the diversity of data origins, the assembled time series did not have a consistent spatial and temporal structure. Some regions are densely monitored, while others had few instrumented streams, and many of the data do not exhibit temporal overlap, challenging our ability to define comparable metrics among streams. Hence, our main challenge was to coalesce and homogenize all the disparate data sources.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1" specific-use="star"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e228">Outlier detection and data filtering process of stream temperature dataset.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="justify" colwidth="25mm"/>
     <oasis:colspec colnum="2" colname="col2" align="justify" colwidth="60mm"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="center"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Filter type</oasis:entry>
         <oasis:entry colname="col2">Definition</oasis:entry>
         <oasis:entry colname="col3">Threshold ( <inline-formula><mml:math id="M8" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col4">Data removed (%)</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Stream temperature</oasis:entry>
         <oasis:entry colname="col2">Maximum temperature <inline-formula><mml:math id="M9" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> threshold (by month)</oasis:entry>
         <oasis:entry colname="col3">14, 15, 20, 24, 28, 30, 32, 33,</oasis:entry>
         <oasis:entry colname="col4">2</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">anomalies from</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">29, 28, 18, 17 (Jan–Dec)</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">hourly data</oasis:entry>
         <oasis:entry colname="col2">Minimum temperature <inline-formula><mml:math id="M10" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> threshold</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M11" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>0.5</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Difference in consecutive data <inline-formula><mml:math id="M12" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> threshold</oasis:entry>
         <oasis:entry colname="col3">2</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Daily diel range <inline-formula><mml:math id="M13" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> threshold</oasis:entry>
         <oasis:entry colname="col3">7</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Difference in daily max. or min. in consecutive data <inline-formula><mml:math id="M14" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> threshold</oasis:entry>
         <oasis:entry colname="col3">3</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Monthly <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2"><inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> of daily regressions by month <inline-formula><mml:math id="M17" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> threshold</oasis:entry>
         <oasis:entry colname="col3">0.1 [unitless]</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">anomalies</oasis:entry>
         <oasis:entry colname="col2">Deviation of the monthly difference (<inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) to its interannual mean <inline-formula><mml:math id="M19" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> threshold</oasis:entry>
         <oasis:entry colname="col3">4</oasis:entry>
         <oasis:entry colname="col4"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Daily <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> <?xmltex \hack{\hfill\break}?>anomalies</oasis:entry>
         <oasis:entry colname="col2">Daily difference (<inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) <inline-formula><mml:math id="M22" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> the monthly mean of daily differences by threshold</oasis:entry>
         <oasis:entry colname="col3">2.5</oasis:entry>
         <oasis:entry colname="col4">5</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d1e548">The stream temperature data used here comprise approximately 45 000 000 hourly measurements from 1700 unique measurement stations
(<inline-formula><mml:math id="M23" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M24" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 2 107 623 site days) collected between 2009 and 2017, primarily during summer. All the stations under strong human influence (i.e., dam
releases and nuclear power thermal effluent) were excluded from this dataset. All data were recorded by automatic data loggers managed by
professional biologists, hydrologists, and fishermen. Outliers from each station's time series were removed with automatic outlier detection filters,
and the resulting hourly data were screened visually before being averaged into daily mean stream temperature data (hereafter referred to as
<inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>). The automatic outlier detection consists of three steps with eight unique filters that remove, in order, (1) stream temperature
anomalies based on hourly data, (2) anomalies between <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and daily mean air temperature (<inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) at monthly scales, and
(3) anomalies between <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> at daily scales (Table 1; Moatar et al., 2001; Beaufort et al., 2020b). <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> was
provided by the 8 <inline-formula><mml:math id="M31" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula> gridded SAFRAN (Système d'Analyse Fournissant des Renseignements Atmosphériques à la Neige) atmospheric
reanalysis data released by Météo-France over the 2009–2017 period (Vidal et al., 2010). It was extracted from SAFRAN meshes overlapping the station
location.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1" specific-use="star"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e643">Data availability for each temperature station used in this study. <bold>(a)</bold> Map of stream temperature stations in France with RHT network shown for all reaches of Strahler order <inline-formula><mml:math id="M32" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 4. <bold>(b)</bold> Heatmap of data availability by year (<inline-formula><mml:math id="M33" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis) and station (<inline-formula><mml:math id="M34" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis) with the total stations per year listed at the top of each column. Sites are colored by the number of years with observations. <bold>(c)</bold> Distributions of drainage area for RHT reaches (blue) and of thermal stations (black).</p></caption>
          <?xmltex \igopts{width=398.338583pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f01.png"/>

        </fig>

      <p id="d1e683">To understand spatial patterns in ecologically meaningful temperature metrics, we focused on the two hottest stream temperature months, July and
August (hereafter referred to as summer), a time period essential for the growth and survival of many aquatic species. This focus also had the benefit
of maximizing the number of observation stations for analysis. Still, out of the 1700 stations, 490 stations had just 1 year of data, 88 stations
had observations covering summer over all 9 years, and only 30 had year-round observations for all 9 years (Fig. 1a and b). To obtain hydraulic and
hydrologic characteristics for each station, stations were projected onto the Theoretical Hydrographic Network for France (RHT; Pella et al., 2012),
an oriented hydrographic network with defined flow directions (i.e., built-in upstream–downstream dependencies) that comprises 114 600 reaches of
median length 1961 <inline-formula><mml:math id="M35" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> (2475 <inline-formula><mml:math id="M36" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 1512 <inline-formula><mml:math id="M37" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>, mean <inline-formula><mml:math id="M38" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> SD). The majority of stations were located on RHT river reaches with drainage
areas 20–500 <inline-formula><mml:math id="M39" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, whereas most reaches are small streams with a drainage area of less than 20 <inline-formula><mml:math id="M40" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (Fig. 1c).</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Defining the thermal peak metric</title>
      <p id="d1e747">Due to the limited concordance among stream temperature time series (Fig. 1b) and to focus our analysis towards ecologically relevant ends, we
summarized stream temperature data with a simple metric, the thermal peak. This metric has precedent in regional species distribution models that
instead used air temperature (hereafter referred to as <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) as a proxy (Buisson and Grenouillet, 2009). We refer to this metric as the
thermal peak (<inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) and define it as the interannual average of the mean temperature of the 30 hottest consecutive days of each year
<inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:msub><mml:mo>)</mml:mo><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>:
<?xmltex \hack{\newpage}?><?xmltex \hack{\vspace*{-6mm}}?>
            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M44" display="block"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:munderover><mml:msub><mml:mfenced close=")" open="("><mml:mover accent="true"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:mfenced><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mi>N</mml:mi></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M45" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> is the year index, and <inline-formula><mml:math id="M46" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> is the number of years of observation available from 2009–2017 (<inline-formula><mml:math id="M47" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M48" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1–9).</p>
      <p id="d1e881">We did not know a priori the 30 hottest consecutive days of each year, but a sensitivity analysis on the sites with annual data suggests that July
and August were regularly the hottest months (Fig. B1). Indeed, across sites with annual data, the hottest day of the year always occurred within the
approximate 30 <inline-formula><mml:math id="M49" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula> period between 28 July and 30 August (mean <inline-formula><mml:math id="M50" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> SD: 12 August <inline-formula><mml:math id="M51" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 16 <inline-formula><mml:math id="M52" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula>), and only 3 % of site years had
their hottest 30 <inline-formula><mml:math id="M53" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula> outside of this period. This fact further allowed us to take advantage of many of the sub-annual time series, particularly those
generated by fishing agencies, which only contain July and August data.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T2" specific-use="star"><?xmltex \currentcnt{2}?><label>Table 2</label><caption><p id="d1e925">List of thermal peak terminology with the count of sites (<inline-formula><mml:math id="M54" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>) used in their calculation.</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="justify" colwidth="130mm"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Notation</oasis:entry>
         <oasis:entry colname="col2">Definition</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M55" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula></oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>obs</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">thermal peak, or the interannual average of the mean temperature of the 30 hottest consecutive days of each year for station with observations</oasis:entry>
         <oasis:entry colname="col3">1700</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">thermal peak for reference stations with all 9 years of data</oasis:entry>
         <oasis:entry colname="col3">30</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>clim</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">thermal peak for stations with less than 9 years of data to which climate correction was applied</oasis:entry>
         <oasis:entry colname="col3">1670</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">thermal peak for reference stations with introduced data gaps</oasis:entry>
         <oasis:entry colname="col3">30</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>fill</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">thermal peak for reference stations whose introduced data gaps were filled with climate correction</oasis:entry>
         <oasis:entry colname="col3">30</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">modeled thermal peak using statistical extrapolation to the RHT network using statistical method m</oasis:entry>
         <oasis:entry colname="col3">114 600</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">thermal peak estimated using the SAFRAN reanalysis <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> data</oasis:entry>
         <oasis:entry colname="col3">114 600</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Climate correction of the thermal peak</title>
      <p id="d1e1171">The thermal peak can be biased depending on the climatic variability of the years of observation for each station. Indeed, only 30 of our stations had
<inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> calculated using all 9 years of data and therefore had the highest level of confidence in their estimate. We refer to the
<inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from these 30 stations as <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, indicating that these are reference, or true, estimates of <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
(Table 2). To account for the bias associated with missing data at the remaining 1670 stations, we gap-filled missing data at these stations using
site-specific stream–air temperature regressions. This method accounts for interannual variation in climatic forcing on stream temperature, and we
therefore refer to it as a climate correction.</p>
      <p id="d1e1223">The climate correction is achieved by first calculating station-specific regressions during summer between daily <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and a right-aligned
moving average of <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> at lags ranging from 2–10 <inline-formula><mml:math id="M70" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula>. The moving average lag whose regression produced the highest coefficient of
determination was then used to fill gaps in the time series of <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for each station. Stations with watershed areas greater than
1000 <inline-formula><mml:math id="M72" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> tended to have the best <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> at the longest lags, but there were no clear trends at smaller watershed areas (Fig. B2). Next, we
reconstructed summer stream temperature using this regression and subsequently recalculated <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> based on these reconstructed data. We refer
to <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from these climate-corrected data as <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>clim</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> to indicate that missing data were gap-filled with the climate
correction procedure (Table 2).</p>
      <p id="d1e1328">To validate this approach, we conducted a permutation test on the 30 stations with full annual monitoring from 2009–2017 (i.e., sites where a
<inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is known). At each site, we introduced randomly placed, artificial annual gaps into observed data ranging from
1–9 <inline-formula><mml:math id="M78" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">years</mml:mi></mml:mrow></mml:math></inline-formula> to simulate missing data. We then backfilled these introduced gaps according to the climate correction method. Following
gap-filling, we calculated two metrics: (1) <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> using gap-induced data without gap-filling (<inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) and (2) the
thermal peak using the gap-filled data (<inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>fill</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>; Table 2). We then compare these two metrics to the reference thermal peak
(<inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) using absolute biases at each tested permutation (i.e., the number of introduced gap years). This approach allowed us to
assess whether the climate-corrected reconstruction of the gaps in time series is (1) a useful approach and (2) lower in bias and uncertainty compared
to using observed data alone.</p>
</sec>
<sec id="Ch1.S2.SS4">
  <label>2.4</label><title>Extrapolating the thermal peak to national scale with statistical modeling</title>
      <p id="d1e1423">We estimated <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> throughout the entire RHT network using four distinct statistical models. For modeling (<inline-formula><mml:math id="M84" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) it
was not clear how to choose a priori a particular model structure due to the complexity of the processes involved in determining local stream
temperature. Therefore, we tested four different structures: (1) a multiple linear regression model (REG), (2) an artificial neural network model (ANN)
that is potentially nonlinear but encompasses a linear model as a special case, (3) a random forest model (RF) that can also be nonlinear but with
a different strategy than ANN, and (4) a multi-model combination (MM), which combines the three prior structures ANN, RF, and REG. All these models are
based on a function to estimate <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at all stations (<inline-formula><mml:math id="M86" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>):
            <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M87" display="block"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>)</mml:mo><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the <inline-formula><mml:math id="M89" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>th explanatory variable defined for each <inline-formula><mml:math id="M90" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>th station.</p>
      <p id="d1e1558">To measure how stream thermal regime estimations might be different if using a <inline-formula><mml:math id="M91" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> proxy, we also calculated <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>
using <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>. The <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is calculated identically to <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> but using daily <inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> instead of daily
<inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, as would be done in ecological studies using <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> as a proxy for <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Finally, to determine the effect of climate
corrections on the full RHT extrapolation, we compared the distribution of <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> values when models were fitted using either
<inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>obs</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>clim</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T3" specific-use="star"><?xmltex \currentcnt{3}?><label>Table 3</label><caption><p id="d1e1723">List of explanatory variables used in models and hypothesized effects on thermal peaks.</p></caption><oasis:table frame="topbot"><?xmltex \begin{scaleboxenv}{.92}[.92]?><oasis:tgroup cols="6">
     <oasis:colspec colnum="1" colname="col1" align="justify" colwidth="20mm"/>
     <oasis:colspec colnum="2" colname="col2" align="justify" colwidth="45mm"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:colspec colnum="5" colname="col5" align="justify" colwidth="35mm"/>
     <oasis:colspec colnum="6" colname="col6" align="justify" colwidth="35mm"/>
     <oasis:thead>
       <oasis:row rowsep="1">

         <oasis:entry colname="col1">Category</oasis:entry>

         <oasis:entry colname="col2">Variable [units]</oasis:entry>

         <oasis:entry colname="col3">Notation</oasis:entry>

         <oasis:entry colname="col4">Source</oasis:entry>

         <oasis:entry colname="col5">Hypothesized effect</oasis:entry>

         <oasis:entry colname="col6">Reference</oasis:entry>

       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>

         <oasis:entry colname="col1">Climatic<inline-formula><mml:math id="M110" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col2">Mean annual precipitation<?xmltex \hack{\hfill\break}?>[<inline-formula><mml:math id="M111" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3"><inline-formula><mml:math id="M112" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mtext>annual</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col4">SAFRAN</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Reduced <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via increased<?xmltex \hack{\hfill\break}?>baseflow</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Strauch et al. (2017)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Mean summer<inline-formula><mml:math id="M114" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula> precipitation<?xmltex \hack{\hfill\break}?>[<inline-formula><mml:math id="M115" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3"><inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msub><mml:mi>P</mml:mi><mml:mtext>summer</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col4">SAFRAN</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Increased summer <inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula><?xmltex \hack{\hfill\break}?>via warm runoff</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Nelson and Palmer (2007)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Mean annual snow<?xmltex \hack{\hfill\break}?>accumulation [<inline-formula><mml:math id="M118" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3"><inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mtext>annual</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col4">SAFRAN</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Reduced <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via colder<?xmltex \hack{\hfill\break}?>snowmelt water</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Caissie (2006); Webb et al. (2008)</oasis:entry>

       </oasis:row>
       <oasis:row rowsep="1">

         <oasis:entry colname="col1"/>

         <oasis:entry colname="col2">Mean summer<inline-formula><mml:math id="M121" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula> air temperature<?xmltex \hack{\hfill\break}?>[ <inline-formula><mml:math id="M122" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry colname="col3"><inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>summer</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry colname="col4">SAFRAN</oasis:entry>

         <oasis:entry colname="col5">Increased summer <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry colname="col6">Moore et al. (2013); Isaak et al. (2017)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1">Hydrologic</oasis:entry>

         <oasis:entry rowsep="1" colname="col2">Mean annual specific<?xmltex \hack{\hfill\break}?>discharges [<inline-formula><mml:math id="M125" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">L</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3"><inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mtext>mean</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col4">RHT</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Reduced <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via greater<?xmltex \hack{\hfill\break}?>thermal capacity</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Caissie (2006)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Mean monthly minimum<?xmltex \hack{\hfill\break}?>specific discharge<inline-formula><mml:math id="M128" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">c</mml:mi></mml:msup></mml:math></inline-formula> [<inline-formula><mml:math id="M129" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">L</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3"><inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mtext>min</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col4">RHT</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Increased <inline-formula><mml:math id="M131" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via lower<?xmltex \hack{\hfill\break}?>baseflow</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Chang and Psaris (2013)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Concavity index<inline-formula><mml:math id="M132" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">d</mml:mi></mml:msup></mml:math></inline-formula> [–]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3">CI</oasis:entry>

         <oasis:entry rowsep="1" colname="col4">RHT</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Reduced <inline-formula><mml:math id="M133" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at higher CI</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">This paper</oasis:entry>

       </oasis:row>
       <oasis:row rowsep="1">

         <oasis:entry colname="col1"/>

         <oasis:entry colname="col2">Hydrological regime<inline-formula><mml:math id="M134" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">e</mml:mi></mml:msup></mml:math></inline-formula> [–]</oasis:entry>

         <oasis:entry colname="col3">HR</oasis:entry>

         <oasis:entry colname="col4">RHT</oasis:entry>

         <oasis:entry colname="col5">Reduced <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> under high<?xmltex \hack{\hfill\break}?>baseflow regimes and vice<?xmltex \hack{\hfill\break}?>versa</oasis:entry>

         <oasis:entry colname="col6">This paper</oasis:entry>

       </oasis:row>
       <oasis:row>

         <?xmltex \mrwidth{20mm}?><oasis:entry colname="col1" morerows="1">Watershed<?xmltex \hack{\newline}?> characteristics</oasis:entry>

         <oasis:entry rowsep="1" colname="col2">Mean watershed elevation [<inline-formula><mml:math id="M136" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3">elev</oasis:entry>

         <oasis:entry rowsep="1" colname="col4">RHT</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Reduced <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via low <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Isaak and Hubert (2001)</oasis:entry>

       </oasis:row>
       <oasis:row rowsep="1">

         <oasis:entry colname="col2">Drainage area [<inline-formula><mml:math id="M139" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry colname="col3">area</oasis:entry>

         <oasis:entry colname="col4">RHT</oasis:entry>

         <oasis:entry colname="col5">Increased <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> due to greater<?xmltex \hack{\hfill\break}?>thermal exchange</oasis:entry>

         <oasis:entry colname="col6">Hrachowitz et al. (2010); Imholt et al. (2013); Isaak et al. (2017)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Mean slope of the watershed<?xmltex \hack{\hfill\break}?>[<inline-formula><mml:math id="M141" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>]</oasis:entry>

         <oasis:entry rowsep="1" colname="col3">slope</oasis:entry>

         <oasis:entry rowsep="1" colname="col4">RHT</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Reduced <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via reduced<?xmltex \hack{\hfill\break}?>insolation exposure time</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Daigle et al. (2010)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Riparian vegetation cover ratio<?xmltex \hack{\hfill\break}?>in 10 <inline-formula><mml:math id="M143" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> buffer (%)<inline-formula><mml:math id="M144" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">f</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col3">veg</oasis:entry>

         <oasis:entry rowsep="1" colname="col4">SYRAH</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Reduced <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via shading</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Moore et al. (2005)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Linear weir density upstream<?xmltex \hack{\hfill\break}?>of stations <inline-formula><mml:math id="M146" display="inline"><mml:mo>(</mml:mo></mml:math></inline-formula>km<inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mo>)</mml:mo><mml:mi mathvariant="normal">f</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col3">weirs</oasis:entry>

         <oasis:entry rowsep="1" colname="col4">SYRAH</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Increased <inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via warming</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Chandesris et al. (2019)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Areal weir density upstream<?xmltex \hack{\hfill\break}?>of stations (<inline-formula><mml:math id="M149" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">#</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>)<inline-formula><mml:math id="M150" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">f</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col3">weir area</oasis:entry>

         <oasis:entry rowsep="1" colname="col4">SYRAH</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Increased <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via warming</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Chandesris et al. (2019)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry rowsep="1" colname="col2">Pond cover ratio upstream<?xmltex \hack{\hfill\break}?>of stations (%)<inline-formula><mml:math id="M152" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">f</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>

         <oasis:entry rowsep="1" colname="col3">ponds</oasis:entry>

         <oasis:entry rowsep="1" colname="col4">SYRAH</oasis:entry>

         <oasis:entry rowsep="1" colname="col5">Increased <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via warming</oasis:entry>

         <oasis:entry rowsep="1" colname="col6">Seyedhashemi et al. (2021)</oasis:entry>

       </oasis:row>
       <oasis:row>

         <oasis:entry colname="col1"/>

         <oasis:entry colname="col2">Stream incision class <inline-formula><mml:math id="M154" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">f</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>

         <oasis:entry colname="col3">SI</oasis:entry>

         <oasis:entry colname="col4">SYRAH</oasis:entry>

         <oasis:entry colname="col5">Reduced <inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for greater<?xmltex \hack{\hfill\break}?>incision</oasis:entry>

         <oasis:entry colname="col6">Webb et al. (2008)</oasis:entry>

       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup><?xmltex \end{scaleboxenv}?></oasis:table><?xmltex \begin{scaleboxenv}{.92}[.92]?><table-wrap-foot><p id="d1e1726"><?xmltex \hack{\vspace*{2mm}}?><inline-formula><mml:math id="M103" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula> All climate variables are calculated on data from 2009–2017. <inline-formula><mml:math id="M104" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula> Summer refers to July–August. <inline-formula><mml:math id="M105" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">c</mml:mi></mml:msup></mml:math></inline-formula> Determined by geostatistical interpolation on the RHT network (Sauquet et al., 2000) with return period of 5 years. <inline-formula><mml:math id="M106" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">d</mml:mi></mml:msup></mml:math></inline-formula> Ratio of flow duration quantiles <inline-formula><mml:math id="M107" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">99</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, as defined by Catalogne (2012). <inline-formula><mml:math id="M108" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">e</mml:mi></mml:msup></mml:math></inline-formula> Classes from 1–12 with pluvial regimes from 1–6, transition regimes from 7–8, and glacial and snow melting regimes from 9–12 (Sauquet et al., 2008). <inline-formula><mml:math id="M109" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">f</mml:mi></mml:msup></mml:math></inline-formula> Detailed description of these variables in Valette et al. (2012).</p></table-wrap-foot><?xmltex \end{scaleboxenv}?></table-wrap>

<sec id="Ch1.S2.SS4.SSS1">
  <label>2.4.1</label><title>Explanatory variables</title>
      <p id="d1e2748">We selected 16 variables (Table 3) to explain the spatial distribution of <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> based on results from a prior analysis
(Beaufort et al., 2020a), a review of the literature, and an effort to minimize variable collinearity (Fig. B3). We further considered the ability to
calculate or estimate each variable at the scale of the entire RHT network. The variables fall into three categories: climatic, hydrologic, and
watershed characteristics.</p>
      <p id="d1e2767">The four climatic variables were determined from SAFRAN reanalysis data for the years 2009–2017: (1) mean annual precipitation, (2) mean summer
precipitation, (3) mean annual snowfall, and (4) mean summer air temperature.</p>
      <p id="d1e2770">The four hydrological variables were determined by extrapolation based on prior datasets. In general, we wanted to quantify the influence of
groundwater on <inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> but lacked the local hydrometric data necessary to calculate the typically used BFI (Hare et al., 2021) at a majority of
sites. Hence, we turned to the following variables that could potentially quantify groundwater influence across all of our sites. The first two
variables, monthly minimum discharge (Sauquet et al., 2008) and the annual minimum monthly discharge with a return period of 5 years (Catalogne,
2012), describe the low-flow regime of each site. The remaining two variables, the hydrologic regime (HR; Sauquet et al., 2008) and the concavity
index (CI; Catalogne, 2012), are dimensionless and characterize the general hydrology of each site. More specifically, the HR groups sites into one of
12 classes ranging from rainfall-dominated, to transitional, to glacial- and snowmelt-dominated (see Appendix A). These classes generally fall into
buffered (i.e., high baseflow) or highly variable (i.e., low baseflow) hydrologic regimes. The CI describes the concavity of the flow duration curve,
where values close to 1 indicate low flow variability (e.g., large high storage capacity in aquifer or snow), and values close to 0 indicate high flow
variability (e.g., low storage capacity exemplary of Mediterranean systems). The concavity index is computed as follows:
              <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M158" display="block"><mml:mrow><mml:mtext>CI</mml:mtext><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">10</mml:mn></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>Q</mml:mi><mml:mn mathvariant="normal">99</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mi>Q</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is the daily flow that is exceeded <inline-formula><mml:math id="M160" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> % of the time derived from the flow duration curve.</p>
      <p id="d1e2842">The eight variables relating to watershed characteristics were extracted from either the SYRAH-CE (SYstème Relationnel d'Audit de
l'Hydromorphologie des Cours d'Eau) database (Valette et al., 2012) or the RHT database (Pella et al., 2012). The three variables from RHT comprise
(1)  mean altitude, (2) watershed drainage area, and (3) mean slope. The five variables from SYRAH-CE comprise (1) riparian vegetation cover in a
10 <inline-formula><mml:math id="M161" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:math></inline-formula> buffer, (2) linear upstream weir density along the stream, (3) areal upstream weir density for the watershed, (4) upstream pond cover as
a fraction of stream area, and (5) incision class describing the rate of incision of the valley.</p>
</sec>
<sec id="Ch1.S2.SS4.SSS2">
  <label>2.4.2</label><title>Multiple regression</title>
      <p id="d1e2861">We first fit a multiple linear regression model between <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and explanatory variables using all possible variables characterized in
Table 3. Prior to fitting, we scaled the explanatory variables so that their fitted coefficients could be compared in terms of relative importance. We
did not use any variable selection techniques in the multiple regression approach because our goal was to compare across the four modeling approaches
(regression, ANN, random forest, and multi-model) that use the same independent variables. In other words, we did not seek to have the most
parsimonious multiple regression model but instead used all 16 variables (Table 3) to create the model. Each of these variables was previously
assessed for multicollinearity (Fig. B3), and variance inflation factors were all less than 3.</p>
</sec>
<sec id="Ch1.S2.SS4.SSS3">
  <label>2.4.3</label><title>Artificial neural network</title>
      <p id="d1e2883">We then used an ANN — specifically a feed-forward neural network with one hidden layer (R package “nnet”; Venables and Ripley 2002) – to
estimate <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> as a potentially nonlinear function of covariates. An ANN is a flexible mathematical structure with an interconnected set of
simple processing elements, called nodes or neurons, that emulates the functioning of neurons in the human brain. They are used as an alternative
tool to identify and simulate complex and highly nonlinear relationships between input and output data that the ANN identifies during the “learning
process”. We included a direct connection between covariate inputs and outputs so that the case with zero hidden units corresponded to a linear
relationship. We used weight decay regularization, also known as ridge regression, to control overfitting by decreasing less relevant
coefficients. Both the number of hidden units and the amount of weight decay were selected with a first cross-validation procedure (Bishop, 2006). To
quantify the importance of the different covariates, we used a connection weight approach (Olden and Jackson, 2002; Olden et al., 2004):
              <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M164" display="block"><mml:mrow><mml:msub><mml:mi>W</mml:mi><mml:mi>V</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>h</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mtext>nhu</mml:mtext></mml:msubsup><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>V</mml:mi><mml:mo>,</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mi>B</mml:mi><mml:mi>h</mml:mi></mml:msub><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msub><mml:mi>W</mml:mi><mml:mi>V</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (–) is the relevance of covariate <inline-formula><mml:math id="M166" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>,
<inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msub><mml:mi>A</mml:mi><mml:mrow><mml:mi>V</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">h</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (–) is the ANN coefficients connecting hidden unit <inline-formula><mml:math id="M168" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula> to covariate <inline-formula><mml:math id="M169" display="inline"><mml:mi>V</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M170" display="inline"><mml:mrow><mml:msub><mml:mtext>BT</mml:mtext><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (–) is the ANN coefficients connecting hidden unit <inline-formula><mml:math id="M171" display="inline"><mml:mi>h</mml:mi></mml:math></inline-formula> to the output, and nhu is the number of hidden units.</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S2.SS4.SSS4">
  <label>2.4.4</label><title>Random forest</title>
      <p id="d1e3015">We used a random forest (RF) for the third statistical model structure. RF is a machine-learning method that draws bootstrap samples from original
training data and fits a tree to each sample, and the ensemble of trees are used for regression (Breiman, 2001). Each tree recursively partitions the
individuals from each sample into nonoverlapping groups of each predictor, which are then used to predict the target variable, in this
case <inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The average across the ensemble of trees is used as the final regression. The importance of each predictor variable was provided
as standard output by the “randomForest” package, which determines how much the mean square errors in prediction increases when that covariate
is randomly permuted within the tree. We used the R package “randomForest” (Liaw and Wiener, 2002), following Breiman's algorithm (Breiman, 2001)
allowing for 500 trees.</p>
</sec>
<sec id="Ch1.S2.SS4.SSS5">
  <label>2.4.5</label><title>Multi-model combination</title>
      <p id="d1e3037">Finally, we used a multi-model combination approach to obtain a consensus estimation map of <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The temperature predictions
from each previously described model were linearly combined to reduce the associated uncertainties through multiple linear regression.
              <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M174" display="block"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>mm</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mi>a</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ANN</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>b</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>RF</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>c</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>REG</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:mi>d</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>mm</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is the multi-model <inline-formula><mml:math id="M176" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> based on observed and reconstructed <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">w</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for each observation station, <inline-formula><mml:math id="M178" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ANN</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> estimated by ANN for each observation station <inline-formula><mml:math id="M181" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>; <inline-formula><mml:math id="M182" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>RF</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is <inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> estimated by RF at each observation station <inline-formula><mml:math id="M184" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>;
<inline-formula><mml:math id="M185" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>REG</mml:mtext><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is <inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> estimated by multiple regression at each observation station <inline-formula><mml:math id="M187" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>; and <inline-formula><mml:math id="M188" display="inline"><mml:mi>a</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M189" display="inline"><mml:mi>b</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M190" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M191" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula> are fitted regression coefficients.</p>
      <p id="d1e3336">Temperature predictions made by the three models are used as multi-model independent variables, and each model prediction is weighted with a
coefficient to match the observations as closely as possible. Hence, the multi-model coefficients are calculated only in relation to observations at
the 1700 stations. Then, using Eq. (<xref ref-type="disp-formula" rid="Ch1.E5"/>) with calculated coefficients, we extrapolate <inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> along the river network.</p>
</sec>
<sec id="Ch1.S2.SS4.SSS6">
  <label>2.4.6</label><title>Model cross-validation and comparison with air temperature</title>
      <p id="d1e3360">To assess each model's performance prior to spatial extrapolation to the entire RHT network, we conducted a cross-validation on observed data from our
1700 stations. For each model, including <inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, we used 80 % of stations (<inline-formula><mml:math id="M194" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M195" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1360) as training data to estimate model
parameters. Using those model parameters, we estimated validation data <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at the remaining 20 % of stations (<inline-formula><mml:math id="M197" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M198" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 340) and
cross-validated those estimates with <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>obs</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. We conducted this cross-validation 100 times, allowing for random selection of
stations used in the training and validation datasets. We evaluated the results of the cross-validation with the Nash–Sutcliffe efficiency criterion
(NSE; Nash and Sutcliffe, 1970), the RMSE (root mean square error), and biases between observed <inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>obs</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and
<inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. We also conducted regressions of <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>obs</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e3499">We also compared all <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> model results with a thermal peak calculated using only <inline-formula><mml:math id="M205" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> from SAFRAN reanalysis data,
<inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>. The goal was to evaluate model performance with the simplest and most widely available stream temperature proxy.</p>
</sec>
<sec id="Ch1.S2.SS4.SSS7">
  <label>2.4.7</label><title>Hypothesis testing</title>
      <p id="d1e3549">We evaluated the hypothesis that spatial patterns across models would be consistent but that drivers would depend on the modeling approach in two
ways. First, we compared relative importance of the most important variables across models to see if the same variables emerged. Second, we visually
compared maps of <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> and compared their distributions across watershed area and stream order. We evaluated our second
hypothesis that stream size, air temperature, and groundwater contributions would emerge as important, regardless of approach, by comparing their
relationships with <inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> across modeling approaches using Kendall's tau correlation.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Results</title>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Validation of the climate correction approach</title>
      <p id="d1e3601">Gap-filling <inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> with our climate correction approach resulted in consistently lower absolute biases for <inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (i.e.,
<inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>fill</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) compared to only using available data (i.e., <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>), regardless of the length of introduced annual
gaps (Fig. 2). This discrepancy in bias between uncorrected and corrected data increased exponentially with the number of introduced gaps, growing
from a median of 0.03 <inline-formula><mml:math id="M213" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> with 1 year of gaps to 0.25 <inline-formula><mml:math id="M214" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> with 8 years of gaps. Climate-corrected biases remained
below 0.25 <inline-formula><mml:math id="M215" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> for 75 % of the stations with up to 6 years of introduced gaps. There was no systematic bias, regardless of the years
taken into account in the regressions.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e3697">Improvement in absolute bias of thermal peaks across all reference sites (<inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>; <inline-formula><mml:math id="M217" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M218" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 30) when introduced annual gaps were filled with the climate correction procedure (<inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>fill</mml:mtext></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub><mml:mi mathvariant="normal">|</mml:mi></mml:mrow></mml:math></inline-formula>, red boxplots) compared to when gaps were unfilled (<inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>gap</mml:mtext></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub><mml:mi mathvariant="normal">|</mml:mi></mml:mrow></mml:math></inline-formula>, blue boxplots), regardless of the number of introduced gaps.</p></caption>
          <?xmltex \igopts{width=213.395669pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f02.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e3802">Cross-validation performance metrics for modeled thermal peaks (<inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>), where 80 % of stations (<inline-formula><mml:math id="M222" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M223" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1360) were training data, and 20 % of stations (<inline-formula><mml:math id="M224" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M225" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 340) were validation data. Violin plots show distributions of 100 replicates of training-validation data for each model's performance metrics: <bold>(a)</bold> bias relative to <inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, <bold>(b)</bold> NSE, and <bold>(c)</bold> RMSE of <inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> relative to observed <inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Horizontal lines indicate sample medians, and red points indicate sample means. <bold>(d–f)</bold> <inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> vs. <inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>obs</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for each model colored by watershed area at the site. Simple linear regression results (<inline-formula><mml:math id="M231" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M232" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 1700) are shown in blue with comparison to a <inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>:</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> line (dashed).</p></caption>
          <?xmltex \igopts{width=455.244094pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f03.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Model cross-validation</title>
      <p id="d1e3978">In cross-validation, all four statistical models performed substantially better than air temperature at accurately predicting <inline-formula><mml:math id="M234" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
(Fig. 3). Indeed, <inline-formula><mml:math id="M235" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> overestimates the observed <inline-formula><mml:math id="M236" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>ref</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> by 2.5 <inline-formula><mml:math id="M237" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> on average (Fig. 3a), and
the negative NSE for <inline-formula><mml:math id="M238" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> indicates that using a simple mean of <inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> observations is a better predictor of
<inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> than using <inline-formula><mml:math id="M241" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. 3b). Overall, models tend to slightly underestimate <inline-formula><mml:math id="M242" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. 3a), but mean biases are close
to 0 <inline-formula><mml:math id="M243" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>. The REG and ANN models had similar performance (median RMSE <inline-formula><mml:math id="M244" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 1.5 <inline-formula><mml:math id="M245" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>; median NSE <inline-formula><mml:math id="M246" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.6), whereas the RF
and MM models obtained the best performances (median RMSE <inline-formula><mml:math id="M247" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 1.5 <inline-formula><mml:math id="M248" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>; median NSE <inline-formula><mml:math id="M249" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.7), with the MM slightly superior for NSE
(Fig. 3b and c). The models explain in cross-validation between 70 % and 78 % of the variation in <inline-formula><mml:math id="M250" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>,<inline-formula><mml:math id="M251" display="inline"><mml:msub><mml:mi/><mml:mrow><mml:mi>o</mml:mi><mml:mi>b</mml:mi><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, with the best
performances for RF and MM (Fig. 3d–f). Sites with larger watershed areas had consistent positive bias (lighter colors in Fig. 3d–g), but bias was
more evenly distributed for sites with smaller watershed areas, though the smallest watersheds tended to exhibit negative bias. We did not observe
any strong spatial patterning in performance metrics, although sites with larger watershed areas tended to have positive bias (Fig. 3d–h).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e4190">Relative importance of top four explanatory variables calculated in cross-validation for the estimation of <inline-formula><mml:math id="M252" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> with the models: <bold>(a)</bold> ANN, <bold>(b)</bold> REG, and <bold>(c)</bold> RF. To compare the relative importance of each variable for each model, all variables were centered and scaled. Text in the upper right of each panel refers to the sum of the relative importance of the first four explanatory variables in each model; colors indicate the explanatory variable.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f04.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Explanatory variables' importance and effects in models</title>
      <p id="d1e4227">Variable importance differed among modeling approaches, and the maximum importance value for any one variable was between 25 %–30 %
(Fig. 4). The two most important variables were watershed area (area) and mean summer air temperature (<inline-formula><mml:math id="M253" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>summer</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) for the RF and multiple
regression models (Fig. 4b and c). For the ANN model, minimum monthly specific discharge (<inline-formula><mml:math id="M254" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>) and riparian vegetation cover (veg)
were most important (Fig. 4a; note that <inline-formula><mml:math id="M255" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> is not correlated with area, Fig. B3). Surprisingly, area and <inline-formula><mml:math id="M256" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>summer</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> obtained relative
importance of less than 5 % in ANN, whereas they were the most important variables in the RF and the REG models. Across models, none of the three
precipitation variables (Table 3) emerged as important, nor did the stream incision class.</p>
      <p id="d1e4274">The cumulative importance of the four most relevant variables of the REG and ANN models is, respectively, 92 % and 81 %, which means that the
other variables had very little weight in the estimates. This sum is only 69 % for RF, which indicates that the relative importance of the
explanatory variables is more distributed, and the other explanatory variables had a significant weight in the estimates, which could explain the best
performances in cross-validation of RF. In particular, linear and areal weir density upstream of stations occupied a cumulative 7 % relative
importance. These variables also occupied the two next greatest importance rankings (at 1.7 % and 0.9 % relative importance, respectively) for
the multiple regression model after those shown in Fig. 4.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e4279">Modeled <inline-formula><mml:math id="M257" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at each of the 1700 observation stations as a function of the variables hypothesized to be equally important across approaches. Rows indicate the model used (points also colored accordingly), and columns are separated by area, <inline-formula><mml:math id="M258" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>, and <inline-formula><mml:math id="M259" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>summer</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>; area and <inline-formula><mml:math id="M260" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> are natural-log-transformed. Lines indicate best-fit smoothers using a generalized additive model, and text indicates Kendall's tau correlation values (all <inline-formula><mml:math id="M261" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> <inline-formula><mml:math id="M262" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 0.001). There was no systematic difference in variable effects on <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f05.png"/>

        </fig>

      <p id="d1e4364">The direction and magnitude of effects from the hypothesized variables (area, groundwater contributions, and summer air temperature) did not
systematically differ across modeling approaches (Fig. 5). However, there were minor differences in that the RF model tended towards higher
<inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> than ANN and REG models at small watershed areas and tended towards lower <inline-formula><mml:math id="M265" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> than ANN and REG
models at larger watershed areas (compare Fig. 5g with Fig. 5a and d). The RF model was also less sensitive to <inline-formula><mml:math id="M266" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>summer</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, with RF producing
lower <inline-formula><mml:math id="M267" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> than ANN and REG models at sites with cooler summer temperatures and lower <inline-formula><mml:math id="M268" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> than ANN and
REG models at sites with warmer summer temperatures (compare Fig. 5i with Fig. 5c and f).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e4444">Thermal peaks (<inline-formula><mml:math id="M269" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) of stream water extrapolated to all reaches of the French hydrographical network RHT with the different predictive model structures: <bold>(a)</bold> air temperature (<inline-formula><mml:math id="M270" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>), <bold>(b)</bold> multiple regression (REG), <bold>(c)</bold> artificial neural network (ANN), <bold>(d)</bold> random forest (RF), and <bold>(e)</bold> multi-model combination of all previous models (MM). All reaches are colored by their modeled range of <inline-formula><mml:math id="M271" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and colors are chosen to improve visualization.</p></caption>
          <?xmltex \igopts{width=441.017717pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f06.png"/>

        </fig>

</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Spatial extrapolation of thermal peaks and comparison with air temperature</title>
      <p id="d1e4510">The statistical models could extrapolate <inline-formula><mml:math id="M272" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to 92 % (105 800 reaches) of the RHT network, and the resulting spatial structure of the
extrapolations was consistent across models (Fig. 6). On average, <inline-formula><mml:math id="M273" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> was 18.2 <inline-formula><mml:math id="M274" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> and ranged between 6.3 and
27.0 <inline-formula><mml:math id="M275" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>. The highest <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (i.e., <inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M278" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula> 22 <inline-formula><mml:math id="M279" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>) values were generally found on the
largest rivers located in the southeast and in the sedimentary plains. The lowest <inline-formula><mml:math id="M280" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> values are found in the mountain streams of the
Alps, Pyrenees and Massif Central, and in the northwest. Although the distribution <inline-formula><mml:math id="M281" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is consistent among models (Fig. 6),
there are some clear disparities, particularly at the extremes. The ANN model predicts lower <inline-formula><mml:math id="M282" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> (20 % of reaches
<inline-formula><mml:math id="M283" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M284" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 15 <inline-formula><mml:math id="M285" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>) compared to the RF and multi-model approach (<inline-formula><mml:math id="M286" display="inline"><mml:mo lspace="0mm">&lt;</mml:mo></mml:math></inline-formula> 10 %; Fig. B4a). Application of the climate
correction prior to model fitting and subsequent extrapolation showed that differences at the RHT are less than 0.5 <inline-formula><mml:math id="M287" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> at 89 % of
the reaches (Fig. B4b). Still, 10 % of the reaches exhibited <inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> differences greater than 0.5 <inline-formula><mml:math id="M289" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>, and the
vast majority of these differences are negative (9.4 % vs. 1.6 %), suggesting that climate correction more often than not reduces
overestimates in <inline-formula><mml:math id="M290" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e4751">Differences between stream thermal peaks estimated by air temperature and models depending on <bold>(a)</bold> watershed area and <bold>(b)</bold> minimum monthly specific discharge. To simplify visualization across the 114 600 reaches, points were summarized across 5 % bins in the <inline-formula><mml:math id="M291" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis; points indicate mean values at each bin, with vertical error bars indicating standard error. <bold>(a)</bold> As watershed area increases, <inline-formula><mml:math id="M292" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> shifts from overestimation to underestimation relative to <inline-formula><mml:math id="M293" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, with a shift in sign between 2000 and 5000 <inline-formula><mml:math id="M294" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. <bold>(b)</bold> As minimum monthly specific discharge increases, <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> tends to increase its overestimation relative to <inline-formula><mml:math id="M296" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>, especially for watershed size greater than 100 <inline-formula><mml:math id="M297" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (colors). Only results for RF model are shown for clarity of presentation and because it had the best performance (each model had similar patterns).</p></caption>
          <?xmltex \igopts{width=355.659449pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f07.png"/>

        </fig>

      <p id="d1e4856">Estimating <inline-formula><mml:math id="M298" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> with air temperature (i.e., <inline-formula><mml:math id="M299" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) led to consistently higher values than were obtained with
statistical models, with <inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> greater than 20 <inline-formula><mml:math id="M301" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> for more than 70 % of the reaches (Figs. 6a
and B4a). Indeed, depending on the model, 94 %–97 % of reaches had <inline-formula><mml:math id="M302" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> lower than <inline-formula><mml:math id="M303" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>
(Fig. 6), and more than 95 % of these were in reaches with watershed areas less than 1000 <inline-formula><mml:math id="M304" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. <inline-formula><mml:math id="M305" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> exhibited its
greatest overestimations in the smallest watersheds (Fig. 7a) and switched from overestimation to underestimation relative to
<inline-formula><mml:math id="M306" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> at reaches with watershed areas between 2000–5000 <inline-formula><mml:math id="M307" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>. While this behavior was similar across models, the REG
and ANN models tended to produce lower <inline-formula><mml:math id="M308" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for small areas and higher <inline-formula><mml:math id="M309" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for large areas compared
to RF and MM models, suggesting their increased sensitivity to this variable. <inline-formula><mml:math id="M310" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> also increased its overestimations relative
to <inline-formula><mml:math id="M311" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> in reaches with the most groundwater contributions (Fig. 7b). Similar to watershed area, the REG and ANN models tended
to produce higher <inline-formula><mml:math id="M312" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for low <inline-formula><mml:math id="M313" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> and lower <inline-formula><mml:math id="M314" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> for high <inline-formula><mml:math id="M315" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> than the RF and MM
models, suggesting higher sensitivity to this variable. In other words, in small watersheds with low baseflow, <inline-formula><mml:math id="M316" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> values from REG
and ANN models were 2–3 <inline-formula><mml:math id="M317" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> less than from RF and MM models, but in large watersheds with high baseflow, <inline-formula><mml:math id="M318" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> values
from REG and ANN models were 3–5 <inline-formula><mml:math id="M319" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> greater than from RF and MM models.</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Discussion</title>
      <p id="d1e5187">We compiled one of the largest regional summertime stream temperature datasets to address the growing need to understand the spatial distributions of stream thermal maxima. This database is available for use at the following website: <uri>https://thermie-rivieres.inrae.fr</uri> (last access: 25 May 2022). Using this database, we demonstrated that a simple, ecologically meaningful metric, which we term the thermal peak (<inline-formula><mml:math id="M320" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>), can be reliably estimated at the regional scale using a few easily accessible explanatory variables.</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Horizons and limitations in estimating large-scale stream thermal metrics</title>
      <p id="d1e5211">Spatiotemporally comprehensive stream temperature datasets are rare because interest in these data is relatively recent, and there is little money to
support instrumentation at regional or national scales. This lack of centralized data has been recognized as a major limitation for understanding
thermal regimes of riverine ecosystems (Arismendi et al., 2012; Ouellet et al., 2020). Here, we alleviated these limitations by homogenizing existing
disparate datasets and demonstrated the aggregated utility of such datasets in improving our understanding of stream temperature
distributions. Indeed, our homogenized dataset allowed us to identify, at a national scale, a map of summer stream temperature maxima with important
implications for aquatic species distributions under climate change. We note here that the more detailed computation of <inline-formula><mml:math id="M321" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (i.e., rolling
window of 30 <inline-formula><mml:math id="M322" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula>) could be simplified with a mean of August stream temperature data, as we observed this to regularly be the hottest month
across all observable data.</p>
      <p id="d1e5233">We observed the hottest <inline-formula><mml:math id="M323" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> along major rivers and the coldest <inline-formula><mml:math id="M324" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> along small rivers and in mountainous regions (Fig. 6). The
downside of the current approach is that it is based on interannual metrics. Indeed, the non-concomitance of the time series precluded us from comparing
extreme years (hot vs. cold). However, the stream temperature dataset used here contains enough interannual information that it could be used to
calibrate models and assess the impact of climate change on thermal regimes (see Isaak et al., 2017, 2020). This map can presently be used to predict and manage cold-water stream habitats, with potential for regular multi-annual updates.</p>
      <p id="d1e5258">To enable unbiased comparison among stations from time series with gaps, we used a climate correction of <inline-formula><mml:math id="M325" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> based on regression with
<inline-formula><mml:math id="M326" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>. The efficacy of regressions between <inline-formula><mml:math id="M327" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M328" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is well understood (Ducharne, 2008; Segura et al., 2015, Moatar
and Gailhard, 2006), and the approach can be easily transferred to other stations and regions. On the other hand, a cautious approach is required for
such regressions because they assume seasonal correlation between <inline-formula><mml:math id="M329" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M330" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and can therefore only apply to rivers having
natural seasonal dynamics, without dam release, thermal peaking, or major weirs regulating the flow of streams (Bruno et al., 2013; Chandesris et al.,
2019; Seyedhashemi et al., 2021; Casado et al., 2013). Moreover, our rolling window approach to <inline-formula><mml:math id="M331" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>–<inline-formula><mml:math id="M332" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> regression suggests
that the watershed size may be an important factor in developing these relationships, with regressions for larger rivers benefitting from longer lags
in <inline-formula><mml:math id="M333" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. B2). However, where possible, climate correction makes it possible to significantly reduce the biases in <inline-formula><mml:math id="M334" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
estimates when compared to those made using observed data without climate corrections (Figs. 2 and 3). The biases are reduced when the number of years
of observation available is less than 4. Beyond this limit, the meteorological variability specific to each year is sufficient to estimate
<inline-formula><mml:math id="M335" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which confirms results obtained by Jones and Schmidt (2018). Moreover, climate correction reduces overestimation of <inline-formula><mml:math id="M336" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>,
reinforcing the importance of taking into account these climatic corrections of temperature metrics, even if it only slightly affects the majority of
rivers (Isaak et al., 2017)</p>
</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><?xmltex \opttitle{Spatial extrapolation of $T_{\mathrm{p}}$ is consistent and best predicted with a random forest model}?><title>Spatial extrapolation of <inline-formula><mml:math id="M337" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is consistent and best predicted with a random forest model</title>
      <p id="d1e5415">All four statistical models achieved similar predictive performance, but the RF model exhibited marginal improvements over the others (Fig. 3). The MM
approach only slightly improves performance in cross-validation in comparison with RF (vis-à-vis the NSE criterion), so it is unlikely to be a
useful approach in future applications due to its complexity. Moreover, whereas the multi-model has the best performance, it lacks the explanatory
power and relative simplicity of the other approaches. In contrast, a potential benefit of the multi-model approach is that by leveraging multiple
approaches, it can compensate for errors particular to individual models.</p>
      <p id="d1e5418">Overall, our model performances (NSE <inline-formula><mml:math id="M338" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 0.75, RMSE <inline-formula><mml:math id="M339" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 2) were of the same order as other large-scale stream temperature studies found in the
literature (see Segura et al., 2015; Daigle et al., 2010; Wehrly et al., 2009), suggesting that our approach is reasonable and broadly
applicable. Indeed, literature ranges of RMSE for monthly stream thermal maxima are consistent with values we obtained here (e.g.,
0.9–2.1 <inline-formula><mml:math id="M340" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> for 16 sites across Canada (Daigle et al., 2010) and 2.0–2.3 <inline-formula><mml:math id="M341" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> for 1131 sites across USA (Wehrly et al.,
2009)), suggesting a general accuracy limit to current modeling approaches. This is likely because RF models can be prone to overfitting such that they
can accurately predict a set of observations, but their performance may decline when predictions are made at unsampled locations. They also have less
robust means of model selection and significance testing than the much simpler multiple linear regression approach.</p>
      <p id="d1e5459">In spatial extrapolation, the <inline-formula><mml:math id="M342" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> estimates are globally consistent between the models, and the same spatial structures are found, regardless
of the approach used (Fig. 6). We observed divergences between the models in particular for <inline-formula><mml:math id="M343" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> less than 14 <inline-formula><mml:math id="M344" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>, where the ANN
tends to predict the coldest <inline-formula><mml:math id="M345" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for more reaches compared to other models (Fig. B4). Still, because our analysis is limited to 2009–2017,
these model differences may diminish as <inline-formula><mml:math id="M346" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> measurements grow in time and space. We further note that the performance of the modeling
techniques used here was less than that of spatial stream-network (SSN) models applied to similar temperature datasets, which typically have
<inline-formula><mml:math id="M347" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M348" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 0.90 and RMSE <inline-formula><mml:math id="M349" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 1.0 <inline-formula><mml:math id="M350" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula> (Isaak et al., 2017). We tested a SSN model on a small region well covered by data
(9000 <inline-formula><mml:math id="M351" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, 92 stations) for a robust estimation of parameters with the R package “SSN” (see Fig. B5 and Table B1), and, indeed, SSN had
reduced bias relative to that of the random forest model (absolute bias decreased by 0.2 <inline-formula><mml:math id="M352" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>). By comparing the observed and estimated values,
we can see that compared to the SSN, the RF model tends to underestimate the high values (on major rivers) and to overestimate the low values (on
smaller reaches). Still, the spatial patterns are very consistent among the two approaches, though there are important differences between the SSN and
RF model estimates which can be <inline-formula><mml:math id="M353" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 2 <inline-formula><mml:math id="M354" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>. However, SSNs are labor-intensive to apply in comparison to non-geospatial techniques and
require specialized geospatial algorithms for fitting. Hence, despite lower accuracy, the approaches used here may be useful in more generic use cases
when geospatial data and computing time are limiting.</p>
</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Drivers of thermal peak depend on model structure</title>
      <p id="d1e5607">We observed clear divergence of variable importance for the estimation of <inline-formula><mml:math id="M355" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> among the ANN, RF, and REG models. The two most relevant
variables in RF and REG were watershed area and mean summer air temperature, consistent with other studies (Laanaya et al., 2017; McGarvey et al.,
2018; Moore et al., 2005, 2013). Drainage area also emerged as one of the most important variables driving thermal peaks, behind watershed elevation and slope, in a recent regional study (Johnson et al., 2020). Likewise, distance from source and Strahler order, which directly correlate with drainage area, are known to be important drivers of thermal peaks (Hrachowitz et al., 2010; Imholt et al., 2013; Ducharne, 2008, Mohseni et Stephan, 1999). The clear rationale for this common effect is that longer residence times in large rivers allow for more time for temperature equilibration with the atmosphere compared to small rivers (Beaufort et al., 2020a; Mohseni et al., 1998, Fullerton et al., 2015). Large rivers are also less shaded by riparian vegetation and are less influenced by groundwater inflows, which compounds residence time effects.</p>
      <p id="d1e5621">Importantly, RF had a much more even distribution of variable importance relative to the other models structures, which is likely due to its
nonlinear structure. In contrast, for ANN, the most important variables were minimum monthly specific discharge (43 %) followed by riparian
vegetation cover (23 %). Higher minimum flows imply a consistent groundwater supply, leading to cool surface waters in summer (Hannah et al.,
2004; Kelleher et al., 2012; Lalot et al., 2015). Similarly, greater riparian vegetation implies more shading and reduced temperature increases from
solar radiation (Dugdale et al., 2018; Loicq et al., 2018; Moore et al., 2013). These differences in relevance between the variables for each model
underline the importance of using several approaches and show that the multi-model approach makes it possible to take into account all these
across-model divergences. We caution, however, that while predictability may increase, interpretation of variable importance in multi-models is
complex, and their utility may therefore decrease when project goals are focused on critical variables for stream temperature habitat restoration.</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S4.SS4">
  <label>4.4</label><title>Air temperature is not an appropriate proxy for stream temperature</title>
      <p id="d1e5634">Estimates of <inline-formula><mml:math id="M356" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> produced by stream temperature were clearly more accurate than those produced by air temperature (Figs. 3 and 5). In
cross-validation, <inline-formula><mml:math id="M357" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> overestimated observed <inline-formula><mml:math id="M358" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> by more than 2 <inline-formula><mml:math id="M359" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>, could not differentiate stream temperature among regions (Figs. 6 and 7), and could not differentiate large rivers from small rivers. These results highlight the need to account for stream-specific temperature estimates, especially when such <inline-formula><mml:math id="M360" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> overestimates inflate potential ecological change (see Kirk and Rahel 2022). Our results further demonstrated that this overestimation of <inline-formula><mml:math id="M361" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> was greatest in smaller rivers and that these biases were amplified in streams with significant groundwater contribution (Fig. 7), implying that groundwater buffers effects of increasing <inline-formula><mml:math id="M362" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>. This aligns with recent results that found sites with deep groundwater contributions are much less likely to exhibit increasing summer stream temperatures compared to sites with shallow groundwater contributions (Hare et al., 2021). However, we note that the influence of <inline-formula><mml:math id="M363" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> on <inline-formula><mml:math id="M364" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mtext>air</mml:mtext></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">w</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> is weak up to values of approximately 5 <inline-formula><mml:math id="M365" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">L</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (Fig. 7b), which is in
accordance with recent work in the same region (Beaufort et al., 2020a). This small effect may in part be because <inline-formula><mml:math id="M366" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mo>min⁡</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> is not an effective proxy for groundwater contributions; the base flow index is likely more appropriate (Kelleher et al., 2012; O'Driscoll and DeWalle, 2006; Hare et al., 2021; Johnson et al., 2020), but we were unable to obtain this parameter in this work at a national scale.</p>
      <p id="d1e5807">Overall, this work clearly demonstrates that <inline-formula><mml:math id="M367" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is an inappropriate proxy for <inline-formula><mml:math id="M368" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, with important implications for ecological
studies, especially those that consider temperature tolerance thresholds of aquatic species. Species distribution models may need to use
<inline-formula><mml:math id="M369" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> instead of <inline-formula><mml:math id="M370" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> because data from <inline-formula><mml:math id="M371" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are not sufficient in the regions studied (McGarvey et al., 2018). It is
therefore important to introduce <inline-formula><mml:math id="M372" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in input of these models rather than <inline-formula><mml:math id="M373" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> in order to limit the biases linked to the poor
spatial representation of <inline-formula><mml:math id="M374" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e5899">This research further emphasizes the importance of spatial scale and heterogeneity for water temperature studies. As streams increase in size, they
become more coupled to air temperature dynamics. Hence, smaller reaches more influenced by groundwater inputs and vegetation may serve as “climate
refugia” for ectotherms species especially in the context of climate change. Therefore, choosing the best predictors at a spatial scale for thermal
peaks and other thermal regime metrics is essential to accurately predict and manage future stream cold-water habitat.</p>
</sec>
</sec>
<sec id="Ch1.S5" sec-type="conclusions">
  <label>5</label><title>Conclusion</title>
      <p id="d1e5911">Stream thermal maxima are essential controls on aquatic ecosystems, but our understanding of their spatial distribution and thus our ability to
adequately manage them accordingly are limited by data availability and simple metrics applicable at large scales. To address these gaps, we created a
publicly available, harmonized dataset of stream temperature that can used by ecologists in France and scientists more broadly. We then developed a
simple, ecologically relevant metric – the thermal peak, <inline-formula><mml:math id="M375" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> – that can be extrapolated at large scales, even when data are sparse. We
developed an innovative climate correction method to reduce biases related to such data sparseness, when applied to summer data. The <inline-formula><mml:math id="M376" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
provides an important perspective on the magnitude of thermal maximums during summer, but development of additional metrics such as threshold
exceedance frequency, duration, and timing will continue to grow our understanding of stream temperature behavior under climate change. However,
development of these metrics will require longer and more spatially explicit time series. Hence, we argue that to improve our capacity to manage and
benefit from aquatic ecosystems, it is critical to continue and expand our stream temperature measurement networks.</p>
</sec>

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

<app id="App1.Ch1.S1">
  <?xmltex \currentcnt{A}?><label>Appendix A</label><title>Classification of river flow regime for France</title>
      <p id="d1e5947">Sauquet et al. (2008) defined a classification system for river discharge based on the mean monthly runoff pattern (Fig. A1). Using this
classification system, they published a map with each river reach assigned to one class along the main river network.</p>

      <?xmltex \floatpos{h!}?><fig id="App1.Ch1.S1.F8"><?xmltex \currentcnt{A1}?><?xmltex \def\figurename{Figure}?><label>Figure A1</label><caption><p id="d1e5952">Reference dimensionless hydrographs representative of the classification of river flow regime for France (after Sauquet et al., 2008). The <inline-formula><mml:math id="M377" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis (CM) represents the percent of each month contributing to total annual runoff, equal to monthly runoff (mm) divided by the mean annual runoff (<inline-formula><mml:math id="M378" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi></mml:mrow></mml:math></inline-formula>).</p></caption>
        <?xmltex \hack{\hsize\textwidth}?>
        <?xmltex \igopts{width=483.69685pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f08.png"/>

      </fig>

      <p id="d1e5978">Generally, the uppermost basins located in mountainous areas display glacial- and snowmelt-dominated regimes (Group 1–3). The lower the outlet, the
lower the contributions of snowmelt to runoff. Group 4 to 6 were defined to be in the “transition” regime, where the seasonal variation in
streamflow is affected as much by precipitation timing as by air temperature and topographic influences on snowpack formation and snowmelt timing. In
this regime, high flows are typically observed in spring. Group 7 to 12 are rainfall-dominated regimes. These six rainfall-dominated groups differ
along an axis of maximum and minimum monthly discharges. For instance, group 7 is characterized by very low flow in summer, reflecting the lack of
deep groundwater storages in the catchment. In contrast, Group 12 exhibits nearly uniform flows through most of the year, and these river reaches are
typically found where large aquifers moderate flows.</p><?xmltex \hack{\clearpage}?>
</app>

<app id="App1.Ch1.S2">
  <?xmltex \currentcnt{B}?><label>Appendix B</label><title/>

      <?xmltex \floatpos{h!}?><fig id="App1.Ch1.S2.F9"><?xmltex \currentcnt{B1}?><?xmltex \def\figurename{Figure}?><label>Figure B1</label><caption><p id="d1e5991">Histogram of the median date for the hottest 30 <inline-formula><mml:math id="M379" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula> periods across all sites that had annual data. The 30 <inline-formula><mml:math id="M380" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula> rolling windows of mean daily stream temperature were calculated across the entire time series and for each site, and the 30 <inline-formula><mml:math id="M381" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula> windows with the maximum values were selected here. The median date here refers to day 15 in the 30 <inline-formula><mml:math id="M382" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula> period.</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f09.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="App1.Ch1.S2.F10"><?xmltex \currentcnt{B2}?><?xmltex \def\figurename{Figure}?><label>Figure B2</label><caption><p id="d1e6034">Daily lags for <inline-formula><mml:math id="M383" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> that produce the highest <inline-formula><mml:math id="M384" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> (colors) for a regression between <inline-formula><mml:math id="M385" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and a right-aligned moving average of <inline-formula><mml:math id="M386" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> at each site as a function of watershed area. The moving average lag whose regression produced the highest <inline-formula><mml:math id="M387" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> was used to fill gaps in the time series of <inline-formula><mml:math id="M388" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for each station. Each point represents a station, with the <inline-formula><mml:math id="M389" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis being the watershed area at that station and the <inline-formula><mml:math id="M390" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axis being the lag in <inline-formula><mml:math id="M391" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>air</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> that produced the best regression. Points are jittered for visual clarity; only integer lag values were possible. Black points indicate the mean and standard error (horizontal bars) of watershed areas within each possible lag (2–10 <inline-formula><mml:math id="M392" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:math></inline-formula>).</p></caption>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f10.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="App1.Ch1.S2.F11"><?xmltex \currentcnt{B3}?><?xmltex \def\figurename{Figure}?><label>Figure B3</label><caption><p id="d1e6146">Correlation matrix of all 16 considered environmental variables prior to selection in the thermal peak analysis. All variables had collinearity values less than 0.6 or greater than <inline-formula><mml:math id="M393" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>0.6.</p></caption>
        <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f11.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="App1.Ch1.S2.F12" specific-use="star"><?xmltex \currentcnt{B4}?><?xmltex \def\figurename{Figure}?><label>Figure B4</label><caption><p id="d1e6164">Distributions of <inline-formula><mml:math id="M394" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> extrapolated to all RHT network reaches. <bold>(a)</bold> Histogram of models (10 bins equally spaced between 0 and 30 <inline-formula><mml:math id="M395" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>) according to their extrapolated <inline-formula><mml:math id="M396" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> value, colored by model, and <bold>(b)</bold> differences between <inline-formula><mml:math id="M397" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> calculated with and without climate corrections on the 1630 stations with gaps in their data.</p></caption>
        <?xmltex \igopts{width=441.017717pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f12.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="App1.Ch1.S2.F13" specific-use="star"><?xmltex \currentcnt{B5}?><?xmltex \def\figurename{Figure}?><label>Figure B5</label><caption><p id="d1e6237">Figure comparing modeled thermal peak (<inline-formula><mml:math id="M398" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mrow><mml:mi mathvariant="normal">p</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="normal">m</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula>) estimates from <bold>(a)</bold> SSN, <bold>(b)</bold> RF, and <bold>(c)</bold> the difference between RF and SSN. The SSN model here is from a benchmark test on a small region well covered by data (9000 <inline-formula><mml:math id="M399" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>, 92 stations) for a robust estimation of parameters with the R package “SSN”. SSN had reduced bias relative to that of the random forest model (absolute bias decreased by 0.2 <inline-formula><mml:math id="M400" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>). Additionally, by comparing the observed and estimated values, we can see that RF tends to underestimate the high values and to overestimate the low values. Unfortunately, due to the lack of an RHT with upstream–downstream information, we could not apply at the scale of the whole watershed. Still, the spatial patterns are very consistent among the two approaches, though there are important differences between the SSN and RF model estimates which can be <inline-formula><mml:math id="M401" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 2 <inline-formula><mml:math id="M402" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>. The estimates of the SSN model are generally warmer than those of RF on the main major river axes and colder on the small tributaries. This is also consistent with observations. So, while the presented models may not be optimal, we are confident the spatial patterns are correct.</p></caption>
        <?xmltex \igopts{width=412.564961pt}?><graphic xlink:href="https://hess.copernicus.org/articles/26/3477/2022/hess-26-3477-2022-f13.png"/>

      </fig>

<?xmltex \floatpos{h!}?><table-wrap id="App1.Ch1.S2.T4"><?xmltex \currentcnt{B1}?><label>Table B1</label><caption><p id="d1e6317">Comparison of model performance metrics for the region tested in Fig. B5.</p></caption><oasis:table frame="topbot"><?xmltex \begin{scaleboxenv}{.95}[.95]?><oasis:tgroup cols="5">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="center"/>
     <oasis:colspec colnum="3" colname="col3" align="center"/>
     <oasis:colspec colnum="4" colname="col4" align="center"/>
     <oasis:colspec colnum="5" colname="col5" align="center"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Model</oasis:entry>
         <oasis:entry colname="col2">RMSE (–)</oasis:entry>
         <oasis:entry colname="col3">NSE (–)</oasis:entry>
         <oasis:entry colname="col4">Bias (<inline-formula><mml:math id="M403" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>)</oasis:entry>
         <oasis:entry colname="col5">Absolute bias (<inline-formula><mml:math id="M404" display="inline"><mml:mrow class="unit"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:math></inline-formula>)</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">RF</oasis:entry>
         <oasis:entry colname="col2">1.24</oasis:entry>
         <oasis:entry colname="col3">0.44</oasis:entry>
         <oasis:entry colname="col4">0.01</oasis:entry>
         <oasis:entry colname="col5">0.95</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">SSN</oasis:entry>
         <oasis:entry colname="col2">0.99</oasis:entry>
         <oasis:entry colname="col3">0.81</oasis:entry>
         <oasis:entry colname="col4">0.05</oasis:entry>
         <oasis:entry colname="col5">0.76</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup><?xmltex \end{scaleboxenv}?></oasis:table></table-wrap>

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

      <p id="d1e6426">Water temperature data provided by OFB can be downloaded from <uri>http://www.naiades.eaufrance.fr/acces-donnees#/temperature</uri> (Naiades, 2019). Data generated by this work can be found at <uri>https://thermie-rivieres.inrae.fr</uri> (INRAE, 2022). Additional data and code are from the corresponding author upon reasonable request.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e6438">The paper was authored by AB with contributions from all the co-authors. AB, FM, JSD, and ES contributed to the conceptualization and methodology. AB and JSD performed the formal analysis. ES contributed hydrology metrics. AB, JSD, ES, and FM contributed to the writing and revision of the manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e6444">The contact author has declared that none of the authors has any competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d1e6450">Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e6456">The authors thank Jan Seibert, editor of <italic>Hydrology and Earth System Sciences</italic>, and the three reviewers for their valuable comments, suggestions, and positive feedback on the manuscript. The authors also thank the OFB, the many regional fishing organizations, DREAL, and EDF for the temperature data. The SAFRAN database was provided by the French national meteorological service (Météo-France).</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e6464">This research has been supported by the Agence française pour la biodiversité (grant no. AFB/2018/130).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

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

      <ref id="bib1.bib1"><label>1</label><?label 1?><mixed-citation>Arismendi, I., Johnson, S. L., Dunham, J. B., Haggerty, R., and Hockman-Wert, D.: The paradox of cooling streams in a warming world: regional climate trends do not parallel variable local trends in stream temperature in the Pacific continental United States, Geophys. Res. Lett., 39, L10401, <ext-link xlink:href="https://doi.org/10.1029/2012GL051448" ext-link-type="DOI">10.1029/2012GL051448</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><?label 2?><mixed-citation>Arismendi, I., Safeeq, M., Dunham, J. B., and Johnson, S. L.:
Can air temperature be used to project influences of climate change on stream temperature?, Environ. Res. Lett., 9, 084015, <ext-link xlink:href="https://doi.org/10.1088/1748-9326/9/8/084015" ext-link-type="DOI">10.1088/1748-9326/9/8/084015</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><?label 3?><mixed-citation>Beaufort, A., Moatar, F., Curie, F., Ducharne, A., Bustillo, V., and Thiéry, D.:
River Temperature Modelling by Strahler Order at the Regional Scale in the Loire River Basin, France, River Res. Appl., 32, 597–609, <ext-link xlink:href="https://doi.org/10.1002/rra.2888" ext-link-type="DOI">10.1002/rra.2888</ext-link>, 2016a.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib4"><label>4</label><?label 4?><mixed-citation>
Beaufort, A., Curie, F., Moatar, F., Ducharne, A., Melin, E., and Thiery, D.:
T-NET, a dynamic model for simulating daily stream temperature at the regional scale based on a network topology, Hydrol. Process., 30, 2196–2210, 2016b.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><?label 5?><mixed-citation>Beaufort, A., Moatar, F., Sauquet, E., Loicq, P., and Hannah, D. M.:
Influence of landscape and hydrological factors on stream–air temperature relationships at regional scale, Hydrol. Process., 34, 583–597, <ext-link xlink:href="https://doi.org/10.1002/hyp.13608" ext-link-type="DOI">10.1002/hyp.13608</ext-link>, 2020a.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><?label 6?><mixed-citation>Beaufort, A., Moatar, F., Sauquet, E., and Magand, C.:
Thermie en rivière: Analyse géostatistique et description de régime: Application à l'échelle de la France, INRAE, 106 pp., <uri>https://hal.archives-ouvertes.fr/hal-03126527/</uri> (last access: May 2022), 2020b.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><?label 7?><mixed-citation>
Benyahya, L., Caissie, D., St-Hilaire, A., Ouarda, T. B., and Bobée, B.:
A review of statistical water temperature models, Can. Water Resour. J., 32, 179–192, 2007.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><?label 8?><mixed-citation>
Bishop, C. M.: Pattern recognition and machine learning, Springer, ISBN 978-1-4939-3843-8, 2006.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><?label 9?><mixed-citation>
Breiman, L.:
Random forests, Mach. Learn., 45, 5–32, 2001.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><?label 10?><mixed-citation>
Bruno, M. C., Siviglia, A., Carolli, M., and Maiolini, B.:
Multiple drift responses of benthic invertebrates to interacting hydropeaking and thermopeaking waves, Ecohydrology, 6, 511–522, 2013.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><?label 11?><mixed-citation>
Buisson, L. and Grenouillet, G.:
Contrasted impacts of climate change on stream fish assemblages along an environmental gradient, Divers. Distrib., 15, 613–626, 2009.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><?label 12?><mixed-citation>
Caissie, D.:
The thermal regime of rivers: a review, Freshwater Biol., 51, 1389–1406, 2006.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><?label 13?><mixed-citation>
Carlson, S. M., Hendry, A. P., and Letcher, B. H.:
Growth rate differences between resident native brook trout and non-native brown trout, J. Fish Biol., 71, 1430–1447, 2007.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><?label 14?><mixed-citation>
Casado, A., Hannah, D. M., Peiry, J. L., and Campo, A. M.:
Influence of dam-induced hydrological regulation on summer water temperature: Sauce Grande River, Argentina, Ecohydrology, 6, 523–535, 2013.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><?label 15?><mixed-citation>
Catalogne, C.:
Amélioration des méthodes de prédétermination des débits de référence d'étiage en sites peu ou pas jaugés, Doctorat Ocean Atmosphere Hydrologie, Université Joseph Fourier, Grenoble, 2012.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><?label 16?><mixed-citation>Chandesris, A., Van Looy, K., Diamond, J. S., and Souchon, Y.:
Small dams alter thermal regimes of downstream water, Hydrol. Earth Syst. Sci., 23, 4509–4525, <ext-link xlink:href="https://doi.org/10.5194/hess-23-4509-2019" ext-link-type="DOI">10.5194/hess-23-4509-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><?label 17?><mixed-citation>
Chang, H. and Psaris, M.:
Local landscape predictors of maximum stream temperature and thermal sensitivity in the Columbia River Basin, USA, Sci. Total Environ., 461, 587–600, 2013.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><?label 18?><mixed-citation>
Conti, L., Comte, L., Hugueny, B., and Grenouillet, G.:
Drivers of freshwater fish colonisations and extirpations under climate change, Ecography, 38, 510–519, 2015.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><?label 19?><mixed-citation>
Daigle, A., St-Hilaire, A., Peters, D., and Baird, D.:
Multivariate modelling of water temperature in the Okanagan watershed, Can. Water Resour. J., 35, 237–258, 2010.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><?label 20?><mixed-citation>Ducharne, A.:
Importance of stream temperature to climate change impact on water quality, Hydrol. Earth Syst. Sci., 12, 797–810, <ext-link xlink:href="https://doi.org/10.5194/hess-12-797-2008" ext-link-type="DOI">10.5194/hess-12-797-2008</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><?label 21?><mixed-citation>
Dugdale, S. J., Malcolm, I. A., Kantola, K., and Hannah, D. M.:
Stream temperature under contrasting riparian forest cover: Understanding thermal dynamics and heat exchange processes, Sci. Total Environ., 610, 1375–1389, 2018.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><?label 22?><mixed-citation>
Durance, I. and Ormerod, S. J.:
Trends in water quality and discharge confound long-term warming effects on river macroinvertebrates, Freshwater Biol., 54, 388–405, 2009.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><?label 23?><mixed-citation>
Fullerton, A. H., Torgersen, C. E., Lawler, J. J., Faux, R. N., Steel, E. A., Beechie, T. J., Ebersole, J. L., and Leibowitz, S. G.:
Rethinking the longitudinal stream temperature paradigm: region-wide comparison of thermal infrared imagery reveals unexpected complexity of river temperatures, Hydrol. Process., 29, 4719–4737, 2015.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><?label 24?><mixed-citation>
Hannah, D. M., Malcolm, I. A., Soulsby, C., and Youngson, A. F.:
Heat exchanges and temperatures within a salmon spawning stream in the Cairngorms, Scotland: seasonal and sub-seasonal dynamics, River Res. Appl., 20, 635–652, 2004.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><?label 25?><mixed-citation>
Hare, D. K., Helton, A. M., Johnson, Z. C., Lane, J. W., and Briggs, M. A.:
Continental-scale analysis of shallow and deep groundwater contributions to streams, Nat. Commun., 12, 1–10, 2021.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><?label 26?><mixed-citation>
Hawkins, C. P., Hogue, J. N., Decker, L. M., and Feminella, J. W.:
Channel morphology, water temperature, and assemblage structure of stream insects, J. N Am. Benthol. Soc., 16, pp.728-749, 1997.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><?label 27?><mixed-citation>
Hill, R. A. and Hawkins, C. P.:
Using modelled stream temperatures to predict macro-spatial patterns of stream invertebrate biodiversity, Freshwater Biol., 59, 2632–2644, 2014.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><?label 28?><mixed-citation>
Hrachowitz, M., Soulsby, C., Imholt, C., Malcolm, I., and Tetzlaff, D.:
Thermal regimes in a large upland salmon river: a simple model to identify the influence of landscape controls and climate change on maximum temperatures, Hydrol. Process., 24, 3374–3391, 2010.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><?label 29?><mixed-citation>
Imholt, C., Soulsby, C., Malcolm, I. A., Hrachowitz, M., Gibbins, C. N., Langan, S., and Tetzlaff, D.:
Influence of scale on thermal characteristics in a large montane river basin, River Res. Appl., 29, 403–419, 2013.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><?label 29?><mixed-citation>INRAE: Présentation du projet TIGRE, INRAE [data set], <uri>https://thermie-rivieres.inrae.fr</uri>, last access: 25 May 2022.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><?label 30?><mixed-citation>
Isaak, D. J. and Hubert, W. A.:
A hypothesis about factors that affect maximum summer stream temperatures across montane landscapes, J. Am. Water Resour. As., 37, 351–366, 2001.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><?label 31?><mixed-citation>
Isaak, D. J., Wenger, S. J., Peterson, E. E., Ver Hoef, J. M., Nagel, D. E., Luce, C. H., Hostetler, S. W., Dunham, J. B., Roper, B. B., and Wollrab, S. P.:
The NorWeST summer stream temperature model and scenarios for the western US: A crowd-sourced database and new geospatial tools foster a user community and predict broad climate warming of rivers and streams, Water Resour. Res., 53, 9181–9205, 2017.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><?label 32?><mixed-citation>
Isaak, D. J., Luce, C. H., Horan, D. L., Chandler, G. L., Wollrab, S. P., Dubois, W. B., and Nagel, D. E.:
Thermal regimes of perennial rivers and streams in the Western United States, J. Am. Water Resour. As., 56, 842–867, 2020.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><?label 33?><mixed-citation>
Jackson, F. L., Fryer, R. J., Hannah, D. M., Millar, C. P., and Malcolm, I. A.:
A spatio-temporal statistical model of maximum daily river temperatures to inform the management of Scotland's Atlantic salmon rivers under climate change, Sci. Total Environ., 612, 1543–1558, 2018.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><?label 34?><mixed-citation>Johnson, Z. C., Johnson, B. G., Briggs, M. A., Devine, W. D., Snyder, C. D., Hitt, N. P., Hare, D. K., and Minkova, T. V.: Paired air-water annual temperature patterns reveal hydrogeological controls on stream thermal regimes at watershed to continental scales, J. Hydrol., 587, 124929, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2020.124929" ext-link-type="DOI">10.1016/j.jhydrol.2020.124929</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><?label 35?><mixed-citation>
Jones, N. and Schmidt, B.:
Thermal regime metrics and quantifying their uncertainty for North American streams, River Res. Appl., 34, 382–393, 2018.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><?label 36?><mixed-citation>
Kelleher, C., Wagener, T., Gooseff, M., McGlynn, B., McGuire, K., and Marshall, L.:
Investigating controls on the thermal sensitivity of Pennsylvania streams, Hydrol. Process., 26, 771–785, 2012.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><?label 37?><mixed-citation>Kirk, M. A. and Rahel, F. J.: Air temperatures over-predict changes to stream fish assemblages with climate warming compared with water temperatures, Ecol. Appl., 32, e02465, <ext-link xlink:href="https://doi.org/10.1002/eap.2465" ext-link-type="DOI">10.1002/eap.2465</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><?label 38?><mixed-citation>
Laanaya, F., St-Hilaire, A., and Gloaguen, E.:
Water temperature modelling: comparison between the generalized additive model, logistic, residuals regression and linear regression models, Hydrolog. Sci. J., 62, 1078–1093, 2017.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><?label 39?><mixed-citation>Lalot, E., Curie, F., Wawrzyniak, V., Baratelli, F., Schomburgk, S., Flipo, N., Piegay, H., and Moatar, F.:
Quantification of the contribution of the Beauce groundwater aquifer to the discharge of the Loire River using thermal infrared satellite imaging, Hydrol. Earth Syst. Sci., 19, 4479–4492, <ext-link xlink:href="https://doi.org/10.5194/hess-19-4479-2015" ext-link-type="DOI">10.5194/hess-19-4479-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</label><?label 40?><mixed-citation>
Liaw, A. and Wiener, M.:
Classification and regression by randomForest, R news, 2, 18–22, 2002.</mixed-citation></ref>
      <ref id="bib1.bib42"><label>42</label><?label 41?><mixed-citation>
Logez, M., Bady, P., and Pont, D.:
Modelling the habitat requirement of riverine fish species at the European scale: sensitivity to temperature and precipitation and associated uncertainty, Ecol. Freshw. Fish, 21, 266–282, 2012.</mixed-citation></ref>
      <ref id="bib1.bib43"><label>43</label><?label 42?><mixed-citation>
Loicq, P., Moatar, F., Jullian, Y., Dugdale, S. J., and Hannah, D. M.:
Improving representation of riparian vegetation shading in a regional stream temperature model using LiDAR data, Sci. Total Environ., 624, 480–490, 2018.</mixed-citation></ref>
      <ref id="bib1.bib44"><label>44</label><?label 43?><mixed-citation>
Mayer, T. D.:
Controls of summer stream temperature in the Pacific Northwest, J. Hydrol., 475, 323–335, 2012.</mixed-citation></ref>
      <ref id="bib1.bib45"><label>45</label><?label 44?><mixed-citation>
McGarvey, D. J., Menon, M., Woods, T., Tassone, S., Reese, J., Vergamini, M., and Kellogg, E.:
On the use of climate covariates in aquatic species distribution models: are we at risk of throwing out the baby with the bath water?, Ecography, 41, 695–712, 2018.</mixed-citation></ref>
      <ref id="bib1.bib46"><label>46</label><?label 46?><mixed-citation>Moatar, F. and Gailhard, J.:
Water temperature behaviour in the River Loire since 1976 and 1881, C. R. Geosci., 338, 319–328, <ext-link xlink:href="https://doi.org/10.1016/j.crte.2006.02.011" ext-link-type="DOI">10.1016/j.crte.2006.02.011</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib47"><label>47</label><?label 45?><mixed-citation>Moatar, F., Miquel, J., and Poirel, A.:
A quality-control method for physical and chemical monitoring data. Application to dissolved oxygen levels in the river Loire (France), J. Hydrol., 252, 25–36, <ext-link xlink:href="https://doi.org/10.1016/s0022-1694(01)00439-5" ext-link-type="DOI">10.1016/s0022-1694(01)00439-5</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bib48"><label>48</label><?label 49?><mixed-citation>
Mohseni, O. and Stefan, H. G.:
Stream temperature/air temperature relationship: a physical interpretation, J. Hydrol., 218, 128–141, 1999.</mixed-citation></ref>
      <ref id="bib1.bib49"><label>49</label><?label 48?><mixed-citation>
Mohseni, O., Stefan, H. G., and Erickson, T. R.:
A nonlinear regression model for weekly stream temperatures, Water Resour. Res., 34, 2685–2692, 1998.</mixed-citation></ref>
      <ref id="bib1.bib50"><label>50</label><?label 51?><mixed-citation>
Moore, R., Nelitz, M., and Parkinson, E.:
Empirical modelling of maximum weekly average stream temperature in British Columbia, Canada, to support assessment of fish habitat suitability, Can. Water Resour. J., 38, 135–147, 2013.</mixed-citation></ref>
      <ref id="bib1.bib51"><label>51</label><?label 50?><mixed-citation>
Moore, R. D., Spittlehouse, D. L., and Story, A.:
Riparian microclimate and stream temperature response to forest harvesting: a review, J. Am. Water Resour. As., 41, 813–834, 2005.</mixed-citation></ref>
      <ref id="bib1.bib52"><label>52</label><?label 47?><mixed-citation>
Morrill, J. C., Bales, R. C., and Conklin, M. H.:
Estimating stream temperature from air temperature: implications for future water quality, J. Environ. Eng., 131, 139–146, 2005.</mixed-citation></ref>
      <ref id="bib1.bib53"><label>53</label><?label 47?><mixed-citation>Naiades: Données sur la qualité des eaux de surface, <uri>http://www.naiades.eaufrance.fr/acces-donnees#/temperature</uri>, last access: 25 March 2019.</mixed-citation></ref>
      <ref id="bib1.bib54"><label>54</label><?label 52?><mixed-citation>
Nash, J. E. and Sutcliffe, J. V.:
River flow forecasting through conceptual models part I—A discussion of principles, J. Hydrol., 10, 282–290, 1970.</mixed-citation></ref>
      <ref id="bib1.bib55"><label>55</label><?label 53?><mixed-citation>
Nelson, K. C. and Palmer, M. A.:
Stream temperature surges under urbanization and climate change: data, models, and responses, J. Am. Water Resour. As., 43, 440–452, 2007.</mixed-citation></ref>
      <ref id="bib1.bib56"><label>56</label><?label 54?><mixed-citation>
Nimick, D. A., Gammons, C. H., and Parker, S. R.:
Diel biogeochemical processes and their effect on the aqueous chemistry of streams: A review, Chem. Geol., 283, 3–17, 2011.</mixed-citation></ref>
      <ref id="bib1.bib57"><label>57</label><?label 55?><mixed-citation>O'Driscoll, M. A. and DeWalle, D. R.: Stream–air temperature relations to classify stream–ground water interactions in a karst setting, central Pennsylvania, USA, J. Hydrol., 329, 140–153, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2006.02.010" ext-link-type="DOI">10.1016/j.jhydrol.2006.02.010</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bib58"><label>58</label><?label 56?><mixed-citation>
Olden, J. D. and Jackson, D. A.:
Illuminating the “black box”: a randomization approach for understanding variable contributions in artificial neural networks, Ecol. Model., 154, 135–150, 2002.</mixed-citation></ref>
      <ref id="bib1.bib59"><label>59</label><?label 57?><mixed-citation>
Olden, J. D., Joy, M. K., and Death, R. G.:
An accurate comparison of methods for quantifying variable importance in artificial neural networks using simulated data, Ecol. Model., 178, 389–397, 2004.</mixed-citation></ref>
      <ref id="bib1.bib60"><label>60</label><?label 58?><mixed-citation>Ouellet, V., St-Hilaire, A., Dugdale, S. J., Hannah, D. M., Krause, S., and Proulx-Ouellet, S.: River temperature research and practice: Recent challenges and emerging opportunities for managing thermal habitat conditions in stream ecosystems, Sci. Total Environ., 736, 139679, <ext-link xlink:href="https://doi.org/10.1016/j.scitotenv.2020.139679" ext-link-type="DOI">10.1016/j.scitotenv.2020.139679</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bib61"><label>61</label><?label 59?><mixed-citation>
Pella, H., Lejot, J., Lamouroux, N., and Snelder, T.:
Le réseau hydrographique théorique (RHT) français et ses attributs environnementaux, Géomorphologie, 18, 317–336, 2012.</mixed-citation></ref>
      <ref id="bib1.bib62"><label>62</label><?label 60?><mixed-citation>
Sauquet, E., Gottschalk, L., and Leblois, E.:
Mapping average annual runoff: a hierarchical approach applying a stochastic interpolation scheme, Hydrolog. Sci. J., 45, 799–815, 2000.</mixed-citation></ref>
      <ref id="bib1.bib63"><label>63</label><?label 61?><mixed-citation>
Sauquet E., Gottschalk L., and Krasovskaia I. Estimating mean monthly runoff at ungauged locations: an application to France, Hydrol. Res., 39, 403–423, 2008.</mixed-citation></ref>
      <ref id="bib1.bib64"><label>64</label><?label 62?><mixed-citation>
Segura, C., Caldwell, P., Sun, G., McNulty, S., and Zhang, Y.:
A model to predict stream water temperature across the conterminous USA, Hydrol. Process., 29, 2178–2195, 2015.</mixed-citation></ref>
      <ref id="bib1.bib65"><label>65</label><?label 63?><mixed-citation>Seyedhashemi, H., Moatar, F., Vidal, J.-P., Diamond, J. S., Beaufort, A., Chandesris, A., and Valette, L.:
Thermal signatures identify the influence of dams and ponds on stream temperature at the regional scale, Sci. Total Environ., 766, 142667, <ext-link xlink:href="https://doi.org/10.1016/j.scitotenv.2020.142667" ext-link-type="DOI">10.1016/j.scitotenv.2020.142667</ext-link>, 2021.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib66"><label>66</label><?label 64?><mixed-citation>
Song, C., Dodds, W. K., Rüegg, J., Argerich, A., Baker, C. L., Bowden, W. B., Douglas, M. M., Farrell, K. J., Flinn, M. B., Garcia, E. A., and Helton, A. M.:
Continental-scale decrease in net primary productivity in streams due to climate warming, Nat. Geosci., 11, 415–420, 2018.</mixed-citation></ref>
      <ref id="bib1.bib67"><label>67</label><?label 65?><mixed-citation>
Strauch, A. M., MacKenzie, R. A., and Tingley III, R. W.:
Base flow-driven shifts in tropical stream temperature regimes across a mean annual rainfall gradient, Hydrol. Process., 31, 1678–1689, 2017.</mixed-citation></ref>
      <ref id="bib1.bib68"><label>68</label><?label 66?><mixed-citation>
Tisseuil, C., Vrac, M., Grenouillet, G., Wade, A. J., Gevrey, M., Oberdorff, T., Grodwohl, J.-B., and Lek, S.:
Strengthening the link between climate, hydrological and species distribution modeling to assess the impacts of climate change on freshwater biodiversity, Sci. Total Environ., 424, 193–201, 2012.</mixed-citation></ref>
      <ref id="bib1.bib69"><label>69</label><?label 67?><mixed-citation>Valette, L., Piffady, J., Chandesris, A., and Souchon, Y.: SYRAH-CE: description des données et modélisation du risque d'altération hydromorphologique des cours d'eau pour l'état des lieux DCE, Rapport Technique Onema-Irstea, <uri>http://oai.afbiodiversite.fr/cindocoai/download/PUBLI/1185/1/2012_108.pdf_4080Ko</uri> (last access: May 2022), 2012.</mixed-citation></ref>
      <ref id="bib1.bib70"><label>70</label><?label 68?><mixed-citation>van Vliet, M. T. H. and Zwolsman, J. J. G.:
Impact of summer droughts on the water quality of the Meuse river, J. Hydrol., 353, 1–17, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2008.01.001" ext-link-type="DOI">10.1016/j.jhydrol.2008.01.001</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib71"><label>71</label><?label 69?><mixed-citation>
Venables, W. N. and Ripley, B. D.:
Modern Applied Statistics with S, fourth edn., Springer, New York, ISBN 0-387-95457-0, 2002.</mixed-citation></ref>
      <ref id="bib1.bib72"><label>72</label><?label 70?><mixed-citation>
Vidal, J. P., Martin, E., Franchistéguy, L., Baillon, M., and Soubeyroux, J. M.:
A 50-year high-resolution atmospheric reanalysis over France with the Safran system, Int. J. Climatol., 30, 1627–1644, 2010.</mixed-citation></ref>
      <ref id="bib1.bib73"><label>73</label><?label 71?><mixed-citation>
Webb, B. W., Hannah, D. M., Moore, R. D., Brown, L. E., and Nobilis, F.:
Recent advances in stream and river temperature research, Hydrol. Process., 22, 902–918, 2008.</mixed-citation></ref>
      <ref id="bib1.bib74"><label>74</label><?label 72?><mixed-citation>
Wehrly, K. E., Brenden, T. O., and Wang, L.:
A comparison of statistical approaches for predicting stream temperatures across heterogeneous landscapes, J. Am. Water Resour. As., 45, 986–997, 2009.</mixed-citation></ref>
      <ref id="bib1.bib75"><label>75</label><?label 73?><mixed-citation>
Wolter, C.:
Temperature influence on the fish assemblage structure in a large lowland river, the lower Oder River, Germany, Ecol. Freshw. Fish, 16, 493–503, 2007.</mixed-citation></ref>
      <ref id="bib1.bib76"><label>76</label><?label 74?><mixed-citation>
Xu, C. L., Letcher, B. H., and Nislow, K. H.:
Size-dependent survival of brook trout Salvelinus fontinalis in summer: effects of water temperature and stream flow, J. Fish Biol., 76, 2342–2369, 2010.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Spatial extrapolation of stream thermal peaks using  heterogeneous time series at a national scale</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Arismendi, I., Johnson, S. L., Dunham, J. B., Haggerty, R., and Hockman-Wert, D.: The paradox of cooling streams in a warming world: regional climate trends do not parallel variable local trends in stream temperature in the Pacific continental United States, Geophys. Res. Lett., 39, L10401, <a href="https://doi.org/10.1029/2012GL051448" target="_blank">https://doi.org/10.1029/2012GL051448</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Arismendi, I., Safeeq, M., Dunham, J. B., and Johnson, S. L.:
Can air temperature be used to project influences of climate change on stream temperature?, Environ. Res. Lett., 9, 084015, <a href="https://doi.org/10.1088/1748-9326/9/8/084015" target="_blank">https://doi.org/10.1088/1748-9326/9/8/084015</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Beaufort, A., Moatar, F., Curie, F., Ducharne, A., Bustillo, V., and Thiéry, D.:
River Temperature Modelling by Strahler Order at the Regional Scale in the Loire River Basin, France, River Res. Appl., 32, 597–609, <a href="https://doi.org/10.1002/rra.2888" target="_blank">https://doi.org/10.1002/rra.2888</a>, 2016a.

</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Beaufort, A., Curie, F., Moatar, F., Ducharne, A., Melin, E., and Thiery, D.:
T-NET, a dynamic model for simulating daily stream temperature at the regional scale based on a network topology, Hydrol. Process., 30, 2196–2210, 2016b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Beaufort, A., Moatar, F., Sauquet, E., Loicq, P., and Hannah, D. M.:
Influence of landscape and hydrological factors on stream–air temperature relationships at regional scale, Hydrol. Process., 34, 583–597, <a href="https://doi.org/10.1002/hyp.13608" target="_blank">https://doi.org/10.1002/hyp.13608</a>, 2020a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Beaufort, A., Moatar, F., Sauquet, E., and Magand, C.:
Thermie en rivière: Analyse géostatistique et description de régime: Application à l'échelle de la France, INRAE, 106&thinsp;pp., <a href="https://hal.archives-ouvertes.fr/hal-03126527/" target="_blank"/> (last access: May 2022), 2020b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Benyahya, L., Caissie, D., St-Hilaire, A., Ouarda, T. B., and Bobée, B.:
A review of statistical water temperature models, Can. Water Resour. J., 32, 179–192, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Bishop, C. M.: Pattern recognition and machine learning, Springer, ISBN 978-1-4939-3843-8, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Breiman, L.:
Random forests, Mach. Learn., 45, 5–32, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Bruno, M. C., Siviglia, A., Carolli, M., and Maiolini, B.:
Multiple drift responses of benthic invertebrates to interacting hydropeaking and thermopeaking waves, Ecohydrology, 6, 511–522, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Buisson, L. and Grenouillet, G.:
Contrasted impacts of climate change on stream fish assemblages along an environmental gradient, Divers. Distrib., 15, 613–626, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Caissie, D.:
The thermal regime of rivers: a review, Freshwater Biol., 51, 1389–1406, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Carlson, S. M., Hendry, A. P., and Letcher, B. H.:
Growth rate differences between resident native brook trout and non-native brown trout, J. Fish Biol., 71, 1430–1447, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Casado, A., Hannah, D. M., Peiry, J. L., and Campo, A. M.:
Influence of dam-induced hydrological regulation on summer water temperature: Sauce Grande River, Argentina, Ecohydrology, 6, 523–535, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Catalogne, C.:
Amélioration des méthodes de prédétermination des débits de référence d'étiage en sites peu ou pas jaugés, Doctorat Ocean Atmosphere Hydrologie, Université Joseph Fourier, Grenoble, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Chandesris, A., Van Looy, K., Diamond, J. S., and Souchon, Y.:
Small dams alter thermal regimes of downstream water, Hydrol. Earth Syst. Sci., 23, 4509–4525, <a href="https://doi.org/10.5194/hess-23-4509-2019" target="_blank">https://doi.org/10.5194/hess-23-4509-2019</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Chang, H. and Psaris, M.:
Local landscape predictors of maximum stream temperature and thermal sensitivity in the Columbia River Basin, USA, Sci. Total Environ., 461, 587–600, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Conti, L., Comte, L., Hugueny, B., and Grenouillet, G.:
Drivers of freshwater fish colonisations and extirpations under climate change, Ecography, 38, 510–519, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Daigle, A., St-Hilaire, A., Peters, D., and Baird, D.:
Multivariate modelling of water temperature in the Okanagan watershed, Can. Water Resour. J., 35, 237–258, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Ducharne, A.:
Importance of stream temperature to climate change impact on water quality, Hydrol. Earth Syst. Sci., 12, 797–810, <a href="https://doi.org/10.5194/hess-12-797-2008" target="_blank">https://doi.org/10.5194/hess-12-797-2008</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Dugdale, S. J., Malcolm, I. A., Kantola, K., and Hannah, D. M.:
Stream temperature under contrasting riparian forest cover: Understanding thermal dynamics and heat exchange processes, Sci. Total Environ., 610, 1375–1389, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Durance, I. and Ormerod, S. J.:
Trends in water quality and discharge confound long-term warming effects on river macroinvertebrates, Freshwater Biol., 54, 388–405, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Fullerton, A. H., Torgersen, C. E., Lawler, J. J., Faux, R. N., Steel, E. A., Beechie, T. J., Ebersole, J. L., and Leibowitz, S. G.:
Rethinking the longitudinal stream temperature paradigm: region-wide comparison of thermal infrared imagery reveals unexpected complexity of river temperatures, Hydrol. Process., 29, 4719–4737, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Hannah, D. M., Malcolm, I. A., Soulsby, C., and Youngson, A. F.:
Heat exchanges and temperatures within a salmon spawning stream in the Cairngorms, Scotland: seasonal and sub-seasonal dynamics, River Res. Appl., 20, 635–652, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Hare, D. K., Helton, A. M., Johnson, Z. C., Lane, J. W., and Briggs, M. A.:
Continental-scale analysis of shallow and deep groundwater contributions to streams, Nat. Commun., 12, 1–10, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Hawkins, C. P., Hogue, J. N., Decker, L. M., and Feminella, J. W.:
Channel morphology, water temperature, and assemblage structure of stream insects, J. N Am. Benthol. Soc., 16, pp.728-749, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Hill, R. A. and Hawkins, C. P.:
Using modelled stream temperatures to predict macro-spatial patterns of stream invertebrate biodiversity, Freshwater Biol., 59, 2632–2644, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
Hrachowitz, M., Soulsby, C., Imholt, C., Malcolm, I., and Tetzlaff, D.:
Thermal regimes in a large upland salmon river: a simple model to identify the influence of landscape controls and climate change on maximum temperatures, Hydrol. Process., 24, 3374–3391, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Imholt, C., Soulsby, C., Malcolm, I. A., Hrachowitz, M., Gibbins, C. N., Langan, S., and Tetzlaff, D.:
Influence of scale on thermal characteristics in a large montane river basin, River Res. Appl., 29, 403–419, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
INRAE: Présentation du projet TIGRE, INRAE [data set], <a href="https://thermie-rivieres.inrae.fr" target="_blank"/>, last access: 25 May 2022.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Isaak, D. J. and Hubert, W. A.:
A hypothesis about factors that affect maximum summer stream temperatures across montane landscapes, J. Am. Water Resour. As., 37, 351–366, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Isaak, D. J., Wenger, S. J., Peterson, E. E., Ver Hoef, J. M., Nagel, D. E., Luce, C. H., Hostetler, S. W., Dunham, J. B., Roper, B. B., and Wollrab, S. P.:
The NorWeST summer stream temperature model and scenarios for the western US: A crowd-sourced database and new geospatial tools foster a user community and predict broad climate warming of rivers and streams, Water Resour. Res., 53, 9181–9205, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
Isaak, D. J., Luce, C. H., Horan, D. L., Chandler, G. L., Wollrab, S. P., Dubois, W. B., and Nagel, D. E.:
Thermal regimes of perennial rivers and streams in the Western United States, J. Am. Water Resour. As., 56, 842–867, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
Jackson, F. L., Fryer, R. J., Hannah, D. M., Millar, C. P., and Malcolm, I. A.:
A spatio-temporal statistical model of maximum daily river temperatures to inform the management of Scotland's Atlantic salmon rivers under climate change, Sci. Total Environ., 612, 1543–1558, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
Johnson, Z. C., Johnson, B. G., Briggs, M. A., Devine, W. D., Snyder, C. D., Hitt, N. P., Hare, D. K., and Minkova, T. V.: Paired air-water annual temperature patterns reveal hydrogeological controls on stream thermal regimes at watershed to continental scales, J. Hydrol., 587, 124929, <a href="https://doi.org/10.1016/j.jhydrol.2020.124929" target="_blank">https://doi.org/10.1016/j.jhydrol.2020.124929</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
Jones, N. and Schmidt, B.:
Thermal regime metrics and quantifying their uncertainty for North American streams, River Res. Appl., 34, 382–393, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
Kelleher, C., Wagener, T., Gooseff, M., McGlynn, B., McGuire, K., and Marshall, L.:
Investigating controls on the thermal sensitivity of Pennsylvania streams, Hydrol. Process., 26, 771–785, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
Kirk, M. A. and Rahel, F. J.: Air temperatures over-predict changes to stream fish assemblages with climate warming compared with water temperatures, Ecol. Appl., 32, e02465, <a href="https://doi.org/10.1002/eap.2465" target="_blank">https://doi.org/10.1002/eap.2465</a>, 2022.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
Laanaya, F., St-Hilaire, A., and Gloaguen, E.:
Water temperature modelling: comparison between the generalized additive model, logistic, residuals regression and linear regression models, Hydrolog. Sci. J., 62, 1078–1093, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
Lalot, E., Curie, F., Wawrzyniak, V., Baratelli, F., Schomburgk, S., Flipo, N., Piegay, H., and Moatar, F.:
Quantification of the contribution of the Beauce groundwater aquifer to the discharge of the Loire River using thermal infrared satellite imaging, Hydrol. Earth Syst. Sci., 19, 4479–4492, <a href="https://doi.org/10.5194/hess-19-4479-2015" target="_blank">https://doi.org/10.5194/hess-19-4479-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</label><mixed-citation>
Liaw, A. and Wiener, M.:
Classification and regression by randomForest, R news, 2, 18–22, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>42</label><mixed-citation>
Logez, M., Bady, P., and Pont, D.:
Modelling the habitat requirement of riverine fish species at the European scale: sensitivity to temperature and precipitation and associated uncertainty, Ecol. Freshw. Fish, 21, 266–282, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>43</label><mixed-citation>
Loicq, P., Moatar, F., Jullian, Y., Dugdale, S. J., and Hannah, D. M.:
Improving representation of riparian vegetation shading in a regional stream temperature model using LiDAR data, Sci. Total Environ., 624, 480–490, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>44</label><mixed-citation>
Mayer, T. D.:
Controls of summer stream temperature in the Pacific Northwest, J. Hydrol., 475, 323–335, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>45</label><mixed-citation>
McGarvey, D. J., Menon, M., Woods, T., Tassone, S., Reese, J., Vergamini, M., and Kellogg, E.:
On the use of climate covariates in aquatic species distribution models: are we at risk of throwing out the baby with the bath water?, Ecography, 41, 695–712, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>46</label><mixed-citation>
Moatar, F. and Gailhard, J.:
Water temperature behaviour in the River Loire since 1976 and 1881, C. R. Geosci., 338, 319–328, <a href="https://doi.org/10.1016/j.crte.2006.02.011" target="_blank">https://doi.org/10.1016/j.crte.2006.02.011</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>47</label><mixed-citation>
Moatar, F., Miquel, J., and Poirel, A.:
A quality-control method for physical and chemical monitoring data. Application to dissolved oxygen levels in the river Loire (France), J. Hydrol., 252, 25–36, <a href="https://doi.org/10.1016/s0022-1694(01)00439-5" target="_blank">https://doi.org/10.1016/s0022-1694(01)00439-5</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>48</label><mixed-citation>
Mohseni, O. and Stefan, H. G.:
Stream temperature/air temperature relationship: a physical interpretation, J. Hydrol., 218, 128–141, 1999.
</mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>49</label><mixed-citation>
Mohseni, O., Stefan, H. G., and Erickson, T. R.:
A nonlinear regression model for weekly stream temperatures, Water Resour. Res., 34, 2685–2692, 1998.
</mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>50</label><mixed-citation>
Moore, R., Nelitz, M., and Parkinson, E.:
Empirical modelling of maximum weekly average stream temperature in British Columbia, Canada, to support assessment of fish habitat suitability, Can. Water Resour. J., 38, 135–147, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>51</label><mixed-citation>
Moore, R. D., Spittlehouse, D. L., and Story, A.:
Riparian microclimate and stream temperature response to forest harvesting: a review, J. Am. Water Resour. As., 41, 813–834, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>52</label><mixed-citation>
Morrill, J. C., Bales, R. C., and Conklin, M. H.:
Estimating stream temperature from air temperature: implications for future water quality, J. Environ. Eng., 131, 139–146, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>53</label><mixed-citation>
Naiades: Données sur la qualité des eaux de surface, <a href="http://www.naiades.eaufrance.fr/acces-donnees#/temperature" target="_blank"/>, last access: 25 March 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>54</label><mixed-citation>
Nash, J. E. and Sutcliffe, J. V.:
River flow forecasting through conceptual models part I—A discussion of principles, J. Hydrol., 10, 282–290, 1970.
</mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>55</label><mixed-citation>
Nelson, K. C. and Palmer, M. A.:
Stream temperature surges under urbanization and climate change: data, models, and responses, J. Am. Water Resour. As., 43, 440–452, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>56</label><mixed-citation>
Nimick, D. A., Gammons, C. H., and Parker, S. R.:
Diel biogeochemical processes and their effect on the aqueous chemistry of streams: A review, Chem. Geol., 283, 3–17, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>57</label><mixed-citation>
O'Driscoll, M. A. and DeWalle, D. R.: Stream–air temperature relations to classify stream–ground water interactions in a karst setting, central Pennsylvania, USA, J. Hydrol., 329, 140–153, <a href="https://doi.org/10.1016/j.jhydrol.2006.02.010" target="_blank">https://doi.org/10.1016/j.jhydrol.2006.02.010</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>58</label><mixed-citation>
Olden, J. D. and Jackson, D. A.:
Illuminating the “black box”: a randomization approach for understanding variable contributions in artificial neural networks, Ecol. Model., 154, 135–150, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>59</label><mixed-citation>
Olden, J. D., Joy, M. K., and Death, R. G.:
An accurate comparison of methods for quantifying variable importance in artificial neural networks using simulated data, Ecol. Model., 178, 389–397, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>60</label><mixed-citation>
Ouellet, V., St-Hilaire, A., Dugdale, S. J., Hannah, D. M., Krause, S., and Proulx-Ouellet, S.: River temperature research and practice: Recent challenges and emerging opportunities for managing thermal habitat conditions in stream ecosystems, Sci. Total Environ., 736, 139679, <a href="https://doi.org/10.1016/j.scitotenv.2020.139679" target="_blank">https://doi.org/10.1016/j.scitotenv.2020.139679</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>61</label><mixed-citation>
Pella, H., Lejot, J., Lamouroux, N., and Snelder, T.:
Le réseau hydrographique théorique (RHT) français et ses attributs environnementaux, Géomorphologie, 18, 317–336, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>62</label><mixed-citation>
Sauquet, E., Gottschalk, L., and Leblois, E.:
Mapping average annual runoff: a hierarchical approach applying a stochastic interpolation scheme, Hydrolog. Sci. J., 45, 799–815, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib63"><label>63</label><mixed-citation>
Sauquet E., Gottschalk L., and Krasovskaia I. Estimating mean monthly runoff at ungauged locations: an application to France, Hydrol. Res., 39, 403–423, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib64"><label>64</label><mixed-citation>
Segura, C., Caldwell, P., Sun, G., McNulty, S., and Zhang, Y.:
A model to predict stream water temperature across the conterminous USA, Hydrol. Process., 29, 2178–2195, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib65"><label>65</label><mixed-citation>
Seyedhashemi, H., Moatar, F., Vidal, J.-P., Diamond, J. S., Beaufort, A., Chandesris, A., and Valette, L.:
Thermal signatures identify the influence of dams and ponds on stream temperature at the regional scale, Sci. Total Environ., 766, 142667, <a href="https://doi.org/10.1016/j.scitotenv.2020.142667" target="_blank">https://doi.org/10.1016/j.scitotenv.2020.142667</a>, 2021.

</mixed-citation></ref-html>
<ref-html id="bib1.bib66"><label>66</label><mixed-citation>
Song, C., Dodds, W. K., Rüegg, J., Argerich, A., Baker, C. L., Bowden, W. B., Douglas, M. M., Farrell, K. J., Flinn, M. B., Garcia, E. A., and Helton, A. M.:
Continental-scale decrease in net primary productivity in streams due to climate warming, Nat. Geosci., 11, 415–420, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib67"><label>67</label><mixed-citation>
Strauch, A. M., MacKenzie, R. A., and Tingley III, R. W.:
Base flow-driven shifts in tropical stream temperature regimes across a mean annual rainfall gradient, Hydrol. Process., 31, 1678–1689, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib68"><label>68</label><mixed-citation>
Tisseuil, C., Vrac, M., Grenouillet, G., Wade, A. J., Gevrey, M., Oberdorff, T., Grodwohl, J.-B., and Lek, S.:
Strengthening the link between climate, hydrological and species distribution modeling to assess the impacts of climate change on freshwater biodiversity, Sci. Total Environ., 424, 193–201, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib69"><label>69</label><mixed-citation>
Valette, L., Piffady, J., Chandesris, A., and Souchon, Y.: SYRAH-CE: description des données et modélisation du risque d'altération hydromorphologique des cours d'eau pour l'état des lieux DCE, Rapport Technique Onema-Irstea, <a href="http://oai.afbiodiversite.fr/cindocoai/download/PUBLI/1185/1/2012_108.pdf_4080Ko" target="_blank"/> (last access: May 2022), 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib70"><label>70</label><mixed-citation>
van Vliet, M. T. H. and Zwolsman, J. J. G.:
Impact of summer droughts on the water quality of the Meuse river, J. Hydrol., 353, 1–17, <a href="https://doi.org/10.1016/j.jhydrol.2008.01.001" target="_blank">https://doi.org/10.1016/j.jhydrol.2008.01.001</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib71"><label>71</label><mixed-citation>
Venables, W. N. and Ripley, B. D.:
Modern Applied Statistics with S, fourth edn., Springer, New York, ISBN 0-387-95457-0, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib72"><label>72</label><mixed-citation>
Vidal, J. P., Martin, E., Franchistéguy, L., Baillon, M., and Soubeyroux, J. M.:
A 50-year high-resolution atmospheric reanalysis over France with the Safran system, Int. J. Climatol., 30, 1627–1644, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib73"><label>73</label><mixed-citation>
Webb, B. W., Hannah, D. M., Moore, R. D., Brown, L. E., and Nobilis, F.:
Recent advances in stream and river temperature research, Hydrol. Process., 22, 902–918, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib74"><label>74</label><mixed-citation>
Wehrly, K. E., Brenden, T. O., and Wang, L.:
A comparison of statistical approaches for predicting stream temperatures across heterogeneous landscapes, J. Am. Water Resour. As., 45, 986–997, 2009.
</mixed-citation></ref-html>
<ref-html id="bib1.bib75"><label>75</label><mixed-citation>
Wolter, C.:
Temperature influence on the fish assemblage structure in a large lowland river, the lower Oder River, Germany, Ecol. Freshw. Fish, 16, 493–503, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib76"><label>76</label><mixed-citation>
Xu, C. L., Letcher, B. H., and Nislow, K. H.:
Size-dependent survival of brook trout Salvelinus fontinalis in summer: effects of water temperature and stream flow, J. Fish Biol., 76, 2342–2369, 2010.
</mixed-citation></ref-html>--></article>
