<?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="methods-article">
  <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-25-3207-2021</article-id><title-group><article-title>Technical Note: Temporal disaggregation of spatial <?xmltex \hack{\break}?> rainfall fields with generative adversarial networks</article-title><alt-title>Temporal disaggregation spatial rainfall with GANs</alt-title>
      </title-group><?xmltex \runningtitle{Temporal disaggregation spatial rainfall with GANs}?><?xmltex \runningauthor{S.~Scher and S.~Pe{\ss}enteiner}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1 aff2">
          <name><surname>Scher</surname><given-names>Sebastian</given-names></name>
          <email>sebastian.scher@misu.su.se</email>
        <ext-link>https://orcid.org/0000-0002-6314-8833</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff3">
          <name><surname>Peßenteiner</surname><given-names>Stefanie</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Department of Meteorology and Bolin Centre for Climate Research, Stockholm University, Stockholm, Sweden</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Know-Center GmbH, Graz, Austria</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Department of Geography and Regional Science, University of Graz, Graz, Austria</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Sebastian Scher (sebastian.scher@misu.su.se)</corresp></author-notes><pub-date><day>11</day><month>June</month><year>2021</year></pub-date>
      
      <volume>25</volume>
      <issue>6</issue>
      <fpage>3207</fpage><lpage>3225</lpage>
      <history>
        <date date-type="received"><day>9</day><month>September</month><year>2020</year></date>
           <date date-type="rev-request"><day>30</day><month>September</month><year>2020</year></date>
           <date date-type="rev-recd"><day>25</day><month>March</month><year>2021</year></date>
           <date date-type="accepted"><day>9</day><month>April</month><year>2021</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2021 Sebastian Scher</copyright-statement>
        <copyright-year>2021</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/25/3207/2021/hess-25-3207-2021.html">This article is available from https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021.html</self-uri><self-uri xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021.pdf">The full text article is available as a PDF file from https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e105">Creating spatially coherent rainfall patterns with high temporal resolution from data with lower temporal resolution is necessary in many geoscientific applications. From a statistical perspective, this presents a high- dimensional, highly underdetermined problem. Recent advances in machine learning provide methods for learning such probability distributions. We test the usage of generative adversarial networks (GANs) for estimating the full probability distribution of spatial rainfall patterns with high temporal resolution, conditioned on a field of lower temporal resolution. The GAN is trained on rainfall radar data with hourly resolution. Given a
new field of daily precipitation sums, it can sample scenarios of spatiotemporal patterns with sub-daily resolution. While the generated
patterns do not perfectly reproduce the statistics of observations,
they are visually hardly distinguishable from real patterns. Limitations that we found are that providing additional input (such as geographical information) to the GAN surprisingly leads to worse results, showing that it is not trivial to increase the amount of used input information. Additionally, while in principle the GAN should learn the probability distribution in itself, we still needed expert judgment to determine at which point the training should stop, because longer training leads to worse results.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d1e117">Precipitation time series at sub-daily temporal resolution are required
for numerous applications in environmental modeling. Especially in
hydrology, with small to medium catchments whose rainfall–runoff response
strongly depends on the temporal rainfall distribution, sub-daily
precipitation data are necessary to simulate flood peaks accurately.
However, in many settings, precipitation sums only over timescales
longer than the needed ones exist. Past sub-daily precipitation records
are often only available at short record lengths <xref ref-type="bibr" rid="bib1.bibx4 bib1.bibx23 bib1.bibx8" id="paren.1"><named-content content-type="pre">e.g.,</named-content></xref>,
and many future climate projections (GCM–RCM outputs) provide 6-hourly
or daily precipitation sums <xref ref-type="bibr" rid="bib1.bibx27 bib1.bibx37" id="paren.2"/>.
To deal with this wide absence of sub-daily precipitation data, several
procedures to disaggregate precipitation were proposed in recent years.
These include multiplicative cascade models <xref ref-type="bibr" rid="bib1.bibx9 bib1.bibx30 bib1.bibx26" id="paren.3"><named-content content-type="pre">e.g.,</named-content></xref>,
the method of fragments <xref ref-type="bibr" rid="bib1.bibx38 bib1.bibx35" id="paren.4"><named-content content-type="pre">e.g.,</named-content></xref>
and complex stochastic methods based on, e.g., the randomized Bartlett–Lewis
model <xref ref-type="bibr" rid="bib1.bibx18" id="paren.5"><named-content content-type="pre">e.g.,</named-content></xref>. <xref ref-type="bibr" rid="bib1.bibx6 bib1.bibx5" id="text.6"/>
and <xref ref-type="bibr" rid="bib1.bibx20" id="text.7"/> used artificial neural networks (ANNs) to perform rainfall disaggregation. <xref ref-type="bibr" rid="bib1.bibx28" id="text.8"/> provide a comparison of different univariate precipitation disaggregation approaches, and an overview of the historical development of precipitation disaggregation frameworks can be found in <xref ref-type="bibr" rid="bib1.bibx19" id="text.9"/>. Many of these methods are carried out on a station-by-station basis <xref ref-type="bibr" rid="bib1.bibx27" id="paren.10"/>, while others also deal with the more challenging problem of temporal disaggregation of whole spatial fields <xref ref-type="bibr" rid="bib1.bibx30" id="paren.11"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
      <p id="d1e164">In this study, we consider the latter, and we deal with the problem
as a purely statistical one. For a given 2D (<inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lat</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lon</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) field <inline-formula><mml:math id="M2" display="inline"><mml:mi mathvariant="bold-italic">c</mml:mi></mml:math></inline-formula>, representing the daily sum of precipitation, we want<?pagebreak page3208?> to generate a corresponding 3D field of sub-daily precipitation (<inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">res</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lat</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lon</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>) <inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">abs</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Since this is a highly underdetermined problem, it is our goal to model the probability distribution
          <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M5" display="block"><mml:mrow><mml:mi>P</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">abs</mml:mi></mml:msub><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">c</mml:mi></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        The sum of <inline-formula><mml:math id="M6" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">abs</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> over the <inline-formula><mml:math id="M7" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">res</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> dimension must equal <inline-formula><mml:math id="M8" display="inline"><mml:mi mathvariant="bold-italic">c</mml:mi></mml:math></inline-formula>; therefore we can introduce the 3D vector of fractions of the daily sum <inline-formula><mml:math id="M9" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">frac</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, defined via
          <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M10" display="block"><mml:mrow><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi mathvariant="normal">frac</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi mathvariant="normal">abs</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>/</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></disp-formula>
        with <inline-formula><mml:math id="M11" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M12" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M13" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> being the indices of the <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">res</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">lat</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M15" display="inline"><mml:mi mathvariant="normal">long</mml:mi></mml:math></inline-formula> dimension, and reformulate the problem as
          <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M16" display="block"><mml:mrow><mml:mi>P</mml:mi><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">frac</mml:mi></mml:msub><mml:mo>|</mml:mo><mml:mi mathvariant="bold-italic">c</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></disp-formula>
        with the constraint that
          <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M17" display="block"><mml:mrow><mml:munder><mml:mo movablelimits="false">∑</mml:mo><mml:mi>t</mml:mi></mml:munder><mml:msub><mml:mi>y</mml:mi><mml:mrow><mml:mi mathvariant="normal">frac</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
        Thus we want to model the probability distribution of fractions of the daily precipitation sum, given the daily precipitation sum. The data dimensionality of this problem increases drastically with increasing size of <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lat</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">long</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, as the condition <inline-formula><mml:math id="M20" display="inline"><mml:mi mathvariant="bold-italic">c</mml:mi></mml:math></inline-formula> has a dimensionality of <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lat</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">long</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and the target <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">frac</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> has even higher dimensionality <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lat</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">long</mml:mi></mml:msub><mml:mo>×</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">res</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. Here we use <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">lat</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>n</mml:mi><mml:mi mathvariant="normal">long</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mi mathvariant="normal">res</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">24</mml:mn></mml:mrow></mml:math></inline-formula> (corresponding to hourly resolution) and thus dimensionalities of 256 and 6144, respectively. This makes statistically inferring the probability distribution <inline-formula><mml:math id="M26" display="inline"><mml:mi>P</mml:mi></mml:math></inline-formula> in principle very challenging, even given large amounts of training data. One approach to circumvent this would be building statistical models with information about the underlying problems and then fitting the parameter of these models to the available observations. However, recent advances in machine learning have made it possible to directly infer high-dimensional probability distributions. The most widely used are generative adversarial networks (GANs) <xref ref-type="bibr" rid="bib1.bibx11" id="paren.12"/>. GANs are a special class of artificial neural networks that were originally developed for estimating the probability distribution of images, with the goal of sampling (or “generating”) images from these distributions (widely known as “deep fakes”). Especially in their conditional formulation <xref ref-type="bibr" rid="bib1.bibx25" id="paren.13"/> they are potentially very useful for physics-related problems, such as the one considered in this study. GANs are a very active research field in the machine-learning community, and their architectures and training methods are constantly improved <xref ref-type="bibr" rid="bib1.bibx2 bib1.bibx12 bib1.bibx14" id="paren.14"><named-content content-type="pre">e.g.,</named-content></xref>.
Given the probabilistic nature of many physical problems and the high dimensionality of problems in particular in Earth-science-related fields, they provide an interesting pathway for new applications. For example, <xref ref-type="bibr" rid="bib1.bibx21" id="text.15"/> have used a GAN to infer the 2D vertical structure of clouds, given 1D observations of lower-resolution satellite observations. GANs have also been used in the modeling of complex chaotic systems <xref ref-type="bibr" rid="bib1.bibx39 bib1.bibx15" id="paren.16"><named-content content-type="pre">e.g.,</named-content></xref> and have been proposed for stochastic parameterization in geophysical models <xref ref-type="bibr" rid="bib1.bibx10" id="paren.17"/> and weather forecasting <xref ref-type="bibr" rid="bib1.bibx3" id="paren.18"/>.</p>
      <p id="d1e585">In this study we use measurements of precipitation from weather radars. We train the network on the daily sum of the measurements and the corresponding 1-hourly patterns of precipitation. To our best knowledge, GANs have not yet been used in the context of precipitation disaggregation. With this study we want assess whether GANs can be a useful tool in temporal precipitation disaggregation. Additionally, we want to provide our developed tool (RainDisaggGAN) as a ready-to-use tool to researchers and practitioners who are interested in creating sub-daily data from spatially distributed daily time series.  All the software used for this study and the trained GAN are openly available in the accompanying repository.</p>
      <p id="d1e588">In this study, we use the word “distribution” solely for probability distributions. In the hydrological literature, “distribution” is often also used for spatial and temporal patterns of rainfall. To avoid confusion, here we refer to these strictly as “patterns”.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Methods</title>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Data</title>
      <p id="d1e606">We use openly available precipitation radar data from the Swedish Meteorological and Hydrological Institute (SMHI). The data are available from 2009 to present. Here we use measurements from 2009 to 2018. The data cover Sweden and parts of the surrounding area (Fig. <xref ref-type="fig" rid="Ch1.F1"/>) and have a temporal resolution of 5 min.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><?xmltex \currentcnt{1}?><?xmltex \def\figurename{Figure}?><label>Figure 1</label><caption><p id="d1e613">Domain of the used SMHI radar data covering most parts of Sweden.</p></caption>
          <?xmltex \igopts{width=170.716535pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f01.png"/>

        </fig>

      <?pagebreak page3209?><p id="d1e622"><?xmltex \hack{\newpage}?>The radar reflectivities <inline-formula><mml:math id="M27" display="inline"><mml:mi>Z</mml:mi></mml:math></inline-formula> (units dBZ) are converted to rainfall <inline-formula><mml:math id="M28" display="inline"><mml:mi>R</mml:mi></mml:math></inline-formula> in mm h<inline-formula><mml:math id="M29" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> via
            <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M30" display="block"><mml:mrow><mml:mi>R</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mi>Z</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mn mathvariant="normal">200</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          We then compute the daily sums and use them as the condition and the 24 corresponding 1-hourly fractions as the target. The spatial resolution is
<inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> km. We use all available <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">32</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">32</mml:mn></mml:mrow></mml:math></inline-formula> km) pixel samples (shifted by 16 px, so not including overlapping boxes) from the data that have no missing data in any of the pixels at any time of the
day and that satisfy the following condition: at least 20 px must exceed 5 mm d<inline-formula><mml:math id="M34" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>. This is done to exclude days with very little precipitation from the training. The exact thresholds were chosen without specific physical reasons. We repeated our analysis with 3 and 7 mm d<inline-formula><mml:math id="M35" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, and the results were similar (not shown). For the training period 2009–2016 this results in 177 909 samples and for the test period 2017–2018 in 59 122 samples. We do not differentiate between different precipitation types (e.g., snow, hail) and for readability use “rainfall” and “precipitation” as synonyms. We have to note that excluding all days below the mentioned threshold changes the base sample. Therefore all results on precipitation statistics have to be interpreted in the way that they represent only the statistics for “wet days”. This is the case both for the observations shown and for the samples generated by our GAN method. The latter is evaluated only on days with rainfall sums above the threshold; therefore they are directly comparable to the observed statistics of all days above threshold. When using our method in practice, one would have to decide whether one also uses the GAN for predicting the patterns for days below the threshold (even though such days have not been included in the training) or not.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>GAN</title>
      <p id="d1e761">We use the GAN type called Wasserstein GAN (WGAN) <xref ref-type="bibr" rid="bib1.bibx2" id="paren.19"/>. A WGAN consists – such as all GANs – of two neural network: the generator, which generates “fake” samples, and a discriminator (called “critic” in WGANs) that judges whether a sample is real or not. In our conditional GAN, the generator takes as input a <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> field of daily sums as the condition and a vector of random numbers and generates a <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:mn mathvariant="normal">24</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> field of precipitation fractions. The critic takes as input the <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> condition and a <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:mn mathvariant="normal">24</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> sample of fractions and judges whether it is a fake example or not. The generator and the critic are trained alternately. The critic is trained with a combination of real and fake examples and “taught” to differentiate between them. The generator is then trained to “fool” the critic. The trained generator can then be used to generate fraction scenarios <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi mathvariant="normal">frac</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from daily sum fields. These can then be converted to precipitation scenarios <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi mathvariant="normal">abs</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> via
<?xmltex \hack{\newpage}?><?xmltex \hack{\vspace*{-6mm}}?>
            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M42" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">abs</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>y</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mrow><mml:mi mathvariant="normal">frac</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>c</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d1e908">A sketch of the principle of a conditional GAN is shown in Fig. <xref ref-type="fig" rid="Ch1.F2"/>a, and our specific approach for generating rainfall scenarios is sketched in Fig. <xref ref-type="fig" rid="Ch1.F2"/>b.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><?xmltex \currentcnt{2}?><?xmltex \def\figurename{Figure}?><label>Figure 2</label><caption><p id="d1e917"><bold>(a)</bold> Principle of a conditional GAN. <bold>(b)</bold> Sketch of the method.</p></caption>
          <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f02.png"/>

        </fig>

      <p id="d1e932">We use a WGAN with gradient penalty <xref ref-type="bibr" rid="bib1.bibx12" id="paren.20"/> and pixel normalization <xref ref-type="bibr" rid="bib1.bibx14" id="paren.21"/>. For details of the training process and GANs in general, we refer to the original papers. Our architecture is based on deep convolutional GANs (DCGAN, <xref ref-type="bibr" rid="bib1.bibx29" id="altparen.22"/>). The input of the generator is a vector of length 100 for the random numbers and a vector of the flattened <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> condition. This is followed by a fully connected layer of size <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:mn mathvariant="normal">256</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>; three 3D upsampling and 3D convolution layers with increasing dimension and decreasing filter size, each followed by a pixel normalization; and finally a 3D convolution output layer. It would also be possible to use convolutional layers on the input condition before flattening it, even though we have not tested this. Especially for larger domains this might improve the GAN. All layers except the output layer have rectified linear unit (ReLu) activation functions. The output layer uses a softmax layer that does a logistic regression over the <italic>nres</italic> dimension. With this, the generator automatically satisfies Eq. (<xref ref-type="disp-formula" rid="Ch1.E4"/>).  The critic has a corresponding mirrored
architecture, with four strided 3D convolution layers, following the philosophy of using striding instead of downsampling from <xref ref-type="bibr" rid="bib1.bibx12" id="text.23"/>. Both networks are optimized with the Adam optimizer <xref ref-type="bibr" rid="bib1.bibx16" id="paren.24"/> over 50 epochs. After 20 epochs the quality of the generator started to decrease (by visual inspection of samples generated from the train set); therefore we used the saved generator after 20 epochs. Training 20 epochs took 8 h on a single NVIDIA Tesla V100 GPU. The architecture resulted, through experimentation with different architectures and training methods. The networks were developed with the Keras <xref ref-type="bibr" rid="bib1.bibx7" id="paren.25"/> and Tensorflow <xref ref-type="bibr" rid="bib1.bibx24" id="paren.26"/> frameworks.  For the details of the architectures, we refer to Appendix <xref ref-type="sec" rid="App1.Ch1.S1"/> and the code published together with this paper.</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Baseline algorithms</title>
      <p id="d1e1005">In this section we describe two simple disaggregation methods that are used as baselines in this study.</p>
<sec id="Ch1.S2.SS3.SSS1">
  <label>2.3.1</label><title>Random fraction from training</title>
      <p id="d1e1015">As the simplest baseline, we select random fractions <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">y</mml:mi><mml:mi mathvariant="normal">frac</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from the training data, and we use these fractions together with the daily sum from the testing set as prediction. This is, per definition, unconditional on the daily sum.</p><?xmltex \hack{\newpage}?>
</sec>
<?pagebreak page3210?><sec id="Ch1.S2.SS3.SSS2">
  <label>2.3.2</label><title>RainFARM</title>
      <p id="d1e1038">As a further baseline algorithm we use an adaption of the RainFARM method
from <xref ref-type="bibr" rid="bib1.bibx31" id="text.27"/>. RainFARM is an algorithm for spatiotemporal downscaling of short-term precipitation forecasts. It estimates the
slopes <inline-formula><mml:math id="M46" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M47" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> of the spatial and temporal power spectra of the low-resolution (low resolution both in time and in space) field. These slopes are also assumed constant for scales smaller than the smallest scales in the low-resolution fields. With <inline-formula><mml:math id="M48" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M49" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>, a random power spectrum corresponding to these slopes is generated, with higher spatial and temporal resolution. From this spectrum, a spatial precipitation field is created and scaled to have the same values as the low-resolution field on the scales that are covered by the low-resolution field.</p>
      <p id="d1e1072">Here we adapt these ideas to our problem. In contrast to RainFARM, we do not use spatial downscaling, only temporal. Further, since we actually have data with higher time resolution available in the training set, we do not estimate the spectral slopes from the starting field and then extrapolate them; rather we estimate them from the hourly resolution data in the training set. Estimating the temporal slope from the starting field would not be possible anyway, because our starting field has only a single time step (the 24 h sum).</p>
      <p id="d1e1075">The temporal slope <inline-formula><mml:math id="M50" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> is estimated the following way: we take a random selection of 500 daily <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> fields with hourly resolution. For each day, a fast Fourier transform (FFT) is performed over the time dimension, and the absolute power spectrum for each grid point and each sample is computed. Now all grid points and samples are put together in a single linear regression equation, in which the logarithm of the power is regressed against the logarithm of the corresponding wavenumber
              <disp-formula id="Ch1.Ex1"><mml:math id="M52" display="block"><mml:mrow><mml:mi>log⁡</mml:mi><mml:mo>(</mml:mo><mml:mi>P</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>⋅</mml:mo><mml:mi>log⁡</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ω</mml:mi><mml:mo>)</mml:mo><mml:mo>+</mml:mo><mml:mi>c</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
            The same is done for the spatial slope <inline-formula><mml:math id="M53" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula>. Here, anisotropy for the two spatial dimensions is assumed:
              <disp-formula id="Ch1.Ex2"><mml:math id="M54" display="block"><mml:mrow><mml:mi>log⁡</mml:mi><mml:mo>(</mml:mo><mml:mi>P</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>⋅</mml:mo><mml:mi>log⁡</mml:mi><mml:mfenced open="(" close=")"><mml:msqrt><mml:mrow><mml:msubsup><mml:mi>k</mml:mi><mml:mi>x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>k</mml:mi><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:msqrt></mml:mfenced><mml:mo>+</mml:mo><mml:mi>c</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
            Now following the RainFARM algorithm, we generate a Fourier spectrum with the spectral slopes <inline-formula><mml:math id="M55" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M56" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula>. In our case it ranges over all spatial scales in a <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> px part of our data, and from <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:mo>/</mml:mo></mml:mrow></mml:math></inline-formula>24 h to <inline-formula><mml:math id="M59" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:mo>/</mml:mo></mml:mrow></mml:math></inline-formula>1 h in angular frequency. We start with uniform random distributed phases <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>x</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>y</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ω</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> and compute the random power spectrum <inline-formula><mml:math id="M61" display="inline"><mml:mover accent="true"><mml:mi>g</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:math></inline-formula> as
              <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M62" display="block"><mml:mrow><mml:mover accent="true"><mml:mi>g</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>x</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>y</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ω</mml:mi></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mi>i</mml:mi><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>k</mml:mi><mml:mi>x</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>y</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ω</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:msup><mml:msqrt><mml:mrow><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:msubsup><mml:mi>k</mml:mi><mml:mi>x</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>k</mml:mi><mml:mi>y</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msubsup></mml:mrow></mml:mfenced><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>/</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:msup><mml:mi mathvariant="italic">ω</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="italic">β</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msqrt><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            which subsequently is scaled to unit variance:
              <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M63" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>g</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mi mathvariant="normal">scaled</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mi>g</mml:mi><mml:mo mathvariant="normal" stretchy="false">^</mml:mo></mml:mover><mml:mo>/</mml:mo><mml:mi mathvariant="normal">std</mml:mi><mml:mfenced open="(" close=")"><mml:mover accent="true"><mml:mi>g</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
            The (not-yet-correctly-scaled) precipitation field <inline-formula><mml:math id="M64" display="inline"><mml:mover accent="true"><mml:mi>r</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> is obtained via inverse FFT and exponentiation:
              <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M65" display="block"><mml:mrow><mml:mover accent="true"><mml:mi>r</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mi>exp⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi mathvariant="normal">real</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>i</mml:mi><mml:mi>f</mml:mi><mml:mi>f</mml:mi><mml:mi>t</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>g</mml:mi><mml:mo stretchy="false" mathvariant="normal">^</mml:mo></mml:mover><mml:mi mathvariant="normal">scaled</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
            The actual precipitation field is now computed via scaling <inline-formula><mml:math id="M66" display="inline"><mml:mover accent="true"><mml:mi>r</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula>, such that the daily sum at each grid point corresponds to the input daily sum for each sample:
              <disp-formula id="Ch1.E10" content-type="numbered"><label>10</label><mml:math id="M67" display="block"><mml:mrow><mml:mi>r</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi mathvariant="normal">obs</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mi>r</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
            For each daily sum, an infinite number of different realizations <inline-formula><mml:math id="M68" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> can be obtained via starting from different random phases <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>(</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>x</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>k</mml:mi><mml:mi>y</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ω</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS4">
  <label>2.4</label><title>Additional inputs</title>
      <p id="d1e1580">In our main architecture, we use only fields of daily rainfall sums as input. This is the minimum possible architecture and therefore also the most generic one for different applications. As an extension, we also use two alternative architectures that provide additional inputs to the network. In the first alternate architecture, we input the day of the year for each sample as additional input. Since the day of the year “doy” is a circular variable (1 is as close to 2 as it is to 365), it is converted to two variables <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> via
            <disp-formula id="Ch1.E11" content-type="numbered"><label>11</label><mml:math id="M72" display="block"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mi>sin⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="normal">doy</mml:mi><mml:mn mathvariant="normal">365</mml:mn></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mo>,</mml:mo><mml:msub><mml:mi>d</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mi>cos⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mi mathvariant="italic">π</mml:mi><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi mathvariant="normal">doy</mml:mi><mml:mn mathvariant="normal">365</mml:mn></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          and these two variables are expanded (repeated) to have the same size as the precipitation input field and  added as additional channels to the input
condition. Leap days are treated as 1 January.</p>
      <?pagebreak page3211?><p id="d1e1657"><?xmltex \hack{\newpage}?>In the second alternate architecture we use the longitude of the sample as
additional input (normalized to [0, 1]). While Sweden has a much larger north–south than east–west extent, the typical precipitation patterns are more dependent on longitude than latitude, because of the large contrast in orography (mountains in the west, flat in the middle, coast in the east).</p>
</sec>
<sec id="Ch1.S2.SS5">
  <label>2.5</label><title>Validation</title>
      <p id="d1e1670">Validation of a trained GAN is a complex and difficult topic. The high-dimensional probability distribution we want to infer is per definition not known (otherwise we would not need the GAN); therefore we cannot directly validate it. This is an inherent problem in generative modeling. We will therefore compare certain statistical properties of the generated samples with the same statistical properties of the real data. We also want to point out that while our method is conditional, it should not be confused with a standard supervised learning method. In the latter, one would assume that there is one “correct” target and train the predictions on this target. In our problem we also have one observed target sub-daily precipitation pattern, but we assume that there are infinitely many possible target patterns for each condition. Our approach is thus much closer to purely generative modeling (learning only the general distribution of
rainfall patterns, not conditioned on anything) than to supervised learning (including probabilistic methods in supervised learning). Still, if interpreted with care, it is possible to use probabilistic forecast evaluation scores. Here we use the widely used continuous ranked probability score (CRPS; <xref ref-type="bibr" rid="bib1.bibx13" id="altparen.28"/>):
            <disp-formula id="Ch1.E12" content-type="numbered"><label>12</label><mml:math id="M73" display="block"><mml:mrow><mml:mi mathvariant="normal">CRPS</mml:mi><mml:mo>(</mml:mo><mml:mi>F</mml:mi><mml:mo>,</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:munder><mml:mo movablelimits="false">∫</mml:mo><mml:mi>x</mml:mi></mml:munder><mml:mo>(</mml:mo><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mi>H</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>-</mml:mo><mml:mi>y</mml:mi><mml:mo>)</mml:mo><mml:msup><mml:mo>)</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mi>x</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          with the cumulative distribution function (CDF) <inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:mi>F</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of the forecast distribution, the true value <inline-formula><mml:math id="M75" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> and the Heaviside step function <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:mi>H</mml:mi><mml:mo>(</mml:mo><mml:mi>x</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e1773">The computation is done with the “properscoring” Python library, which estimates the CRPS via the empirical cumulative distribution function built up by the different scenarios (for each event in the test set, 10 000 scenarios are made with the GAN). The CRPS is computed on a forecast-by-forecast basis. For each forecast, we compute the CRPS for each grid point and each hour of the day separately, and then we average over all grid points and hours. Finally, the CRPS is averaged over all forecasts in the test set.</p>
      <p id="d1e1776">Additionally, we compare the distributions of the generated events with the distributions of the observations. This does not give any information on how well the generated events for a given daily sum correspond to the real daily distribution of that particular day, but it gives information on whether the overall distribution is correct. For this we compute empirical cumulative distribution functions (ECDFs) and logarithmic spectral distances. The computation of the spectral distances is done in the spatial domain. The hours of the day are treated as individual samples. For each spatial field, the discrete radial absolute Fourier power spectrum <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="italic">ω</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is computed. Then, for each combination of spatial fields and corresponding spectra <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">p</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M79" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="bold-italic">p</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, the logarithmic spectral distance <inline-formula><mml:math id="M80" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula> is computed as
            <disp-formula id="Ch1.E13" content-type="numbered"><label>13</label><mml:math id="M81" display="block"><mml:mrow><mml:mi>d</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:munder><mml:mover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi mathvariant="italic">ω</mml:mi></mml:msub></mml:mrow></mml:mover><mml:mi>i</mml:mi></mml:munder><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="normal">10</mml:mn><mml:mo>⋅</mml:mo><mml:mi>log⁡</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:mi>p</mml:mi><mml:mn mathvariant="normal">1</mml:mn><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ω</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>/</mml:mo><mml:mi>p</mml:mi><mml:mn mathvariant="normal">2</mml:mn><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi mathvariant="italic">ω</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>/</mml:mo><mml:msub><mml:mi mathvariant="italic">ω</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:msqrt><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          Additionally, the spectral distance between different methods and observations is computed as well. Here, the distances between all combinations of samples from method1 (GAN) and samples from method2 (RainFARM) are computed.</p>

      <?xmltex \floatpos{p}?><fig id="Ch1.F3" specific-use="star"><?xmltex \currentcnt{3}?><?xmltex \def\figurename{Figure}?><label>Figure 3</label><caption><p id="d1e1912">Real and generated examples of the fraction of hourly precipitation
patterns for one daily precipitation sum and the hourly precipitation itself. Panel <bold>(a)</bold> shows the generated fractions, and <bold>(b)</bold> shows the corresponding hourly precipitation patterns. The leftmost column of each panel displays the daily sum precipitation field used as the condition. The remaining columns show the values for every third hour. The first row presents the observed distribution over the day. The remaining rows show examples generated by the GAN.</p></caption>
          <?xmltex \igopts{width=355.659449pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f03.png"/>

        </fig>

      <?xmltex \floatpos{p}?><fig id="Ch1.F4" specific-use="star"><?xmltex \currentcnt{4}?><?xmltex \def\figurename{Figure}?><label>Figure 4</label><caption><p id="d1e1929">As Fig. <xref ref-type="fig" rid="Ch1.F3"/>, but for a different daily precipitation sum. Note that for very low precipitation amounts, fractions (panel <bold>a</bold>) might still be high.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f04.png"/>

        </fig>

      <?xmltex \floatpos{p}?><fig id="Ch1.F5" specific-use="star"><?xmltex \currentcnt{5}?><?xmltex \def\figurename{Figure}?><label>Figure 5</label><caption><p id="d1e1945">Patterns generated with the RainFARM baseline algorithm, for the same days as in Figs. <xref ref-type="fig" rid="Ch1.F3"/> and <xref ref-type="fig" rid="Ch1.F4"/>.</p></caption>
          <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f05.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><?xmltex \currentcnt{6}?><?xmltex \def\figurename{Figure}?><label>Figure 6</label><caption><p id="d1e1960">Examples of area-averaged precipitation scenarios over a single day. The black line shows the observed precipitation, and the green lines show
100 generated ones. The colored lines show 10 generated ones, where each color uses exactly the same noise in all four plots.</p></caption>
          <?xmltex \igopts{width=455.244094pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f06.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><?xmltex \currentcnt{7}?><?xmltex \def\figurename{Figure}?><label>Figure 7</label><caption><p id="d1e1972"><bold>(a)</bold> Daily cycle of 10 000 randomly selected real observations, and scenarios generated by conditioning on exactly the same 10 000 daily sums. <bold>(b)</bold> Cumulative distribution functions of generated and observed hourly area mean precipitation (upper panel) and hourly point-level precipitation (lower panel), same data as in <bold>(a)</bold>.</p></caption>
          <?xmltex \igopts{width=455.244094pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f07.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Results</title>
      <p id="d1e1998">Figures <xref ref-type="fig" rid="Ch1.F3"/> and <xref ref-type="fig" rid="Ch1.F4"/> show examples of generated rainfall distributions for two randomly chosen daily sum conditions from a randomly chosen location. For each case, 10 hourly patterns are generated with the same daily sum condition from the test dataset. The figures are to be read as follows: the first row in panel (a) shows the per-grid-point fraction of observed precipitation every 3 h, and the following rows present the scenarios generated by the GAN (the same figure but in hourly resolution can be found in Figs. <xref ref-type="fig" rid="App1.Ch1.S2.F10"/> and <xref ref-type="fig" rid="App1.Ch1.S2.F11"/>). Panel (b) shows the same information, but then scaled by the daily precipitation sum at each grid point. In the example of Fig. <xref ref-type="fig" rid="Ch1.F3"/> precipitation occurred relatively evenly distributed over the whole day. As expected, due to the many possible patterns that can be associated with a single daily sum, there is a lot of
variation in the GAN-generated patterns. In row 3, for example, precipitation is concentrated in the first half of the day, whereas in the next-to-last row, it is concentrated at the end of the day. Patterns generated by RainFARM are displayed in Fig. <xref ref-type="fig" rid="Ch1.F5"/>. RainFARM generates hourly precipitation in regions where the original daily precipitation field is nonzero, and rainfall is distributed quite evenly over the whole day. This matches the observed situation in Fig. <xref ref-type="fig" rid="Ch1.F5"/>a well but does not conform with the short-term rainfall observed in panel (b), which is better captured by the GAN scenarios (Fig. <xref ref-type="fig" rid="Ch1.F4"/>). More examples are included in the accompanying data and code repository. Except for boundary problems at the outermost pixels, the patterns seem to be indistinguishable by eye. In applications where the boundary problem would be an issue, one could use a larger domain and then remove the boundary. Figure <xref ref-type="fig" rid="Ch1.F6"/> shows area means of precipitation per hour. Each panel shows the real pattern for one condition (in black) and 100 patterns generated from the same condition (in green). While it is important that individual samples look reasonable, it is also crucial that the generated sample follows the same distributions as the real pattern. Albeit it is impossible to check whether the GAN recreates the full inter-dependent probability distribution (as we use the GAN to solve this problem in lack of a better method), we can at least check whether the typical sub-daily distribution is captured by the GAN. In the real data, the fractions are not equally distributed over the day, meaning that some times of the day often have higher fractions of the daily sum than others. For this, we randomly select 10 000 samples from the test data and generate a single generator example for each. Then we analyze the daily cycle of the 10 000 real patterns and the 10 000 generated ones. The result is shown in
Fig. <xref ref-type="fig" rid="Ch1.F7"/>a (Fig. <xref ref-type="fig" rid="App1.Ch1.S3.F12"/>a including outliers). When looking at the fractions, the generated distribution seems in general to reasonably follow the real distribution. There are, however, some deviations, mainly an underestimation of the daily cycle. When it comes to the daily cycle of precipitation corresponding to these fractions, the generator does
a worse job.  Here the daily cycle is even more underestimated; thus the generator has too little dependency of precipitation on the hour of day. As additional validation, Fig. <xref ref-type="fig" rid="Ch1.F7"/>b shows cumulative distribution functions of the observed and generated hourly precipitation patterns, for the same data as the daily-cycle analysis. Shown are the distribution both of the area means and of point observations. The plots are capped to exclude very low precipitation amounts. The full plots are shown in Fig. <xref ref-type="fig" rid="App1.Ch1.S3.F12"/>b. In general the distribution of the generated patterns follows the distribution of the observations well. However, they generate too many hourly events with precipitation amounts around 1 mm h<inline-formula><mml:math id="M82" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, and on grid point level, the GAN extends to higher<?pagebreak page3216?> maximum precipitation amounts. At very low precipitation amounts (Fig. <xref ref-type="fig" rid="App1.Ch1.S3.F12"/>b) the distributions seem to be very different. This might be caused by the fact that the softmax output of the network cannot generate values of exactly zero for the fraction, and thus the precipitation cannot be exactly zero either, except when the day sum is zero. Here, however, one has to consider that such extremely small precipitation amounts are usually of no importance. Additionally, due to the way the data are stored, the radar data cannot go down to zero, but have a minimum slightly above 10<inline-formula><mml:math id="M83" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">4</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> mm h<inline-formula><mml:math id="M84" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>.</p>
      <p id="d1e2067">Figure <xref ref-type="fig" rid="Ch1.F8"/> shows the distribution of spectral distances of the observations and of the generated patterns and the distribution of spectral distances between observed and generated patterns, all computed on 500 randomly selected samples from the test set. The spectral differences are very similar for both methods and for the observations. Notable is that the observations have a slightly wider right-hand tail than the generated ones, especially compared to RainFARM.</p>
      <p id="d1e2072">Next, we check whether the GAN actually learns to use the condition input. It could be that the GAN only learns the general distribution of precipitation patterns, without connecting it to the daily sum at all. This could in principle partly be answered by the green lines in Fig. <xref ref-type="fig" rid="Ch1.F6"/>; however this is difficult to do by eye, and it would also be hard to differentiate between the influence of the condition and the influence of the randomness of the noise used as input for the generator. Therefore, we also generated 10 examples for each real one, using the same noise for all four panels. Thus generated sample 1 uses the same noise for all conditions, and sample 2 uses the same (different from sample 1) noise for all conditions and so on. The result is shown in the 10 colored lines in Fig. <xref ref-type="fig" rid="Ch1.F6"/>. The patterns generated for different conditions are similar, but not identical. For example, the blue line has a distinct peak between 15 and 20 h only in panel (a), and the
peak of the yellow line between 1–5 h is slightly different in all panels. This means that dependent on the condition, different daily fractions are produced. As an additional test on the influence of the condition, we randomly select two conditions, sample 1000 patterns from each condition (using the same 1000 noise vectors for each condition) and then compute the distribution for each hour of the day, similarly to Fig. <xref ref-type="fig" rid="Ch1.F7"/>. The result for two distinctly different conditions is shown in Fig. <xref ref-type="fig" rid="Ch1.F9"/> (Fig. <xref ref-type="fig" rid="App1.Ch1.S4.F13"/> with outliers). As can be seen, the distributions are not the same for both conditions. At 10 of the 24 h of the day, the distributions are significantly different (<inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.05</mml:mn></mml:mrow></mml:math></inline-formula> with two-sample Kolmogorov–Smirnov test). For conditions that are very similar, there is no significant difference at any hour of the day (not shown). This confirms the result from above that the
GAN has at least to some extent learned to use the condition. Verifying the conditional relationships is difficult to impossible: the high dimension of the condition would cause any type of binning or grouping to result in either a very low sample size for each group or groups whose conditions are different only in some of the dimensions, and therefore a verification is not attempted here.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8"><?xmltex \currentcnt{8}?><?xmltex \def\figurename{Figure}?><label>Figure 8</label><caption><p id="d1e2101">Distribution of hourly logarithmic spectral distances (<inline-formula><mml:math id="M86" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>)  for the observed patterns (blue), patterns generated with the GAN (yellow), patterns generated with RainFARM (green), and distances between patterns observed and generated with GAN (red) and between patterns observed and generated with RainFARM (purple), for 500 d (resulting in 12 000 h) from the test set.</p></caption>
        <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f08.png"/>

      </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9"><?xmltex \currentcnt{9}?><?xmltex \def\figurename{Figure}?><label>Figure 9</label><caption><p id="d1e2119">Example of daily area mean distributions generated from two different daily sum conditions. For each conditions 1000 scenarios were generated. In all bar plots outliers are not shown. The same plots with outliers are shown in Appendix <xref ref-type="fig" rid="App1.Ch1.S4.F13"/>.</p></caption>
        <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f09.png"/>

      </fig>

      <p id="d1e2130">Finally, we compute the CRPS of the generated patterns. The result is shown in Table <xref ref-type="table" rid="Ch1.T1"/>. The GAN has a slightly lower CRPS than RainFARM and random, indicating that it has a higher probabilistic skill. While the difference is small, it is highly significant. This was tested with the one-sample <inline-formula><mml:math id="M87" display="inline"><mml:mi>t</mml:mi></mml:math></inline-formula> test against the null hypothesis that the mean of the differences is zero (<inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, down to machine precision) and with bootstrapping (<inline-formula><mml:math id="M89" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0.01</mml:mn></mml:mrow></mml:math></inline-formula>). A one-sample test was chosen because all three methods were tested on exactly the same test samples, and the scores are therefore not independent.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1"><?xmltex \currentcnt{1}?><label>Table 1</label><caption><p id="d1e2169">CRPS scores of GAN and baseline methods for 10 000 test samples.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="5">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="center"/>
     <oasis:colspec colnum="3" colname="col3" align="center"/>
     <oasis:colspec colnum="4" colname="col4" align="center"/>
     <oasis:colspec colnum="5" colname="col5" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Method</oasis:entry>
         <oasis:entry colname="col2">GAN</oasis:entry>
         <oasis:entry colname="col3">RainFARM</oasis:entry>
         <oasis:entry colname="col4">Random</oasis:entry>
         <oasis:entry colname="col5"/>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">CRPS <inline-formula><mml:math id="M90" display="inline"><mml:mo>[</mml:mo></mml:math></inline-formula>mm h<inline-formula><mml:math id="M91" 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:mo>]</mml:mo></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">0.254</oasis:entry>
         <oasis:entry colname="col3">0.285</oasis:entry>
         <oasis:entry colname="col4">0.26</oasis:entry>
         <oasis:entry colname="col5"/>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<?xmltex \hack{\newpage}?>
<?pagebreak page3217?><sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Architectures with additional inputs</title>
      <p id="d1e2259">When training our first alternative architecture with day of year as additional input, the training did not succeed and only resulted in
very unrealistic generated patterns (not shown). This might be caused by the fact that with day of the year as input, the network could be susceptible to overfitting, especially since we are excluding non-rain days from the training data. The second alternative architecture – with longitude as additional input – was slightly more successful. The results for the longitude architecture are shown in the Appendix (Fig. <xref ref-type="fig" rid="App1.Ch1.S5.F14"/>). Shown is the daily cycle of 10 000 randomly selected observations and scenarios generated from these. The results are presented for all samples in the eastern and in the western half of the domain separately. The daily cycle of the generated samples is not very realistic, in either of the domains. In
general, even though less dramatic than the day-of-year input, the additional longitude input seems to have disturbed the training of the network and in fact made it worse than the base architecture without any additional inputs.</p>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <label>4</label><title>Discussion and conclusion</title>
      <p id="d1e2273">In this study we used a generative adversarial network (GAN) to generate possible scenarios of hourly precipitation fields, conditioned on a field of daily precipitation sums. The network was trained on 8 years (2009–2016) of hourly observations of Swedish precipitation radar data and the corresponding fields of daily precipitation sum. The trained network can generate reasonable-looking hourly scenarios and thus seems to be able to approximate the probability distribution of the spatiotemporal rainfall patterns. By eye, the generated patterns are nearly indistinguishable from the real patterns. Additionally, the spectral distances of the generated patterns are similar to the observed ones. We showed that the network does not simply learn a general distribution of precipitation patterns, but it is also able to use the conditional daily sum field to some extent. It thus learns a dependency of the probability distribution of rainfall patterns on the daily sum. This result is supported by the GAN CRPS being slightly better but in the same order of magnitude as CRPS of randomly selected and RainFARM-generated patterns. We were, however, not able to find a reasonable way to verify this inferred dependency on the daily sum, and its quality hence remains unverified for now. Close inspection of the statistics of many generated samples showed partial agreement but also some deviation from the real statistics, pointing to potential limitations of the method, at least in its current implementation. Adding additional information (longitude and day of the year) to our GAN architecture was not successful. Not only was the GAN unable to learn the influence of the additional parameters on the probability distribution of the patterns, it also did worse on the general probability distribution. This shows that it is not possible to simply add
additional information to an architecture that works without additional inputs. The “black-box” nature of GANs makes it hard to even speculate about a possible reason for this. A further question left open is the suitability of the presented approach for larger domain sizes. The <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:mn mathvariant="normal">16</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">16</mml:mn></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:mo>∼</mml:mo><mml:mn mathvariant="normal">32</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">32</mml:mn></mml:mrow></mml:math></inline-formula> km) pixel approach was chosen with a small catchment in the Alps in mind, which we plan to study in more detail. Recent tests with a <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:mn mathvariant="normal">64</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">64</mml:mn></mml:mrow></mml:math></inline-formula> px domain revealed a decreasing performance. However, such tests are computationally very expensive, and we suspect that our training might have been too short (too few training epochs). Notwithstanding this, this topic needs further inspection. With our GAN architecture, it is not possible to ensure spatial and temporal continuity when applying the GAN to regions or timeframes that are neighbors in time or space. This could be remedied with the approach presented in <xref ref-type="bibr" rid="bib1.bibx22" id="text.29"/>. Furthermore, as a cautionary remark, we point out that the approach presented in this paper only makes sense if the training data come from the same climatic conditions as the input data, and the trained GAN should not (or only after careful evaluation) be transferred to other regions. This is because spatial rainfall distributions differ between different (climatic) regions. Finally, expert judgment is still necessary in deciding when to stop the training of the GAN, since after some time the quality of the generated patterns deteriorated. This can potentially be a severe limitation in practice. Detailed study and development will therefore be necessary to further improve the method and also to make it less dependent on expert judgment.</p>
      <p id="d1e2317">We conclude that with our current knowledge, it is in principle possible to use GANs in the context of spatial precipitation disaggregation, however only with care and in addition to expert judgment. We hope that this study serves as a starting ground for the hydrological community to work further on assessing the potential of GANs for precipitation disaggregation.</p>
      <p id="d1e2320">This study was mainly intended as a proof of concept, in order to assess whether it is principally possible to use GANs for temporarily disaggregating spatial rainfall patterns. Whether the method also proves useful in rainfall–runoff modeling will be assessed in a follow-up study. This runoff modeling could include future climate scenarios. In such a setting it has to be noted that our method – as most other methods – makes a stationarity assumption, meaning that it assumes that the probability distribution of rainfall patterns is always the same (except for the dependency on the daily rainfall sum). In a future (warmer) climate, however, the typical patterns might be different.</p>
      <?pagebreak page3218?><p id="d1e2323"><?xmltex \hack{\newpage}?>When the problems with additional inputs that we encountered are eventually solved, it would be interesting to also test inputting other meteorological variables such as temperature, wind speed or air pressure. These might contain information on the current weather pattern, which itself can have an impact on the possible sub-daily precipitation patterns. This might also be a way to – at least partly – deal with the problem of non-stationarity in the future climate scenarios mentioned above. Additionally, our method could be combined with other machine-learning methods. For example, an unsupervised
classification scheme could be used prior to training the GAN. With this, the events could be categorized into a number of different classes, and then an individual GAN could be trained for each class. Alternatively, the class label could be added as input to the GAN. The latter would take the burden of implicitly classifying the events from the GAN.</p>
      <p id="d1e2328">It would also be of interest to modify the loss function used for the training of the networks and include constraints on the statistics of the data (for example the reproduction of the daily cycle), following the ideas of <xref ref-type="bibr" rid="bib1.bibx39" id="text.30"/>. This might eliminate the problems of deviation from the real statistics mentioned earlier. Another option would be to step back from the purely data-driven approach and try to include physical constraints directly in the GAN.</p>
      <p id="d1e2334"><?xmltex \hack{\newpage}?>Variational autoencoders <xref ref-type="bibr" rid="bib1.bibx17" id="paren.31"/>, which are another type of neural network that can be used to infer high-dimensional (potentially conditional) probability distributions, might also be an attractive alternative to the GAN presented here.</p>
      <p id="d1e2341">Finally, from a scientific point of view it would be a very appealing attempt using techniques from the emerging field of explainable AI <xref ref-type="bibr" rid="bib1.bibx32 bib1.bibx1" id="paren.32"/> for the challenging task of using the trained GAN for inferring knowledge about the underlying physical processes.</p><?xmltex \hack{\clearpage}?>
</sec>

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

<?pagebreak page3219?><app id="App1.Ch1.S1">
  <?xmltex \currentcnt{A}?><label>Appendix A</label><title/>
      <p id="d1e2359">The generator consists of the following layers: dense layer with size 3072, upsampling3D, convolution3D (256 channels, kernel size <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>),
pixelnormalization, upsampling3D, convolution3D (128 channels, kernel size
<inline-formula><mml:math id="M96" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>), pixelnormalization, upsampling3D, convolution3D (64 channels, kernel size <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula>), pixelnormalization, convolution3D (1 channel, kernel size <inline-formula><mml:math id="M98" display="inline"><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula>) and softmax (along the first dimension).</p>
      <p id="d1e2426"><?xmltex \hack{\newpage}?>The critic consists of the following layers: convolution3D (64 channels), convolution3D (128 channels), convolution3D (256 channels) and dense (1 node).</p>
      <p id="d1e2430">The critic uses dropout regularization (dropout probability 0.25) after each convolution layer. All convolution layers (except the last one in the generator) use a leaky ReLu activation function with <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e2445">Both the critic and the generator are trained with the Adam optimizer
with parameters <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:mi>l</mml:mi><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.0001</mml:mn></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.9</mml:mn></mml:mrow></mml:math></inline-formula> (the values recommend by <xref ref-type="bibr" rid="bib1.bibx12" id="altparen.33"/>).</p><?xmltex \hack{\clearpage}?>
</app>

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

      <?xmltex \floatpos{h!}?><fig id="App1.Ch1.S2.F10"><?xmltex \currentcnt{B1}?><?xmltex \def\figurename{Figure}?><label>Figure B1</label><caption><p id="d1e2505">As Fig. <xref ref-type="fig" rid="Ch1.F3"/>, but with all hours shown.</p></caption>
        <?xmltex \hack{\hsize\textwidth}?>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f10.png"/>

      </fig>

<?xmltex \hack{\clearpage}?><?xmltex \floatpos{h!}?><fig id="App1.Ch1.S2.F11"><?xmltex \currentcnt{B2}?><?xmltex \def\figurename{Figure}?><label>Figure B2</label><caption><p id="d1e2521">As Fig. <xref ref-type="fig" rid="Ch1.F4"/>, but with all hours shown.</p></caption>
        <?xmltex \hack{\hsize\textwidth}?>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f11.png"/>

      </fig>

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

<?pagebreak page3222?><app id="App1.Ch1.S3">
  <?xmltex \currentcnt{C}?><label>Appendix C</label><title/>

      <?xmltex \floatpos{h!}?><fig id="App1.Ch1.S3.F12"><?xmltex \currentcnt{C1}?><?xmltex \def\figurename{Figure}?><label>Figure C1</label><caption><p id="d1e2545"><bold>(a)</bold> Daily cycle of 10 000 randomly selected real observations and scenarios generated by conditioning on exactly the same 10 000 daily sums. Same as Fig. <xref ref-type="fig" rid="Ch1.F7"/>a but with outliers shown. <bold>(b)</bold> Cumulative distribution functions of generated and observed hourly area mean precipitation (upper panel) and hourly point-level precipitation (lower panel); same data as in <bold>(a)</bold>. Same as Fig. <xref ref-type="fig" rid="Ch1.F7"/>b, but with the full range on the <inline-formula><mml:math id="M103" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axis.</p></caption>
        <?xmltex \hack{\hsize\textwidth}?>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f12.png"/>

      </fig>

</app>

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

      <?xmltex \floatpos{h!}?><fig id="App1.Ch1.S4.F13"><?xmltex \currentcnt{D1}?><?xmltex \def\figurename{Figure}?><label>Figure D1</label><caption><p id="d1e2584">Example of daily area mean distributions generated from two different daily sum conditions. For each condition, 1000 scenarios were generated. In all bar plots, outliers are not shown. The same plots as Fig. <xref ref-type="fig" rid="Ch1.F9"/> but with outliers.</p></caption>
        <?xmltex \hack{\hsize\textwidth}?>
        <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f13.png"/>

      </fig>

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

<?pagebreak page3223?><app id="App1.Ch1.S5">
  <?xmltex \currentcnt{E}?><label>Appendix E</label><title/>

      <?xmltex \floatpos{h!}?><fig id="App1.Ch1.S5.F14"><?xmltex \currentcnt{E1}?><?xmltex \def\figurename{Figure}?><label>Figure E1</label><caption><p id="d1e2608">Results from the network with longitude as additional input. Daily
cycle of 10 000 randomly selected real observations and scenarios generated by conditioning on exactly the same 10 000 daily sums, split up into western and eastern halves of the domain.</p></caption>
        <?xmltex \hack{\hsize\textwidth}?>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://hess.copernicus.org/articles/25/3207/2021/hess-25-3207-2021-f14.png"/>

      </fig>

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

      <p id="d1e2625">The SMHI radar data can be freely obtained from <uri>http://opendata-download-radar.smhi.se/</uri> (last access: 9 June 2021) <xref ref-type="bibr" rid="bib1.bibx36" id="paren.34"/>. The software developed for this study, as well as the trained generator, is available in Sebastian Scher's GitHub repository at <uri>https://github.com/sipposip/pr-disagg-radar-gan</uri> (last access: 9 June 2021) <xref ref-type="bibr" rid="bib1.bibx33" id="paren.35"/>. Additionally, on final publication, the repository will be archived at Zenodo under the reserved DOI <ext-link xlink:href="https://doi.org/10.5281/zenodo.3733065" ext-link-type="DOI">10.5281/zenodo.3733065</ext-link> <xref ref-type="bibr" rid="bib1.bibx34" id="paren.36"/>.</p>
  </notes><notes notes-type="authorcontribution"><title>Author contributions</title>

      <p id="d1e2650">SP initiated the study. SeS developed and implemented the GAN, analyzed the data and drafted the manuscript. Both authors interpreted the results and helped in improving the manuscript.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e2656">The authors declare that they have no conflict of interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e2662">We thank Lea Beusch for interesting discussions. The computations were done on resources provided by the Swedish National Infrastructure for Computing (SNIC) at the High Performance Computing Center North (HPC2N) and National Supercomputer Centre (NSC). The authors acknowledge the Swedish Meteorological and Hydrological Institute (SMHI) for making the radar data freely available. Stefanie Peßenteiner has been funded by the Austrian Climate Research Programme (ACRP, 9th call; project RunSed-CC, grant number KR16AC0K13305).</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d1e2667">This research has been supported by the Austrian Climate Research Programme (grant no. KR16AC0K13305).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d1e2673">This paper was edited by Nadav Peleg and reviewed by Jussi Leinonen and Daniele Nerini.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><?xmltex \def\ref@label{{Adadi and Berrada(2018)}}?><label>Adadi and Berrada(2018)</label><?label adadi_peeking_2018?><mixed-citation>Adadi, A. and Berrada, M.: Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI), IEEE Access, 6, 52138–52160, <ext-link xlink:href="https://doi.org/10.1109/ACCESS.2018.2870052" ext-link-type="DOI">10.1109/ACCESS.2018.2870052</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx2"><?xmltex \def\ref@label{{Arjovsky et~al.(2017)Arjovsky, Chintala, and
Bottou}}?><label>Arjovsky et al.(2017)Arjovsky, Chintala, and
Bottou</label><?label arjovsky_wasserstein_2017?><mixed-citation>
Arjovsky, M., Chintala, S., and Bottou, L.: Wasserstein GAN, arXiv: preprint,
arXiv:1701.07875 [cs, stat], 2017.</mixed-citation></ref>
      <ref id="bib1.bibx3"><?xmltex \def\ref@label{{Bihlo(2021)}}?><label>Bihlo(2021)</label><?label alex2020generative?><mixed-citation>Bihlo, A.: A generative adversarial network approach to (ensemble) weather
prediction, Neural Netw., 139, 1–16, <ext-link xlink:href="https://doi.org/10.1016/j.neunet.2021.02.003" ext-link-type="DOI">10.1016/j.neunet.2021.02.003</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx4"><?xmltex \def\ref@label{{Breinl and Di~Baldassarre(2019)}}?><label>Breinl and Di Baldassarre(2019)</label><?label breinl_space-time_2019?><mixed-citation>Breinl, K. and Di Baldassarre, G.: Space-time disaggregation of precipitation
and temperature across different climates and spatial scales, J. Hydrol.: Reg. Stud., 21, 126–146, <ext-link xlink:href="https://doi.org/10.1016/j.ejrh.2018.12.002" ext-link-type="DOI">10.1016/j.ejrh.2018.12.002</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx5"><?xmltex \def\ref@label{{Burian et~al.(2000)Burian, Durrans, Tomi{\u{c}}, Pimmel, and
Chung~Wai}}?><label>Burian et al.(2000)Burian, Durrans, Tomic̆, Pimmel, and
Chung Wai</label><?label burian_rainfall_2000?><mixed-citation>Burian, S. J., Durrans, S. R., Tomi<?xmltex \transposegrab{\u}?>c̆, S., Pimmel, R. L., and Chung Wai,
N.: Rainfall Disaggregation Using Artificial Neural Networks, J. Hydrol. Eng-ASCE, 5, 299–307, <ext-link xlink:href="https://doi.org/10.1061/(ASCE)1084-0699(2000)5:3(299)" ext-link-type="DOI">10.1061/(ASCE)1084-0699(2000)5:3(299)</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx6"><?xmltex \def\ref@label{{Burian et~al.(2001)Burian, Durrans, Nix, and
Pitt}}?><label>Burian et al.(2001)Burian, Durrans, Nix, and
Pitt</label><?label burian_training_2001?><mixed-citation>
Burian, S. J., Durrans, S. R., Nix, S. J., and Pitt, R. E.: Training Artificial Neural Networks to Perform Rainfall Disaggregation, J. Hydrol. Eng., 6, 43–51, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx7"><?xmltex \def\ref@label{{Chollet et~al.(2015)}}?><label>Chollet et al.(2015)</label><?label chollet_keras_2015-1?><mixed-citation>Chollet, F., et al.: Keras, GitHub, available at: <uri>https://github.com/keras-team/keras</uri>
(last access: 9 June 2021), 2015.</mixed-citation></ref>
      <ref id="bib1.bibx8"><?xmltex \def\ref@label{{Di~Baldassarre et~al.(2006)Di~Baldassarre, Castellarin, and
Brath}}?><label>Di Baldassarre et al.(2006)Di Baldassarre, Castellarin, and
Brath</label><?label baldassarre_relationships_2006?><mixed-citation>Di Baldassarre, G., Castellarin, A., and Brath, A.: Relationships between
statistics of rainfall extremes and mean annual precipitation: an application
for design-storm estimation in northern central Italy, Hydrol. Earth Syst. Sci., 10, 589–601, <ext-link xlink:href="https://doi.org/10.5194/hess-10-589-2006" ext-link-type="DOI">10.5194/hess-10-589-2006</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx9"><?xmltex \def\ref@label{{F\"{o}rster et~al.(2016)F{\"{o}}rster, Hanzer, Winter, Marke, and
Strasser}}?><label>Förster et al.(2016)Förster, Hanzer, Winter, Marke, and
Strasser</label><?label forster_open-source_2016?><mixed-citation>Förster, K., Hanzer, F., Winter, B., Marke, T., and Strasser, U.: An
Open-Source MEteoroLOgical Observation Time Series DISaggregation Tool (MELODIST v0.1.1), Geosci. Model Dev., 9, 2315–2333,
<ext-link xlink:href="https://doi.org/10.5194/gmd-9-2315-2016" ext-link-type="DOI">10.5194/gmd-9-2315-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx10"><?xmltex \def\ref@label{{Gagne~II et~al.(2019)Gagne~II, Christensen, Subramanian, and
Monahan}}?><label>Gagne II et al.(2019)Gagne II, Christensen, Subramanian, and
Monahan</label><?label gagne_ii_machine_2019?><mixed-citation>
Gagne II, D. J., Christensen, H. M., Subramanian, A. C., and Monahan, A. H.: Machine Learning for Stochastic Parameterization: Generative Adversarial Networks in the Lorenz '96 Model, arXiv: preprint, arXiv:1909.04711 [nlin, physics:physics, stat], 2019.</mixed-citation></ref>
      <ref id="bib1.bibx11"><?xmltex \def\ref@label{{Goodfellow et~al.(2014)Goodfellow, {Pouget-Abadie}, Mirza, Xu,
{Warde-Farley}, Ozair, Courville, and Bengio}}?><label>Goodfellow et al.(2014)Goodfellow, Pouget-Abadie, Mirza, Xu,
Warde-Farley, Ozair, Courville, and Bengio</label><?label goodfellow_generative_2014-1?><mixed-citation>
Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y.: Generative Adversarial Nets, in: Advances in Neural Information Processing Systems 27, edited by: Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N. D., and Weinberger, K. Q., Curran Associates, Inc., 2672–2680, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx12"><?xmltex \def\ref@label{{Gulrajani et~al.(2017)Gulrajani, Ahmed, Arjovsky, Dumoulin, and
Courville}}?><label>Gulrajani et al.(2017)Gulrajani, Ahmed, Arjovsky, Dumoulin, and
Courville</label><?label gulrajani_improved_2017?><mixed-citation>
Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., and Courville, A.:
Improved Training of Wasserstein GANs, arXiv: preprint, arXiv:1704.00028 [cs, stat], 2017.</mixed-citation></ref>
      <ref id="bib1.bibx13"><?xmltex \def\ref@label{{Hersbach(2000)}}?><label>Hersbach(2000)</label><?label hersbach_2000?><mixed-citation>Hersbach, H.: Decomposition of the Continuous Ranked Probability Score for
Ensemble Prediction Systems, Weather Forecast., 15, 559–570,
<ext-link xlink:href="https://doi.org/10.1175/1520-0434(2000)015&lt;0559:DOTCRP&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0434(2000)015&lt;0559:DOTCRP&gt;2.0.CO;2</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx14"><?xmltex \def\ref@label{{Karras et~al.(2018)Karras, Aila, Laine, and
Lehtinen}}?><label>Karras et al.(2018)Karras, Aila, Laine, and
Lehtinen</label><?label karras_progressive_2018?><mixed-citation>
Karras, T., Aila, T., Laine, S., and Lehtinen, J.: Progressive Growing of
GANs for Improved Quality, Stability, and Variation, arXiv: preprint,
arXiv:1710.10196 [cs, stat], 2018.</mixed-citation></ref>
      <ref id="bib1.bibx15"><?xmltex \def\ref@label{{King et~al.(2018)King, Hennigh, Mohan, and Chertkov}}?><label>King et al.(2018)King, Hennigh, Mohan, and Chertkov</label><?label king_deep_2018?><mixed-citation>
King, R., Hennigh, O., Mohan, A., and Chertkov, M.: From Deep to Physics-Informed Learning of Turbulence: Diagnostics, arXiv: preprint, arXiv:1810.07785 [nlin, physics:physics, stat], 2018.</mixed-citation></ref>
      <ref id="bib1.bibx16"><?xmltex \def\ref@label{{Kingma and Ba(2017)}}?><label>Kingma and Ba(2017)</label><?label kingma_adam_2017?><mixed-citation>
Kingma, D. P. and Ba, J.: Adam: A Method for Stochastic Optimization, arXiv: preprint, arXiv:1412.6980 [cs], 2017.</mixed-citation></ref>
      <ref id="bib1.bibx17"><?xmltex \def\ref@label{{Kingma and Welling(2014)}}?><label>Kingma and Welling(2014)</label><?label kingma_auto-encoding_2014?><mixed-citation>
Kingma, D. P. and Welling, M.: Auto-Encoding Variational Bayes, arXiv: preprint arXiv:1312.6114 [cs, stat], 2014.</mixed-citation></ref>
      <ref id="bib1.bibx18"><?xmltex \def\ref@label{{Koutsoyiannis and Onof(2001)}}?><label>Koutsoyiannis and Onof(2001)</label><?label koutsoyiannis_rainfall_2001?><mixed-citation>Koutsoyiannis, D. and Onof, C.: Rainfall Disaggregation Using Adjusting
Procedures on a Poisson Cluster Model, J. Hydrol., 246, 109–122, <ext-link xlink:href="https://doi.org/10.1016/S0022-1694(01)00363-8" ext-link-type="DOI">10.1016/S0022-1694(01)00363-8</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx19"><?xmltex \def\ref@label{{Koutsoyiannis et~al.(2003)Koutsoyiannis, Onof, and
Wheater}}?><label>Koutsoyiannis et al.(2003)Koutsoyiannis, Onof, and
Wheater</label><?label koutsoyiannis_multivariate_2003?><mixed-citation>Koutsoyiannis, D., Onof, C., and Wheater, H. S.: Multivariate Rainfall
Disaggregation at a Fine Timescale, Water Resour. Res., 39, 1173, <ext-link xlink:href="https://doi.org/10.1029/2002WR001600" ext-link-type="DOI">10.1029/2002WR001600</ext-link>, 2003.</mixed-citation></ref>
      <ref id="bib1.bibx20"><?xmltex \def\ref@label{{Kumar et~al.(2012)Kumar, Brooks, Thornton, and
Dietze}}?><label>Kumar et al.(2012)Kumar, Brooks, Thornton, and
Dietze</label><?label kumar_sub-daily_2012?><mixed-citation>Kumar, J., Brooks, B.-G. J., Thornton, P. E., and Dietze, M. C.: Sub-daily
Statistical Downscaling of Meteorological Variables Using Neural Networks, Proced. Comput. Sci., 9, 887–896, <ext-link xlink:href="https://doi.org/10.1016/j.procs.2012.04.095" ext-link-type="DOI">10.1016/j.procs.2012.04.095</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx21"><?xmltex \def\ref@label{{Leinonen et~al.(2019)Leinonen, Guillaume, and
Yuan}}?><label>Leinonen et al.(2019)Leinonen, Guillaume, and
Yuan</label><?label leinonen_reconstruction_2019?><mixed-citation>Leinone<?pagebreak page3225?>n, J., Guillaume, A., and Yuan, T.: Reconstruction of Cloud Vertical
Structure With a Generative Adversarial Network, Geophys. Res. Lett., 46, 7035–7044, <ext-link xlink:href="https://doi.org/10.1029/2019GL082532" ext-link-type="DOI">10.1029/2019GL082532</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx22"><?xmltex \def\ref@label{{Leinonen et~al.(2020)Leinonen, Nerini, and
Berne}}?><label>Leinonen et al.(2020)Leinonen, Nerini, and
Berne</label><?label leinonen2020stochastic?><mixed-citation>Leinonen, J., Nerini, D., and Berne, A.: Stochastic Super-Resolution for
Downscaling Time-Evolving Atmospheric Fields With a Generative Adversarial
Network, IEEE T. Geosci. Remote, <ext-link xlink:href="https://doi.org/10.1109/TGRS.2020.3032790" ext-link-type="DOI">10.1109/TGRS.2020.3032790</ext-link>, in press, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx23"><?xmltex \def\ref@label{{Lewis et~al.(2019)Lewis, Fowler, Alexander, Dunn, McClean, Barbero,
Guerreiro, Li, and Blenkinsop}}?><label>Lewis et al.(2019)Lewis, Fowler, Alexander, Dunn, McClean, Barbero,
Guerreiro, Li, and Blenkinsop</label><?label lewis_gsdr_2019?><mixed-citation>Lewis, E., Fowler, H., Alexander, L., Dunn, R., McClean, F., Barbero, R.,
Guerreiro, S., Li, X.-F., and Blenkinsop, S.: GSDR: A Global Sub-Daily Rainfall Dataset, J. Climate, 32, 4715–4729, <ext-link xlink:href="https://doi.org/10.1175/JCLI-D-18-0143.1" ext-link-type="DOI">10.1175/JCLI-D-18-0143.1</ext-link>,  2019.</mixed-citation></ref>
      <ref id="bib1.bibx24"><?xmltex \def\ref@label{{Mart\'{i}n et~al.(2015){Mart{\'{i}}n Abadi}, {Ashish Agarwal}, {Paul Barham}, {Eugene Brevdo}, {Zhifeng Chen}, {Craig Citro}, {Greg S. Corrado}, {Andy Davis}, {Jeffrey Dean}, {Matthieu Devin}, {Sanjay Ghemawat}, {Ian Goodfellow}, {Andrew Harp}, {Geoffrey Irving}, {Michael Isard}, Jia, {Rafal Jozefowicz}, {Lukasz Kaiser}, {Manjunath Kudlur}, {Josh Levenberg}, {Dandelion Man{\'{e}}}, {Rajat Monga}, {Sherry Moore}, {Derek Murray}, {Chris Olah}, {Mike Schuster}, {Jonathon Shlens}, {Benoit Steiner}, {Ilya Sutskever}, {Kunal Talwar}, {Paul Tucker}, {Vincent Vanhoucke}, {Vijay Vasudevan}, {Fernanda Vi{\'{e}}gas}, {Oriol Vinyals}, {Pete Warden}, {Martin Wattenberg}, {Martin Wicke}, {Yuan Yu}, and {Xiaoqiang Zheng}}}?><label>Martín et al.(2015)Martín Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dandelion Mané, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viégas, Oriol Vinyals, Pete Warden, Martin Wattenberg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng</label><?label martin_abadi_tensorflow_2015-2?><mixed-citation>Martín, A., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G. S., Davis, A., Dean, J., Devin, M., Ghemawat, S., Goodfellow, I., Harp, A., Irving, G., Isard, M., Jia, Y., Jozefowicz, R.,  Kaiser, L., Kudlur, M., Levenberg, J., Mané, D., Monga, R., Moore, S., Murray, D., Olah, C., Schuster, M., Shlens, J., Steiner, B., Sutskever, I., Talwar, K.,
Tucker, P., Vanhoucke, V., Vasudevan, V., Viégas, F., Vinyals, O.,  Warden, P., Wattenberg, M., Wicke, M., Yu, Y., and Zheng, X.: TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems, google research,
available at:
<uri>https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45166.pdf</uri> (last access: 9 June 2021), 2015.</mixed-citation></ref>
      <ref id="bib1.bibx25"><?xmltex \def\ref@label{{Mirza and Osindero(2014)}}?><label>Mirza and Osindero(2014)</label><?label mirza_conditional_2014?><mixed-citation>
Mirza, M. and Osindero, S.: Conditional Generative Adversarial Nets, arXiv: preprint, arXiv:1411.1784 [cs, stat], 2014.</mixed-citation></ref>
      <ref id="bib1.bibx26"><?xmltex \def\ref@label{{M\"{u}ller and Haberlandt(2018)}}?><label>Müller and Haberlandt(2018)</label><?label muller_temporal_2018?><mixed-citation>Müller, H. and Haberlandt, U.: Temporal Rainfall Disaggregation Using a
Multiplicative Cascade Model for Spatial Application in Urban Hydrology, J. Hydrol., 556, 847–864, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2016.01.031" ext-link-type="DOI">10.1016/j.jhydrol.2016.01.031</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx27"><?xmltex \def\ref@label{{M\"{u}ller-Thomy and Sikorska-Senoner(2019)}}?><label>Müller-Thomy and Sikorska-Senoner(2019)</label><?label muller-thomy_does_2019?><mixed-citation>Müller-Thomy, H. and Sikorska-Senoner, A. E.: Does the complexity in
temporal precipitation disaggregation matter for a lumped hydrological
model?, Hydrolog. Sci. J., 64, 1453–1471, <ext-link xlink:href="https://doi.org/10.1080/02626667.2019.1638926" ext-link-type="DOI">10.1080/02626667.2019.1638926</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx28"><?xmltex \def\ref@label{{Pui et~al.(2012)Pui, Sharma, Mehrotra, Sivakumar, and
Jeremiah}}?><label>Pui et al.(2012)Pui, Sharma, Mehrotra, Sivakumar, and
Jeremiah</label><?label pui_comparison_2012?><mixed-citation>Pui, A., Sharma, A., Mehrotra, R., Sivakumar, B., and Jeremiah, E.: A
Comparison of Alternatives for Daily to Sub-Daily Rainfall Disaggregation, J. Hydrol., 470-471, 138–157, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2012.08.041" ext-link-type="DOI">10.1016/j.jhydrol.2012.08.041</ext-link>, 2012.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bibx29"><?xmltex \def\ref@label{{Radford et~al.(2016)Radford, Metz, and
Chintala}}?><label>Radford et al.(2016)Radford, Metz, and
Chintala</label><?label radford_unsupervised_2016?><mixed-citation>
Radford, A., Metz, L., and Chintala, S.: Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks, arXiv: preprint,
arXiv:1511.06434 [cs], 2016.</mixed-citation></ref>
      <ref id="bib1.bibx30"><?xmltex \def\ref@label{{Raut et~al.(2018)Raut, Seed, Reeder, and
Jakob}}?><label>Raut et al.(2018)Raut, Seed, Reeder, and
Jakob</label><?label raut_multiplicative_2018?><mixed-citation>Raut, B. A., Seed, A. W., Reeder, M. J., and Jakob, C.: A Multiplicative
Cascade Model for High-Resolution Space-Time Downscaling of Rainfall, J. Geophys. Res.-Atmos., 123, 2050–2067, <ext-link xlink:href="https://doi.org/10.1002/2017JD027148" ext-link-type="DOI">10.1002/2017JD027148</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx31"><?xmltex \def\ref@label{{Rebora et~al.(2006)Rebora, Ferraris, von Hardenberg, and
Provenzale}}?><label>Rebora et al.(2006)Rebora, Ferraris, von Hardenberg, and
Provenzale</label><?label RainFARM?><mixed-citation>Rebora, N., Ferraris, L., von Hardenberg, J., and Provenzale, A.: RainFARM:
Rainfall Downscaling by a Filtered Autoregressive Model, J. Hydrometeorol., 7, 724–738, <ext-link xlink:href="https://doi.org/10.1175/JHM517.1" ext-link-type="DOI">10.1175/JHM517.1</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx32"><?xmltex \def\ref@label{{Samek et~al.(2017)Samek, Wiegand, and
M{\"{u}}ller}}?><label>Samek et al.(2017)Samek, Wiegand, and
Müller</label><?label samek_explainable_2017?><mixed-citation>
Samek, W., Wiegand, T., and Müller, K.-R.: Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models, arXiv: preprint, arXiv:1708.08296 [cs, stat], 2017.</mixed-citation></ref>
      <ref id="bib1.bibx33"><?xmltex \def\ref@label{{Scher(2021)}}?><label>Scher(2021)</label><?label Scher2021?><mixed-citation>Scher, S.: pr-disagg-radar-gan, Github, available at: <uri>https://github.com/sipposip/pr-disagg-radar-gan</uri>, last access: 9 June 2021.</mixed-citation></ref>
      <ref id="bib1.bibx34"><?xmltex \def\ref@label{{Scher and Pe{\ss}enteiner(2021)}}?><label>Scher and Peßenteiner(2021)</label><?label Scher2020?><mixed-citation>Scher, S. and Peßenteiner, S.: pr-disagg-gan, Zenodo, <ext-link xlink:href="https://doi.org/10.5281/zenodo.3733065" ext-link-type="DOI">10.5281/zenodo.3733065</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx35"><?xmltex \def\ref@label{{Sharma and Srikanthan(2006)}}?><label>Sharma and Srikanthan(2006)</label><?label sharma_continuous_2006?><mixed-citation>
Sharma, A. and Srikanthan, S.: Continuous Rainfall Simulation: A Nonparametric Alternative, in: 30th Hydrology &amp; Water Resources Symposium: Past, Present &amp; Future, 4–7 December 2006, Launceston, Tasmania, p. 86, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx36"><?xmltex \def\ref@label{{SMHI(2021)}}?><label>SMHI(2021)</label><?label SMHI2021?><mixed-citation>SMHI: Länksida för radar nedladdningstjänster, available at: <uri>http://opendata-download-radar.smhi.se/</uri>, last access: 9 June 2021.</mixed-citation></ref>
      <ref id="bib1.bibx37"><?xmltex \def\ref@label{{Verfaillie et~al.(2017)Verfaillie, D\'{e}qu\'{e}, Morin, and
Lafaysse}}?><label>Verfaillie et al.(2017)Verfaillie, Déqué, Morin, and
Lafaysse</label><?label verfaillie_method_2017?><mixed-citation>Verfaillie, D., Déqué, M., Morin, S., and Lafaysse, M.: The method
ADAMONT v1.0 for statistical adjustment of climate projections applicable
to energy balance land surface models, Geosci. Model Dev., 10, 4257–4283, <ext-link xlink:href="https://doi.org/10.5194/gmd-10-4257-2017" ext-link-type="DOI">10.5194/gmd-10-4257-2017</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx38"><?xmltex \def\ref@label{{Westra et~al.(2012)Westra, Mehrotra, Sharma, and
Srikanthan}}?><label>Westra et al.(2012)Westra, Mehrotra, Sharma, and
Srikanthan</label><?label westra_continuous_2012?><mixed-citation>Westra, S., Mehrotra, R., Sharma, A., and Srikanthan, R.: Continuous Rainfall
Simulation: 1. A Regionalized Subdaily Disaggregation Approach, Water Resour. Res., 48, 1535, <ext-link xlink:href="https://doi.org/10.1029/2011WR010489" ext-link-type="DOI">10.1029/2011WR010489</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx39"><?xmltex \def\ref@label{{Wu et~al.(2020)Wu, Kashinath, Albert, Chirila, Prabhat, and
Xiao}}?><label>Wu et al.(2020)Wu, Kashinath, Albert, Chirila, Prabhat, and
Xiao</label><?label wu_enforcing_2020?><mixed-citation>Wu, J.-L., Kashinath, K., Albert, A., Chirila, D., Prabhat, and Xiao, H.:
Enforcing Statistical Constraints in Generative Adversarial Networks for Modeling Chaotic Dynamical Systems, J. Comput. Phys., 406, 109209, <ext-link xlink:href="https://doi.org/10.1016/j.jcp.2019.109209" ext-link-type="DOI">10.1016/j.jcp.2019.109209</ext-link>, 2020.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Technical Note: Temporal disaggregation of spatial  rainfall fields with generative adversarial networks</article-title-html>
<abstract-html><p>Creating spatially coherent rainfall patterns with high temporal resolution from data with lower temporal resolution is necessary in many geoscientific applications. From a statistical perspective, this presents a high- dimensional, highly underdetermined problem. Recent advances in machine learning provide methods for learning such probability distributions. We test the usage of generative adversarial networks (GANs) for estimating the full probability distribution of spatial rainfall patterns with high temporal resolution, conditioned on a field of lower temporal resolution. The GAN is trained on rainfall radar data with hourly resolution. Given a
new field of daily precipitation sums, it can sample scenarios of spatiotemporal patterns with sub-daily resolution. While the generated
patterns do not perfectly reproduce the statistics of observations,
they are visually hardly distinguishable from real patterns. Limitations that we found are that providing additional input (such as geographical information) to the GAN surprisingly leads to worse results, showing that it is not trivial to increase the amount of used input information. Additionally, while in principle the GAN should learn the probability distribution in itself, we still needed expert judgment to determine at which point the training should stop, because longer training leads to worse results.</p></abstract-html>
<ref-html id="bib1.bib1"><label>Adadi and Berrada(2018)</label><mixed-citation>
Adadi, A. and Berrada, M.: Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI), IEEE Access, 6, 52138–52160, <a href="https://doi.org/10.1109/ACCESS.2018.2870052" target="_blank">https://doi.org/10.1109/ACCESS.2018.2870052</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Arjovsky et al.(2017)Arjovsky, Chintala, and
Bottou</label><mixed-citation>
Arjovsky, M., Chintala, S., and Bottou, L.: Wasserstein GAN, arXiv: preprint,
arXiv:1701.07875 [cs, stat], 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Bihlo(2021)</label><mixed-citation>
Bihlo, A.: A generative adversarial network approach to (ensemble) weather
prediction, Neural Netw., 139, 1–16, <a href="https://doi.org/10.1016/j.neunet.2021.02.003" target="_blank">https://doi.org/10.1016/j.neunet.2021.02.003</a>, 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Breinl and Di Baldassarre(2019)</label><mixed-citation>
Breinl, K. and Di Baldassarre, G.: Space-time disaggregation of precipitation
and temperature across different climates and spatial scales, J. Hydrol.: Reg. Stud., 21, 126–146, <a href="https://doi.org/10.1016/j.ejrh.2018.12.002" target="_blank">https://doi.org/10.1016/j.ejrh.2018.12.002</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Burian et al.(2000)Burian, Durrans, Tomic̆, Pimmel, and
Chung Wai</label><mixed-citation>
Burian, S. J., Durrans, S. R., Tomic̆, S., Pimmel, R. L., and Chung Wai,
N.: Rainfall Disaggregation Using Artificial Neural Networks, J. Hydrol. Eng-ASCE, 5, 299–307, <a href="https://doi.org/10.1061/(ASCE)1084-0699(2000)5:3(299)" target="_blank">https://doi.org/10.1061/(ASCE)1084-0699(2000)5:3(299)</a>, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Burian et al.(2001)Burian, Durrans, Nix, and
Pitt</label><mixed-citation>
Burian, S. J., Durrans, S. R., Nix, S. J., and Pitt, R. E.: Training Artificial Neural Networks to Perform Rainfall Disaggregation, J. Hydrol. Eng., 6, 43–51, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Chollet et al.(2015)</label><mixed-citation>
Chollet, F., et al.: Keras, GitHub, available at: <a href="https://github.com/keras-team/keras" target="_blank"/>
(last access: 9 June 2021), 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Di Baldassarre et al.(2006)Di Baldassarre, Castellarin, and
Brath</label><mixed-citation>
Di Baldassarre, G., Castellarin, A., and Brath, A.: Relationships between
statistics of rainfall extremes and mean annual precipitation: an application
for design-storm estimation in northern central Italy, Hydrol. Earth Syst. Sci., 10, 589–601, <a href="https://doi.org/10.5194/hess-10-589-2006" target="_blank">https://doi.org/10.5194/hess-10-589-2006</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Förster et al.(2016)Förster, Hanzer, Winter, Marke, and
Strasser</label><mixed-citation>
Förster, K., Hanzer, F., Winter, B., Marke, T., and Strasser, U.: An
Open-Source MEteoroLOgical Observation Time Series DISaggregation Tool (MELODIST v0.1.1), Geosci. Model Dev., 9, 2315–2333,
<a href="https://doi.org/10.5194/gmd-9-2315-2016" target="_blank">https://doi.org/10.5194/gmd-9-2315-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Gagne II et al.(2019)Gagne II, Christensen, Subramanian, and
Monahan</label><mixed-citation>
Gagne II, D. J., Christensen, H. M., Subramanian, A. C., and Monahan, A. H.: Machine Learning for Stochastic Parameterization: Generative Adversarial Networks in the Lorenz '96 Model, arXiv: preprint, arXiv:1909.04711 [nlin, physics:physics, stat], 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Goodfellow et al.(2014)Goodfellow, Pouget-Abadie, Mirza, Xu,
Warde-Farley, Ozair, Courville, and Bengio</label><mixed-citation>
Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y.: Generative Adversarial Nets, in: Advances in Neural Information Processing Systems 27, edited by: Ghahramani, Z., Welling, M., Cortes, C., Lawrence, N. D., and Weinberger, K. Q., Curran Associates, Inc., 2672–2680, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Gulrajani et al.(2017)Gulrajani, Ahmed, Arjovsky, Dumoulin, and
Courville</label><mixed-citation>
Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., and Courville, A.:
Improved Training of Wasserstein GANs, arXiv: preprint, arXiv:1704.00028 [cs, stat], 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Hersbach(2000)</label><mixed-citation>
Hersbach, H.: Decomposition of the Continuous Ranked Probability Score for
Ensemble Prediction Systems, Weather Forecast., 15, 559–570,
<a href="https://doi.org/10.1175/1520-0434(2000)015&lt;0559:DOTCRP&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0434(2000)015&lt;0559:DOTCRP&gt;2.0.CO;2</a>, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Karras et al.(2018)Karras, Aila, Laine, and
Lehtinen</label><mixed-citation>
Karras, T., Aila, T., Laine, S., and Lehtinen, J.: Progressive Growing of
GANs for Improved Quality, Stability, and Variation, arXiv: preprint,
arXiv:1710.10196 [cs, stat], 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>King et al.(2018)King, Hennigh, Mohan, and Chertkov</label><mixed-citation>
King, R., Hennigh, O., Mohan, A., and Chertkov, M.: From Deep to Physics-Informed Learning of Turbulence: Diagnostics, arXiv: preprint, arXiv:1810.07785 [nlin, physics:physics, stat], 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Kingma and Ba(2017)</label><mixed-citation>
Kingma, D. P. and Ba, J.: Adam: A Method for Stochastic Optimization, arXiv: preprint, arXiv:1412.6980 [cs], 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Kingma and Welling(2014)</label><mixed-citation>
Kingma, D. P. and Welling, M.: Auto-Encoding Variational Bayes, arXiv: preprint arXiv:1312.6114 [cs, stat], 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Koutsoyiannis and Onof(2001)</label><mixed-citation>
Koutsoyiannis, D. and Onof, C.: Rainfall Disaggregation Using Adjusting
Procedures on a Poisson Cluster Model, J. Hydrol., 246, 109–122, <a href="https://doi.org/10.1016/S0022-1694(01)00363-8" target="_blank">https://doi.org/10.1016/S0022-1694(01)00363-8</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Koutsoyiannis et al.(2003)Koutsoyiannis, Onof, and
Wheater</label><mixed-citation>
Koutsoyiannis, D., Onof, C., and Wheater, H. S.: Multivariate Rainfall
Disaggregation at a Fine Timescale, Water Resour. Res., 39, 1173, <a href="https://doi.org/10.1029/2002WR001600" target="_blank">https://doi.org/10.1029/2002WR001600</a>, 2003.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Kumar et al.(2012)Kumar, Brooks, Thornton, and
Dietze</label><mixed-citation>
Kumar, J., Brooks, B.-G. J., Thornton, P. E., and Dietze, M. C.: Sub-daily
Statistical Downscaling of Meteorological Variables Using Neural Networks, Proced. Comput. Sci., 9, 887–896, <a href="https://doi.org/10.1016/j.procs.2012.04.095" target="_blank">https://doi.org/10.1016/j.procs.2012.04.095</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Leinonen et al.(2019)Leinonen, Guillaume, and
Yuan</label><mixed-citation>
Leinonen, J., Guillaume, A., and Yuan, T.: Reconstruction of Cloud Vertical
Structure With a Generative Adversarial Network, Geophys. Res. Lett., 46, 7035–7044, <a href="https://doi.org/10.1029/2019GL082532" target="_blank">https://doi.org/10.1029/2019GL082532</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Leinonen et al.(2020)Leinonen, Nerini, and
Berne</label><mixed-citation>
Leinonen, J., Nerini, D., and Berne, A.: Stochastic Super-Resolution for
Downscaling Time-Evolving Atmospheric Fields With a Generative Adversarial
Network, IEEE T. Geosci. Remote, <a href="https://doi.org/10.1109/TGRS.2020.3032790" target="_blank">https://doi.org/10.1109/TGRS.2020.3032790</a>, in press, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Lewis et al.(2019)Lewis, Fowler, Alexander, Dunn, McClean, Barbero,
Guerreiro, Li, and Blenkinsop</label><mixed-citation>
Lewis, E., Fowler, H., Alexander, L., Dunn, R., McClean, F., Barbero, R.,
Guerreiro, S., Li, X.-F., and Blenkinsop, S.: GSDR: A Global Sub-Daily Rainfall Dataset, J. Climate, 32, 4715–4729, <a href="https://doi.org/10.1175/JCLI-D-18-0143.1" target="_blank">https://doi.org/10.1175/JCLI-D-18-0143.1</a>,  2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Martín et al.(2015)Martín Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg S. Corrado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Jia, Rafal Jozefowicz, Lukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dandelion Mané, Rajat Monga, Sherry Moore, Derek Murray, Chris Olah, Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viégas, Oriol Vinyals, Pete Warden, Martin Wattenberg, Martin Wicke, Yuan Yu, and Xiaoqiang Zheng</label><mixed-citation>
Martín, A., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G. S., Davis, A., Dean, J., Devin, M., Ghemawat, S., Goodfellow, I., Harp, A., Irving, G., Isard, M., Jia, Y., Jozefowicz, R.,  Kaiser, L., Kudlur, M., Levenberg, J., Mané, D., Monga, R., Moore, S., Murray, D., Olah, C., Schuster, M., Shlens, J., Steiner, B., Sutskever, I., Talwar, K.,
Tucker, P., Vanhoucke, V., Vasudevan, V., Viégas, F., Vinyals, O.,  Warden, P., Wattenberg, M., Wicke, M., Yu, Y., and Zheng, X.: TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems, google research,
available at:
<a href="https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/45166.pdf" target="_blank"/> (last access: 9 June 2021), 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Mirza and Osindero(2014)</label><mixed-citation>
Mirza, M. and Osindero, S.: Conditional Generative Adversarial Nets, arXiv: preprint, arXiv:1411.1784 [cs, stat], 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Müller and Haberlandt(2018)</label><mixed-citation>
Müller, H. and Haberlandt, U.: Temporal Rainfall Disaggregation Using a
Multiplicative Cascade Model for Spatial Application in Urban Hydrology, J. Hydrol., 556, 847–864, <a href="https://doi.org/10.1016/j.jhydrol.2016.01.031" target="_blank">https://doi.org/10.1016/j.jhydrol.2016.01.031</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Müller-Thomy and Sikorska-Senoner(2019)</label><mixed-citation>
Müller-Thomy, H. and Sikorska-Senoner, A. E.: Does the complexity in
temporal precipitation disaggregation matter for a lumped hydrological
model?, Hydrolog. Sci. J., 64, 1453–1471, <a href="https://doi.org/10.1080/02626667.2019.1638926" target="_blank">https://doi.org/10.1080/02626667.2019.1638926</a>, 2019.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Pui et al.(2012)Pui, Sharma, Mehrotra, Sivakumar, and
Jeremiah</label><mixed-citation>
Pui, A., Sharma, A., Mehrotra, R., Sivakumar, B., and Jeremiah, E.: A
Comparison of Alternatives for Daily to Sub-Daily Rainfall Disaggregation, J. Hydrol., 470-471, 138–157, <a href="https://doi.org/10.1016/j.jhydrol.2012.08.041" target="_blank">https://doi.org/10.1016/j.jhydrol.2012.08.041</a>, 2012.

</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Radford et al.(2016)Radford, Metz, and
Chintala</label><mixed-citation>
Radford, A., Metz, L., and Chintala, S.: Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks, arXiv: preprint,
arXiv:1511.06434 [cs], 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Raut et al.(2018)Raut, Seed, Reeder, and
Jakob</label><mixed-citation>
Raut, B. A., Seed, A. W., Reeder, M. J., and Jakob, C.: A Multiplicative
Cascade Model for High-Resolution Space-Time Downscaling of Rainfall, J. Geophys. Res.-Atmos., 123, 2050–2067, <a href="https://doi.org/10.1002/2017JD027148" target="_blank">https://doi.org/10.1002/2017JD027148</a>, 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Rebora et al.(2006)Rebora, Ferraris, von Hardenberg, and
Provenzale</label><mixed-citation>
Rebora, N., Ferraris, L., von Hardenberg, J., and Provenzale, A.: RainFARM:
Rainfall Downscaling by a Filtered Autoregressive Model, J. Hydrometeorol., 7, 724–738, <a href="https://doi.org/10.1175/JHM517.1" target="_blank">https://doi.org/10.1175/JHM517.1</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Samek et al.(2017)Samek, Wiegand, and
Müller</label><mixed-citation>
Samek, W., Wiegand, T., and Müller, K.-R.: Explainable Artificial Intelligence: Understanding, Visualizing and Interpreting Deep Learning Models, arXiv: preprint, arXiv:1708.08296 [cs, stat], 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Scher(2021)</label><mixed-citation>
Scher, S.: pr-disagg-radar-gan, Github, available at: <a href="https://github.com/sipposip/pr-disagg-radar-gan" target="_blank"/>, last access: 9 June 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Scher and Peßenteiner(2021)</label><mixed-citation>
Scher, S. and Peßenteiner, S.: pr-disagg-gan, Zenodo, <a href="https://doi.org/10.5281/zenodo.3733065" target="_blank">https://doi.org/10.5281/zenodo.3733065</a>, 2020.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Sharma and Srikanthan(2006)</label><mixed-citation>
Sharma, A. and Srikanthan, S.: Continuous Rainfall Simulation: A Nonparametric Alternative, in: 30th Hydrology &amp; Water Resources Symposium: Past, Present &amp; Future, 4–7 December 2006, Launceston, Tasmania, p. 86, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>SMHI(2021)</label><mixed-citation>
SMHI: Länksida för radar nedladdningstjänster, available at: <a href="http://opendata-download-radar.smhi.se/" target="_blank"/>, last access: 9 June 2021.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Verfaillie et al.(2017)Verfaillie, Déqué, Morin, and
Lafaysse</label><mixed-citation>
Verfaillie, D., Déqué, M., Morin, S., and Lafaysse, M.: The method
ADAMONT v1.0 for statistical adjustment of climate projections applicable
to energy balance land surface models, Geosci. Model Dev., 10, 4257–4283, <a href="https://doi.org/10.5194/gmd-10-4257-2017" target="_blank">https://doi.org/10.5194/gmd-10-4257-2017</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Westra et al.(2012)Westra, Mehrotra, Sharma, and
Srikanthan</label><mixed-citation>
Westra, S., Mehrotra, R., Sharma, A., and Srikanthan, R.: Continuous Rainfall
Simulation: 1. A Regionalized Subdaily Disaggregation Approach, Water Resour. Res., 48, 1535, <a href="https://doi.org/10.1029/2011WR010489" target="_blank">https://doi.org/10.1029/2011WR010489</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Wu et al.(2020)Wu, Kashinath, Albert, Chirila, Prabhat, and
Xiao</label><mixed-citation>
Wu, J.-L., Kashinath, K., Albert, A., Chirila, D., Prabhat, and Xiao, H.:
Enforcing Statistical Constraints in Generative Adversarial Networks for Modeling Chaotic Dynamical Systems, J. Comput. Phys., 406, 109209, <a href="https://doi.org/10.1016/j.jcp.2019.109209" target="_blank">https://doi.org/10.1016/j.jcp.2019.109209</a>, 2020.
</mixed-citation></ref-html>--></article>
