<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "https://jats.nlm.nih.gov/nlm-dtd/publishing/3.0/journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0" article-type="research-article">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">GMD</journal-id><journal-title-group>
    <journal-title>Geoscientific Model Development</journal-title>
    <abbrev-journal-title abbrev-type="publisher">GMD</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Geosci. Model Dev.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1991-9603</issn><publisher>
    <publisher-name>Copernicus Publications</publisher-name>
    <publisher-loc>Göttingen, Germany</publisher-loc>
  </publisher></journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.5194/gmd-18-8887-2025</article-id><title-group><article-title>The Lagrangian moisture source and transport diagnostic WaterSip V3.2</article-title><alt-title>Moisture source and transport diagnostic WaterSip</alt-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1 aff2">
          <name><surname>Sodemann</surname><given-names>Harald</given-names></name>
          <email>harald.sodemann@uib.no</email>
        <ext-link>https://orcid.org/0000-0002-8167-0860</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>Geophysical Institute, University of Bergen, Bergen, Norway</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Bjerknes Centre for Climate Research, Bergen, Norway</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Harald Sodemann (harald.sodemann@uib.no)</corresp></author-notes><pub-date><day>24</day><month>November</month><year>2025</year></pub-date>
      
      <volume>18</volume>
      <issue>22</issue>
      <fpage>8887</fpage><lpage>8926</lpage>
      <history>
        <date date-type="received"><day>24</day><month>February</month><year>2025</year></date>
           <date date-type="rev-request"><day>14</day><month>March</month><year>2025</year></date>
           <date date-type="rev-recd"><day>15</day><month>October</month><year>2025</year></date>
           <date date-type="accepted"><day>16</day><month>October</month><year>2025</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2025 Harald Sodemann</copyright-statement>
        <copyright-year>2025</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025.html">This article is available from https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025.html</self-uri><self-uri xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025.pdf">The full text article is available as a PDF file from https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025.pdf</self-uri>
      <abstract><title>Abstract</title>

      <p id="d2e89">WaterSip is a diagnostic software tool that identifies the evaporation sources and transport pathways of precipitation or water vapour over a target area based on Lagrangian model output. In addition to the geographic location, WaterSip identifies select thermodynamic properties of the moisture sources, during atmospheric transport, and arrival over the target area based on Lagrangian particle dispersion or trajectory model output. WaterSip software thereby employs the Lagrangian diagnostic algorithm for quantitative moisture source accounting of <xref ref-type="bibr" rid="bib1.bibx48" id="text.1"/>. Moisture sources are identified from changes in specific humidity along  trajectories at each output time step. The ratio between changes in specific humidity and the specific humidity of the air parcel allow to estimate the quantitative contribution of a moisture source to an air parcel at a specific time and location. This contribution and its temporal sequence provides the basis for identifying moisture source contributions to the final precipitation. WaterSip is designed to operate on large datasets of trajectories filling regional to global domains. The results are provided as gridded information in a variety of output files in netCDF format. This paper revisits the relevant methodological foundations, describes the configuration and technical set-up, and provides a consistent example case study to illustrate the use and interpretation of the software tool and its results. A short sensitivity study supports the choice of the main parameters of the diagnostic. Key uncertainties and caveats are described and discussed throughout the text. Users of WaterSip should be aware of these uncertainties to obtain a valid and reliable interpretation of the diagnostic results.</p>
  </abstract>
    
<funding-group>
<award-group id="gs1">
<funding-source>Norges Forskningsråd</funding-source>
<award-id>262710</award-id>
</award-group>
<award-group id="gs2">
<funding-source>H2020 European Research Council</funding-source>
<award-id>773245</award-id>
</award-group>
</funding-group>
</article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <label>1</label><title>Introduction</title>
      <p id="d2e104">Atmospheric dynamics transports water vapour from an evaporation source to a precipitation sink, as manifested in the global spectrum of weather systems. Knowledge about how weather systems shape the atmospheric water cycle from source to sink is key for understanding the causes of hydro-meteorological extremes <xref ref-type="bibr" rid="bib1.bibx11 bib1.bibx65 bib1.bibx27" id="paren.2"><named-content content-type="pre">e.g.,</named-content></xref>, precipitation seasonality <xref ref-type="bibr" rid="bib1.bibx46 bib1.bibx41" id="paren.3"><named-content content-type="pre">e.g.,</named-content></xref>, and climatological averages <xref ref-type="bibr" rid="bib1.bibx10" id="paren.4"><named-content content-type="pre">e.g.,</named-content></xref>. Process studies have for example investigated how oceans contribute to precipitation on land <xref ref-type="bibr" rid="bib1.bibx53" id="paren.5"/>, and how land areas recycle precipitation <xref ref-type="bibr" rid="bib1.bibx18 bib1.bibx14" id="paren.6"/>. On paleoclimate time scales, knowledge of the variation of sources and transport pathways of water vapour are central to the interpretation of archives of the past hydroclimate, including ice cores <xref ref-type="bibr" rid="bib1.bibx28 bib1.bibx47" id="paren.7"><named-content content-type="pre">e.g.,</named-content></xref> and cave deposits at lower latitudes <xref ref-type="bibr" rid="bib1.bibx9 bib1.bibx35 bib1.bibx4" id="paren.8"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
      <p id="d2e139">Measurements of precipitation and atmospheric water vapour do not directly reveal information about their evaporation sources. In specific situations, the stable water isotope composition of atmospheric waters may allow to separate the contribution of different source regions from the effect of phase changes during transport <xref ref-type="bibr" rid="bib1.bibx47 bib1.bibx1 bib1.bibx62" id="paren.9"/>. In general, however, due to the multitude of influences, the problem is underdetermined. Furthermore, the interpretation of water isotope measurements themselves can require additional diagnostic numerical tools to disentangle the contribution of different processes and evaporation sources. As a consequence, results from moisture source studies generally suffer from a lack of definitive, observable constraints.</p>
      <p id="d2e145">Different approaches from atmospheric models and model data have been used over time to access information on water vapour's sources and transport conditions <xref ref-type="bibr" rid="bib1.bibx15" id="paren.10"/>. Conceptual studies evaluated the water balance in domains over a given region, for example to determine precipitation recycling over the Continental US <xref ref-type="bibr" rid="bib1.bibx17" id="paren.11"/> and the Amazon region <xref ref-type="bibr" rid="bib1.bibx40" id="paren.12"/>. Much more complex approaches release water vapour tracers within a numerical atmospheric model's water cycle <xref ref-type="bibr" rid="bib1.bibx36 bib1.bibx45" id="paren.13"/>. Hereby, water vapour is transported forward within a secondary water cycle of the numerical model for selected 'tagged' subsets of total evaporation. Such tagging approaches require a very substantial computational effort to obtain detailed representation of the sources, and over seasonal to inter-annual time scales. To reduce the computational efforts, Eulerian offline methods with reduced complexity have been developed <xref ref-type="bibr" rid="bib1.bibx66 bib1.bibx59" id="paren.14"/>. As an intermediate in terms of complexity and computational demand, Lagrangian methods have been employed to diagnose the water budget along air parcel trajectories <xref ref-type="bibr" rid="bib1.bibx13 bib1.bibx53 bib1.bibx24" id="paren.15"/>. Since trajectories can be calculated off-line from stored atmospheric fields, for example reanalysis data, such an approach is computationally more efficient than tagging studies. In addition, Lagrangian methods can more easily provide the spatial extent of moisture sources, and thus provide an intuitive connection between source and receptor areas.</p>
      <p id="d2e167">This paper describes the concepts and use of the WaterSip<fn id="Ch1.Footn1"><p id="d2e170">The name WaterSip originates from the name of an internal research project at NILU, where the author developed large parts of the present code. The name can be understood as a metaphor, where increases of the water vapour mixing ratio between time steps could be imagined as sips of water taken by an air parcel.</p></fn> software. WaterSip consists of an implementation of the widely used Lagrangian moisture source and transport diagnostic of <xref ref-type="bibr" rid="bib1.bibx48" id="text.16"/>. WaterSip provides a means to identify and characterise the source regions and transport conditions of water vapour and precipitation from Lagrangian air parcel trajectories. The algorithm of the WaterSip software includes an accounting procedure. This processing step provides quantitative estimates of the moisture source contributions to precipitation  (or water vapour) in a target area. This quantitative information can then be used to provide, for example, the average sea surface temperature at the moisture source <xref ref-type="bibr" rid="bib1.bibx48" id="paren.17"/>, the fraction of land versus ocean surface contribution <xref ref-type="bibr" rid="bib1.bibx46" id="paren.18"/>, the duration and transport distance from evaporation to precipitation <xref ref-type="bibr" rid="bib1.bibx31" id="paren.19"/>, as well as the extent of mixing and rainout during transport <xref ref-type="bibr" rid="bib1.bibx16" id="paren.20"/>. For comparison, the algorithms of <xref ref-type="bibr" rid="bib1.bibx53" id="text.21"/>, <xref ref-type="bibr" rid="bib1.bibx13" id="text.22"/>, and <xref ref-type="bibr" rid="bib1.bibx24" id="text.23"/> are also available in the WaterSip tool.</p>
      <p id="d2e200">A bibliographic overview of studies that have used the <xref ref-type="bibr" rid="bib1.bibx48" id="text.24"/> algorithm with the WaterSip software shows the global to regional coverage of previous work, and the variety of study objectives, from event-scale to climatological studies, process studies, sensitivity studies, and the interpretation of measurements and paleoclimate records (Table <xref ref-type="table" rid="T1"/>). Since the original publication of this diagnostic method, numerous technical and conceptual developments  have taken place, which are either fragmented across several publications, or not coherently described in the current literature. The main objective of this work is therefore to provide a consistent reference point for the use and interpretation of the method and software, including its wide array of additional diagnostic output of moisture transport characteristics. Users will therefore no longer need to re-implement the diagnostic algorithm behind WaterSip themselves, and can focus on the application of the tool to different subject areas.</p>

<table-wrap id="T1" specific-use="star"><label>Table 1</label><caption><p id="d2e211">Previous studies using the <xref ref-type="bibr" rid="bib1.bibx48" id="text.25"/> method with the WaterSip software. Studies have been classified by their study region, time scale, and study topic.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Region</oasis:entry>
         <oasis:entry colname="col2">Time scale</oasis:entry>
         <oasis:entry colname="col3">Study topic</oasis:entry>
         <oasis:entry colname="col4">References</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Central Europe</oasis:entry>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Precipitation seasonality</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx46" id="text.26"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Inter-annual</oasis:entry>
         <oasis:entry colname="col3">Interpretation of measurements</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx1" id="text.27"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">North Atlantic</oasis:entry>
         <oasis:entry colname="col2">Inter-annual</oasis:entry>
         <oasis:entry colname="col3">Interpretation of measurements</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx50" id="text.28"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Event-based</oasis:entry>
         <oasis:entry colname="col3">Precipitation extreme</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx62" id="text.29"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Inter-annual</oasis:entry>
         <oasis:entry colname="col3">Interpretation of measurements</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx67" id="text.30"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Mediterranean</oasis:entry>
         <oasis:entry colname="col2">Event-based</oasis:entry>
         <oasis:entry colname="col3">Method comparison</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx64" id="text.31"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Event composite</oasis:entry>
         <oasis:entry colname="col3">Precipitation extremes</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx65" id="text.32"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Greenland</oasis:entry>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Method description</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx48" id="text.33"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Ice core interpretation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx47" id="text.34"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Inter-annual</oasis:entry>
         <oasis:entry colname="col3">Interpretation of measurements</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx7" id="text.35"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Event-based</oasis:entry>
         <oasis:entry colname="col3">Atmospheric river precipitation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx8" id="text.36"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Ice core interpretation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx37" id="text.37"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Antarctica</oasis:entry>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Precipitation seasonality</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx45" id="text.38"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Ice core interpretation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx33" id="text.39"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Ice core interpretation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx63" id="text.40"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Ice core interpretation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx61" id="text.41"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Ice core interpretation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx12" id="text.42"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Event-based</oasis:entry>
         <oasis:entry colname="col3">Atmospheric river precipitation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx56" id="text.43"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Glacier mass balance</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx26" id="text.44"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">East Asia</oasis:entry>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Cave deposit interpretation</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx4" id="text.45"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Process study</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx21" id="text.46"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Model sensitivity</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx22" id="text.47"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">India and Pakistan</oasis:entry>
         <oasis:entry colname="col2">Event</oasis:entry>
         <oasis:entry colname="col3">Precipitation extreme</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx32" id="text.48"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Event composite</oasis:entry>
         <oasis:entry colname="col3">Precipitation extremes</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx5" id="text.49"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Event-based</oasis:entry>
         <oasis:entry colname="col3">Precipitation extreme</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx6" id="text.50"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Global</oasis:entry>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Precipitation life time</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx31" id="text.51"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Precipitation life time</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx42" id="text.52"/>
                </oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">Climatological</oasis:entry>
         <oasis:entry colname="col3">Precipitation life time</oasis:entry>
         <oasis:entry colname="col4">
                  <xref ref-type="bibr" rid="bib1.bibx23" id="text.53"/>
                </oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e740">The WaterSip software in current version 3.2 described here gives users flexibility in its configuration with regard to different threshold parameters, and gives access to a multitude of additional moisture source and moisture transport characteristics obtained from the algorithm. WaterSip currently works with two common models providing air parcel trajectories (LAGRANTO, <xref ref-type="bibr" rid="bib1.bibx49" id="altparen.54"/>) and particle dispersion trajectories (FLEXPART, <xref ref-type="bibr" rid="bib1.bibx55" id="altparen.55"/>), and can be extended to read in trajectory files produced from other trajectory calculation tools. Implemented as a C++ code with parallelisation in openMP, and writing output files in netCDF format, the WaterSip code can be easily integrated in common scientific computing environments and workflows.</p>
      <p id="d2e749">The paper starts with a overview of the working principle of the algorithm and introduces key quantities (Sect. <xref ref-type="sec" rid="Ch1.S2"/>). This is followed by a description of the configuration of a run (Sect. <xref ref-type="sec" rid="Ch1.S3"/>), followed by practicalities such as input data, running the software, and an output file description (Sect. <xref ref-type="sec" rid="Ch1.S4"/>). A case study is used as a consistent example throughout the manuscript to get users started with the diagnostic output capabilities and the interpretation, providing guidance in applying WaterSip to new research topics. Readers who are new to the method may choose to first look at the description of the results from the example case (Sects. <xref ref-type="sec" rid="Ch1.S4.SS4"/> and <xref ref-type="sec" rid="Ch1.S5"/>) before reading through the method description. Being an off-line diagnostic based on air parcel trajectories, WaterSip makes several simplifying assumptions that introduce uncertainty to the results. Causes of uncertainty are mentioned throughout the text and discussed in Sect. <xref ref-type="sec" rid="Ch1.S6"/>. Users are advised to think carefully about the inherent limitation of the method to obtain valid and reliable conclusions from applying WaterSip during their research efforts.</p>
</sec>
<sec id="Ch1.S2">
  <label>2</label><title>Method</title>
      <p id="d2e773">The original publication of the diagnostic algorithm of <xref ref-type="bibr" rid="bib1.bibx48" id="text.56"/> was implemented as a set of FORTRAN routines and shell scripts for use with trajectories from LAGRANTO <xref ref-type="bibr" rid="bib1.bibx49" id="paren.57"/>. Since then, there has been a considerable growth in studies with this algorithm (Table <xref ref-type="table" rid="T1"/>). Alongside, there have been new conceptual and technical developments that require an updated reference publication. These developments include the use of WaterSip with FLEXPART model output <xref ref-type="bibr" rid="bib1.bibx45" id="paren.58"/>, assessing the role of convection and assimilation increments <xref ref-type="bibr" rid="bib1.bibx42 bib1.bibx22" id="paren.59"/>, the distinction of mixing and rainout events during transport <xref ref-type="bibr" rid="bib1.bibx16" id="paren.60"/>, the analysis of lifetime distribution of water vapour <xref ref-type="bibr" rid="bib1.bibx65 bib1.bibx31 bib1.bibx42" id="paren.61"/>, interpretation of stable isotope characteristics <xref ref-type="bibr" rid="bib1.bibx62" id="paren.62"/>, the identification of water vapour in addition to precipitation,  as well as technical developments regarding input and output files, configuration and output quantities. This section provides a coherent description of the working principle of the algorithm, including the mathematical formalism that will be used in the remainder of the manuscript.</p>
<sec id="Ch1.S2.SS1">
  <label>2.1</label><title>Description of the diagnostic accounting algorithm</title>
      <p id="d2e807">Generally, the <xref ref-type="bibr" rid="bib1.bibx48" id="text.63"/> algorithm used in WaterSip works based on trajectories of atmospheric air parcels, described by a time-dependent coordinate vector <inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of positions given by longitude <inline-formula><mml:math id="M2" display="inline"><mml:mi mathvariant="italic">λ</mml:mi></mml:math></inline-formula>, latitude <inline-formula><mml:math id="M3" display="inline"><mml:mi mathvariant="italic">ϕ</mml:mi></mml:math></inline-formula>, and height <inline-formula><mml:math id="M4" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>:

            <disp-formula id="Ch1.E1" content-type="numbered"><label>1</label><mml:math id="M5" display="block"><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>(</mml:mo><mml:mi>t</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>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>,</mml:mo><mml:mi>z</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>]</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e899">Air parcel trajectories on the way to a target area <inline-formula><mml:math id="M6" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="F1"/>a, black frame) may pass over the underlying surface of either ocean (blue area) or land regions (green area), thereby acquiring moisture at the moisture sources (hatched area). Acquisition of moisture by an air parcel is termed a moisture uptake, and the ensemble of all moisture uptakes to an air parcel then comprises the moisture source. Identifying the relevant set of air parcels arriving over a target domain and their corresponding trajectories is the first step of the <xref ref-type="bibr" rid="bib1.bibx48" id="text.64"/> algorithm (Fig. <xref ref-type="fig" rid="F1"/>c, step 1).</p>
      <p id="d2e916">Next, in order to determine the moisture sources of an air parcel, specific humidity <inline-formula><mml:math id="M7" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> and air temperature <inline-formula><mml:math id="M8" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>, or relative humidity RH and <inline-formula><mml:math id="M9" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>, must be available along the same trajectory. These are commonly obtained by interpolation from four-dimensional NWP model output fields. For example, the 4-D specific humidity field <inline-formula><mml:math id="M10" display="inline"><mml:mi mathvariant="bold-italic">Q</mml:mi></mml:math></inline-formula> is used to obtain <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:mi>q</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> along the transport pathway of air parcels towards a target area at every time interval <inline-formula><mml:math id="M12" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> with time step <inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>:

            <disp-formula id="Ch1.E2" content-type="numbered"><label>2</label><mml:math id="M14" display="block"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mi mathvariant="bold-italic">Q</mml:mi><mml:mo>[</mml:mo><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mi>i</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>)</mml:mo><mml:mo>]</mml:mo><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1018">The conceptual starting point of the algorithm is then the Lagrangian water budget, describing the change in specific humidity along an air parcel trajectory resulting from evaporation (<inline-formula><mml:math id="M15" display="inline"><mml:mi>e</mml:mi></mml:math></inline-formula>) and condensation (<inline-formula><mml:math id="M16" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>) <xref ref-type="bibr" rid="bib1.bibx53" id="paren.65"/>:

            <disp-formula id="Ch1.E3" content-type="numbered"><label>3</label><mml:math id="M17" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mi mathvariant="normal">D</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1064">The discretized Lagrangian water budget, giving the change in <inline-formula><mml:math id="M18" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> along a trajectory with time step <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> of <inline-formula><mml:math id="M20" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 1–6 h at time step <inline-formula><mml:math id="M21" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> is then

            <disp-formula id="Ch1.E4" content-type="numbered"><label>4</label><mml:math id="M22" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:msub><mml:mi>e</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1134">The arrival time at target area <inline-formula><mml:math id="M23" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> is given by <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula> at step 0, and <inline-formula><mml:math id="M25" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> increases backward in time along the trajectory (Fig. <xref ref-type="fig" rid="F1"/>d, horizontal axis). The change in specific humidity from the previous interval, <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>, to interval <inline-formula><mml:math id="M27" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> is then obtained from

            <disp-formula id="Ch1.E5" content-type="numbered"><label>5</label><mml:math id="M28" display="block"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1218">Importantly, <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> can either be positive, zero, or negative (Fig. <xref ref-type="fig" rid="F1"/>d). A positive <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula> (i.e., <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>) is interpreted as a so-called moisture uptake, while a negative <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula> (i.e., <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>) is interpreted as a moisture loss along the trajectory. Thereby, <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is always a net effect of both <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msub><mml:mi>e</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:msub><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> that may have affected the water budget of the air parcel during time step <inline-formula><mml:math id="M37" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>. The algorithm necessarily assumes that either evaporation or precipitation exclusively act on an air parcel during discretisation time <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, which introduces uncertainties depending on the discretisation time <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> (see Sect. <xref ref-type="sec" rid="Ch1.S6"/>). In practice, a critical specific humidity threshold <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is used to filter out smaller variations in <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula> that are due to numerical noise (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1"/>, Fig. <xref ref-type="fig" rid="F1"/>d).</p>
      <p id="d2e1377">Conceptually, each moisture uptake <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> along the trajectory path contributes a share <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to the arriving moisture <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>:

            <disp-formula id="Ch1.E6" content-type="numbered"><label>6</label><mml:math id="M45" display="block"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>U</mml:mi></mml:munderover><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1457">Thereby, <inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is a residual amount of moisture that already was present in the air parcel at the earliest available time step of the trajectory with unidentified sources (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS3"/>). Due to rainout and mixing effects along the further transport, a part of the uptake moisture can be lost, and <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> will only contribute with a fraction <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to the moisture at the arrival location:

            <disp-formula id="Ch1.E7" content-type="numbered"><label>7</label><mml:math id="M49" display="block"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>U</mml:mi></mml:munderover><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">r</mml:mi></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1544">The objective of the accounting step of the <xref ref-type="bibr" rid="bib1.bibx48" id="text.66"/> algorithm is now to obtain an estimate of the contributing fraction <inline-formula><mml:math id="M50" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for each of the <inline-formula><mml:math id="M51" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> identified moisture uptakes (Fig. <xref ref-type="fig" rid="F1"/>c, step 2). The moisture accounting provides all <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, which then allow to diagnose where, when, and under what conditions the air parcel water budget changed, and to what extent this is reflected in the precipitation falling from the air parcel (Fig. <xref ref-type="fig" rid="F1"/>c, step 3).</p>

      <fig id="F1" specific-use="star"><label>Figure 1</label><caption><p id="d2e1587">Schematic illustration of the moisture source diagnostic. <bold>(a)</bold> Horizontal view of a bundle of trajectories (<inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, dark blue lines) arriving in a target region A (black frame). The trajectories pass over ocean (light blue) and land regions (green). An area of moisture uptake (hatched, orange) is detected where the specific humidity increases along trajectories (broadening blue lines). <bold>(b)</bold> 3-dimensional view of an air mass represented by air parcels that are traced backward using trajectories. Crosses denote arrival points in the air mass over the arrival domain A (black box). Locations of moisture increase from evaporation above the boundary layer (dashed red arrow), within the boundary layer (solid red arrow), and decrease from precipitation (black arrow) are detected from changes in the specific humidity along trajectories (width of blue line). Moisture uptakes (<inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>) can be within the boundary layer (bl uptake) or in the free troposphere (ft uptake). Note that many trajectories at different vertical levels contribute to the Lagrangian precipitation estimate in the arrival region. Dashed black line denotes boundary-layer height (BLH). <bold>(c)</bold> Flow diagram of processing steps in the WaterSip diagnostic. <bold>(d)</bold> Schematic of moisture uptakes and losses along 6 time steps of an air parcel with mass <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> arriving at grid-scale saturation, identified by RH above a threshold value RH<sub>c</sub> (shading). Note that some of the specific humidity changes are smaller than a set threshold value for significant specific humidity changes <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. See text for details.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f01.png"/>

        </fig>

      <p id="d2e1681">At the time of a moisture uptake, the fractional contribution <inline-formula><mml:math id="M58" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> for each uptake <inline-formula><mml:math id="M59" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> is directly obtained from

            <disp-formula id="Ch1.E8" content-type="numbered"><label>8</label><mml:math id="M60" display="block"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1732">If at a later time another moisture uptake contributes to the specific humidity in the same air parcel, <inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> will change, and <inline-formula><mml:math id="M62" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> needs to be recalculated to reflect its decreased share. This sequential updating of the fractional contributions is referred to as the accounting of specific humidity along the trajectory. In Fig. <xref ref-type="fig" rid="F1"/>d, a moisture increase between time intervals 4 and 5, for example, that is larger than the threshold value <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, gains a smaller relative share of the arriving moisture <inline-formula><mml:math id="M64" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> after a large uptake occurs between time steps 1 and 2. A more detailed, quantitative example is given in <xref ref-type="bibr" rid="bib1.bibx48" id="text.67"/>.</p>
      <p id="d2e1787">In the case of another moisture uptake at a later time step <inline-formula><mml:math id="M65" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>, the fractions <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of all previous uptakes <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>&gt;</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:math></inline-formula> simply need to be recalculated using Eq. <xref ref-type="disp-formula" rid="Ch1.E8"/> as

            <disp-formula id="Ch1.E9" content-type="numbered"><label>9</label><mml:math id="M68" display="block"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mi>m</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>for</mml:mtext><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi>m</mml:mi><mml:mo>&lt;</mml:mo><mml:mi>i</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1867">In the case of a moisture loss (due to precipitation) at a later time <inline-formula><mml:math id="M69" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula>, some of the moisture contributed from previous uptakes <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:mi>m</mml:mi><mml:mo>&lt;</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:math></inline-formula> will be lost. Since the <xref ref-type="bibr" rid="bib1.bibx48" id="text.68"/> algorithm assumes that the water vapour is well mixed within a given air parcel, precipitation events do not change the fractional contributions at that time. However, a later moisture loss <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> does remove moisture from previous uptakes <inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> according to their fractional contribution <inline-formula><mml:math id="M73" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>m</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at time <inline-formula><mml:math id="M74" display="inline"><mml:mi>m</mml:mi></mml:math></inline-formula>:

            <disp-formula id="Ch1.E10" content-type="numbered"><label>10</label><mml:math id="M75" display="block"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mi>m</mml:mi><mml:mo>′</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>m</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e1978">The accounting is complete when the above steps in Eqs. (7)–(9) have been applied from the earliest time of the trajectory up to the arrival time <inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>. <xref ref-type="bibr" rid="bib1.bibx16" id="text.69"/> compactly expressed the final result of this accounting method in two update equations. While the algorithm is presented here in a detailed representation of each of the computational steps, the equations in <xref ref-type="bibr" rid="bib1.bibx16" id="text.70"/> are almost entirely equivalent, and may facilitate a numerical implementation of the algorithm (for one exception see below). WaterSip currently implements only this stepwise accounting procedure.</p>
      <p id="d2e2000">The vertical location of the air parcel as moisture uptakes take place can be used to infer the reliability of the assumption that water vapour stems from evaporation at the current location. If air parcels are within or close the the height of the (well-mixed) boundary layer, this assumption is considered more likely to be valid than if the uptake is detected well into the free troposphere (Fig. <xref ref-type="fig" rid="F1"/>b, dashed line). The boundary-layer height scale factor <inline-formula><mml:math id="M77" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is used to separate between uptakes considered to be within the boundary layer or within the free troposphere (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1.SSS4"/>).</p>
</sec>
<sec id="Ch1.S2.SS2">
  <label>2.2</label><title>Precipitation estimate</title>
      <p id="d2e2026">Up to this point, the algorithm has provided quantitative information about the contributions of uptakes to the moisture within an air parcel at <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mo>(</mml:mo><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> at some height <inline-formula><mml:math id="M79" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>. While it is possible to directly use the information about the sources of the water vapour, more commonly one would be interested in the moisture sources of surface precipitation. In order to transfer the water vapour information to surface precipitation at the arrival point of trajectories, moisture loss from a precipitating air parcel at the last time step before arrival (<inline-formula><mml:math id="M80" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>) is assumed to directly contribute to surface precipitation. To obtain a reliable estimate of the total precipitation in an area, a sufficiently large set of particle trajectories is required to faithfully represent the atmospheric column above a target area (Fig. <xref ref-type="fig" rid="F1"/>b, crosses). Then, the Lagrangian precipitation estimate <inline-formula><mml:math id="M81" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> (in units of kg m<inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) can be computed as the column integral of all <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> for all <inline-formula><mml:math id="M84" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> air parcels with mass <inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> residing over the target area <inline-formula><mml:math id="M86" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> at time <inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>:

            <disp-formula id="Ch1.E11" content-type="numbered"><label>11</label><mml:math id="M88" display="block"><mml:mrow><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi>A</mml:mi></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:munderover><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>|</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup><mml:mo>|</mml:mo><mml:mo>⋅</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e2218">To obtain a spatially coherent view, the contribution of each individual air parcel is gridded onto the arrival grid using a gridding kernel (see Sect. <xref ref-type="sec" rid="Ch1.S5.SS3"/>). Thereby only air parcels fulfilling certain requirements are considered in the analysis of precipitation moisture sources. For example, to further support the presence of clouds leading to precipitation, a critical relative humidity threshold RH<sub>c</sub> is applied, where clouds are assumed when the grid-scale relative humidity exceeds 80 % (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1.SSS3"/>).</p>
</sec>
<sec id="Ch1.S2.SS3">
  <label>2.3</label><title>Accounted fraction</title>
      <p id="d2e2242">The sum of all fractional contributions <inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> from identified moisture uptakes <inline-formula><mml:math id="M91" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> along trajectory <inline-formula><mml:math id="M92" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>, the total accounted fraction <inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, provides information about the known sources of <inline-formula><mml:math id="M94" display="inline"><mml:mrow><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> and thus <inline-formula><mml:math id="M95" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>:

            <disp-formula id="Ch1.E12" content-type="numbered"><label>12</label><mml:math id="M96" display="block"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>U</mml:mi></mml:munderover><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e2349">Hereby, <inline-formula><mml:math id="M97" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> is the number of all moisture uptake events identified along trajectory <inline-formula><mml:math id="M98" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>. Based on the vertical position (particle elevation) <inline-formula><mml:math id="M99" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula> where the uptake is identified, the fractional contributions are subdivided into the two categories: the accounted fraction in the boundary layer, <inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>bl</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, and the accounted fraction in the free troposphere, <inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>ft</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>. The sum of both fractions is the total explained fraction <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, which should obey the relation

            <disp-formula id="Ch1.E13" content-type="numbered"><label>13</label><mml:math id="M103" display="block"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>bl</mml:mtext><mml:mi>k</mml:mi></mml:msubsup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>ft</mml:mtext><mml:mi>k</mml:mi></mml:msubsup><mml:mo>)</mml:mo><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e2453">Then, <inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> provides information about the consistency of the algorithm. In general, and on average, this relation is found to be indeed fulfilled. However, if the <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> threshold is set to values outside a meaningful range, the total explained fraction can exceed 1.0. Typically, this will happen for large values of the precipThreshold parameter, which can lead to undetected rainout events (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1.SSS2"/>). Users are thus advised to inspect <inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> in their results and to make adjustments if needed. Notably, this is a difference to the algorithm of <xref ref-type="bibr" rid="bib1.bibx16" id="text.71"/> where <inline-formula><mml:math id="M107" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> by definition.</p>
      <p id="d2e2516">The explained fractions <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>bl</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>ft</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> can be used further to subdivide the Lagrangian precipitation estimate <inline-formula><mml:math id="M110" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> into its respective explained fractions. The total explained precipitation <inline-formula><mml:math id="M111" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> is obtained from

            <disp-formula id="Ch1.E14" content-type="numbered"><label>14</label><mml:math id="M112" display="block"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mtext>tot</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:munderover><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mi>A</mml:mi></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:munderover><mml:mfenced open="(" close=")"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup><mml:mo>⋅</mml:mo><mml:mo>|</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup><mml:mo>|</mml:mo><mml:mo>⋅</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:mfenced><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e2667">Corresponding quantities <inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mtext>bl</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M114" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mtext>ft</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> can be computed for <inline-formula><mml:math id="M115" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>bl</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>ft</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>. A choice to consider in this respect is which precipitation should be used for the weighted average of diagnosed quantities, <inline-formula><mml:math id="M117" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> or only the explained fractions of (<inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mtext>bl</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mtext>ft</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>). Given that the Lagrangian precipitation estimate <inline-formula><mml:math id="M121" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> is typically in error by about 20 %–30 % or more <xref ref-type="bibr" rid="bib1.bibx53" id="paren.72"/>, this choice might be secondary for the interpretation of the final results. In the <xref ref-type="bibr" rid="bib1.bibx48" id="text.73"/> algorithm as implemented in WaterSip, <inline-formula><mml:math id="M122" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> is used, rather than <inline-formula><mml:math id="M123" display="inline"><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>.</p>
</sec>
</sec>
<sec id="Ch1.S3">
  <label>3</label><title>Configuration of WaterSip</title>
      <p id="d2e2823">WaterSip has a long list of configuration parameters that control the workings of the algorithm. The configuration is supplied as a text-based input file, that consists of sets of parameters, which are organised into thematic sections. This section describes how to control core algorithm parameters (Sect. <xref ref-type="sec" rid="Ch1.S3.SS1"/>), how to handle the discretisation of the arrival air mass (Sect. <xref ref-type="sec" rid="Ch1.S3.SS2"/>), and how to configure the output grids (Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>). While the detailed format of the text-based input file is described in Appendix <xref ref-type="sec" rid="App1.Ch1.S2"/>, the following sections mention the name of the relevant parameters and input file sections, exemplify typical values, and describe relevant findings from the literature along the way. A brief sensitivity study of several key parameters is provided in Sect. <xref ref-type="sec" rid="Ch1.S6.SS1"/>.</p>
<sec id="Ch1.S3.SS1">
  <label>3.1</label><title>Core algorithm parameters</title>
      <p id="d2e2843">The core parameters of the <xref ref-type="bibr" rid="bib1.bibx48" id="text.74"/> algorithm are a set of threshold parameters that determine the identification of moisture uptakes and precipitation events from the Lagrangian moisture budget along trajectories.</p>
<sec id="Ch1.S3.SS1.SSS1">
  <label>3.1.1</label><title>Uptake threshold <inline-formula><mml:math id="M124" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></title>
      <p id="d2e2869">Specific humidity changes along air parcel trajectories are not only reflecting <inline-formula><mml:math id="M125" display="inline"><mml:mrow><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula>, but also contain spurious noise due to interpolation from gridded NWP output and inaccuracies in trajectory calculations <xref ref-type="bibr" rid="bib1.bibx51" id="paren.75"/>. There may also be an impact from parameterised atmospheric processes, such as convection and turbulence, that act at a time scale shorter than the trajectory time interval, and that are only detected by their residual effects (see Sects. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS2"/> and <xref ref-type="sec" rid="Ch1.S6"/>).</p>
      <p id="d2e2891">In order to suppress or dampen such noise, the uptake threshold <inline-formula><mml:math id="M126" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is introduced in the distinction of evaporation and precipitation events. Specifically, a moisture uptake is identified if <inline-formula><mml:math id="M127" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi><mml:mo>&gt;</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, while a moisture loss is correspondingly identified if <inline-formula><mml:math id="M128" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi><mml:mo>&lt;</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Fig. <xref ref-type="fig" rid="F1"/>c). The uptake threshold is set as parameter uptakeThreshold in the settings group Diagnostics of the configuration file (Table <xref ref-type="table" rid="TB3"/>). Thereby, the value must be given per trajectory time step (in <inline-formula><mml:math id="M129" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">g</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>(</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi mathvariant="normal">t</mml:mi><mml:msup><mml:mo>)</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>).</p>
      <p id="d2e2982">At a default value of <inline-formula><mml:math id="M130" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M131" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">g</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">6</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">h</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> that is typically used in a broad range of mid-latitude conditions, only relatively substantial uptake events are detected by the diagnostic. In Tropical and sub-tropical regions, a larger threshold value may be suitable, whereas in colder and drier conditions, such as in polar or high-altitude regions, a lower threshold of <inline-formula><mml:math id="M132" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M133" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">g</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">6</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">h</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> has been recommended <xref ref-type="bibr" rid="bib1.bibx45" id="paren.76"/>. A lower value for <inline-formula><mml:math id="M134" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> will lead to the inclusion of a larger part of the noise spectrum as moisture uptakes. A larger number of uptakes in turn leads to a higher chance of discounting previous moisture uptakes, and thus may induce a bias towards more local moisture sources.</p>
      <p id="d2e3095">As an alternative, WaterSip can be instructed to use a relative threshold value <inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">cr</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. In this case, noise is considered as a relative error, and thus the threshold value is computed at every time step as <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">cr</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The relative threshold value is activated by setting the parameter relativeThreshold <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> in the settings group Diagnostics (Table <xref ref-type="table" rid="TB3"/>). The value of the uptake threshold is then interpreted as <inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">cr</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (as fraction with unit 1). The impact of this relative threshold option has not yet been tested extensively for different climate zones and events.</p>
      <p id="d2e3165">In the context of the uptake threshold, it is interesting to consider the impact of data assimilation on the specific humidity of gridded NWP data, such as reanalysis data. Data assimilation methods can introduce non-physical perturbations to the moisture field, the so-called assimilation increment. Assimilation increments are another reason to apply <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in the diagnostic. If trajectories are calculated using a model forecast without data assimilation, such as for climate model data, no assimilation increments are present in the gridded fields, and thus less noise would be expected in <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula>. <xref ref-type="bibr" rid="bib1.bibx22" id="text.77"/> investigated the impact of different <inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in CESM and NorESM climate model data compared to reanalysis data, and found quantitative but no clear qualitative differences in the result of the diagnostic that could be related to assimilation increments. Users should thus consider testing lower <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> when using trajectories based on free-running model forecast data rather than reanalyses.</p>
</sec>
<sec id="Ch1.S3.SS1.SSS2">
  <label>3.1.2</label><title>Precipitation threshold <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></title>
      <p id="d2e3241">Similar to the uptake threshold, a corresponding threshold value exists for the identification of moisture losses due to precipitation along trajectories, the precipitation threshold <inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>p</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. As the same amount of numerical noise can lead to spurious identification of moisture losses as for moisture uptakes, the value of <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M146" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">g</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">6</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">h</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> is commonly used in mid-latitudes <xref ref-type="bibr" rid="bib1.bibx48" id="paren.78"/>, while a lower value such as <inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>p</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M148" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">g</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mn mathvariant="normal">6</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">h</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> appears more suitable for polar regions <xref ref-type="bibr" rid="bib1.bibx45" id="paren.79"/>. In general, it is recommended for reasons of consistency to use symmetric settings for the uptake and precipitation threshold. The precipitation threshold is set as parameter precipThreshold in the settings group Diagnostics of the configuration file (Table <xref ref-type="table" rid="TB3"/>). As the detection of moisture losses along trajectories leads to a discount of the remaining contribution from earlier uptake events, a lower precipitation thresholds can lead to relatively less remote moisture sources. The parameter relativeThreshold also affects the interpretation of the value in precipThreshold as absolute or relative parameter value.</p>
</sec>
<sec id="Ch1.S3.SS1.SSS3">
  <label>3.1.3</label><title>Critical relative humidity threshold <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></title>
      <p id="d2e3381">The Lagrangian precipitation estimate <inline-formula><mml:math id="M150" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> is based on moisture losses during the last time step of arriving trajectories. In order to further support that a detected moisture loss is likely due to cloud processes, the critical relative humidity threshold <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is introduced. If <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:msub><mml:mtext>RH</mml:mtext><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> or <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:msub><mml:mtext>RH</mml:mtext><mml:mn mathvariant="normal">1</mml:mn></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, the air parcel is associated with clouds during arrival, and thus any negative <inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula> is assumed to be due to precipitation. RH<sub>c</sub> is set as parameter arrivalRHMin in the settings group Diagnostics of the configuration file (Table <xref ref-type="table" rid="TB3"/>). The default value for <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is 80 (in units of %), corresponding to a common threshold value in parameterisations of sub-grid cloud cover. Several studies indicate that depending on latitude and predominant weather regime, the Lagrangian precipitation estimate <inline-formula><mml:math id="M157" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> increases with lowering of RH<sub>c</sub>. Such lower threshold values may be argued for in particular in cold, mixed-phase and ice cloud regimes <xref ref-type="bibr" rid="bib1.bibx56" id="paren.80"/>, and in the case of predominantly convective precipitation, that are not necessarily associated with grid-scale cloud cover <xref ref-type="bibr" rid="bib1.bibx21" id="paren.81"/>. An additional parameter arrivalRHMax in the settings group Diagnostics allows to focus the analysis on a a specified range of RH during air parcel arrival, for example if one would be interested in the source properties of water vapour during cloud-free arrival conditions only (Table <xref ref-type="table" rid="TB3"/>).</p>
      <p id="d2e3502">Note that a decrease in specific humidity, detected as a moisture loss, can also be a consequence of mixing with drier air, for example due to dry convection. Moisture loss events that take place in an unsaturated environment, i.e., when <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:mtext>RH</mml:mtext><mml:mo>&lt;</mml:mo><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at both time steps used to calculate any <inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are therefore counted and processed as dry mixing events, rather than precipitation events (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1.SSS2"/>). While these mixing events are written to a different output variable (see Sect. <xref ref-type="sec" rid="Ch1.S5.SS1"/>), the consequences for the accounting of moisture losses is the same for saturated and unsaturated conditions.</p>
</sec>
<sec id="Ch1.S3.SS1.SSS4">
  <label>3.1.4</label><title>Boundary-layer height scale factor <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></title>
      <p id="d2e3557">Another important parameter is the distinction between uptake events that are detected when an air parcel is within the boundary layer, and when it is in the free troposphere. Since air parcel trajectories are 3-dimensional,  uptakes are identified when the parcels are at a given height above ground. Evaporation from the surface is assumed to be most plausibly contributing to the moisture increase in an air parcel location if it is within or close to the turbulently mixed atmospheric boundary layer. This resembles the “footprint analysis” of the lowermost 100–300 m above ground, which is commonly used in  atmospheric chemistry applications <xref ref-type="bibr" rid="bib1.bibx25" id="paren.82"><named-content content-type="pre">e.g.,</named-content></xref>. Detrainment and venting of boundary-layer air to the nearby free troposphere is another likely pathway for producing moisture uptakes close to the boundary-layer top. Therefore, and to take into account  diurnal boundary-layer height variability and the general uncertainty of boundary-layer height calculations, a boundary-layer height scale factor <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> with a default value of <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> is introduced in the diagnostic. All moisture uptakes that are identified when height <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:mi>z</mml:mi><mml:mo>≤</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (with <inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msub><mml:mi>z</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> the current boundary layer height) are assigned to the output field category of boundary-layer moisture uptake, while all other uptakes are in the free-tropospheric moisture uptake category (see Sect. <xref ref-type="sec" rid="Ch1.S5.SS1"/>). The distinction between these two categories is also carried over to the accounted fractions (Sect. <xref ref-type="sec" rid="Ch1.S5.SS3"/>), and the forward projection of different quantities (Sect. <xref ref-type="sec" rid="Ch1.S5.SS4"/>). The relative threshold value is set as parameter blhScale<inline-formula><mml:math id="M166" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.5</mml:mn></mml:mrow></mml:math></inline-formula> in the settings group Diagnostics (Table <xref ref-type="table" rid="TB3"/>).</p>
      <p id="d2e3643">Studies with the WaterSip methodology have used <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> in different ways. While <xref ref-type="bibr" rid="bib1.bibx48" id="text.83"/> introduced this parameter to obtain more reliable results, free-troposphere and boundary-layer uptakes have since been observed to commonly overlap spatially <xref ref-type="bibr" rid="bib1.bibx46" id="paren.84"><named-content content-type="pre">e.g.,</named-content></xref>. In a detailed investigation of atmospheric conditions associated with free-troposphere uptakes in the Mediterranean, <xref ref-type="bibr" rid="bib1.bibx64" id="text.85"/> found that these were connected to deep venting of boundary-layer air to the free troposphere due to moist convection. Furthermore, free-troposphere uptakes are generally the lesser fraction of total uptakes, typically on the order of 20 %–40 % <xref ref-type="bibr" rid="bib1.bibx46 bib1.bibx31" id="paren.86"/>. Several studies have therefore in the past considered both uptake categories jointly, in particular in warmer climates <xref ref-type="bibr" rid="bib1.bibx32 bib1.bibx21 bib1.bibx22" id="paren.87"><named-content content-type="pre">e.g.,</named-content></xref>. Users will have to ultimately decide according to their scientific objectives on how to apply <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi>s</mml:mi><mml:mi mathvariant="normal">h</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and how to make use of the boundary-layer and free-troposphere uptake categories.</p>
</sec>
<sec id="Ch1.S3.SS1.SSS5">
  <label>3.1.5</label><title>Water vapour diagnostics</title>
      <p id="d2e3696">In addition to tracing back water vapour that leads to precipitation, WaterSip also allows to identify the source and transport properties of water vapour that resides in the atmosphere within a target area at a given time. If WaterSip is used as a water vapour source and transport diagnostic, rather than a precipitation diagnostic, the gridding weight of each traced air parcel is obtained from the total water mass <inline-formula><mml:math id="M169" display="inline"><mml:mrow><mml:msub><mml:mi>m</mml:mi><mml:mi mathvariant="normal">w</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> of an air parcel of trajectory <inline-formula><mml:math id="M170" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> at arrival time <inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>, computed as

              <disp-formula id="Ch1.E15" content-type="numbered"><label>15</label><mml:math id="M172" display="block"><mml:mrow><mml:msubsup><mml:mi>m</mml:mi><mml:mi mathvariant="normal">w</mml:mi><mml:mi>k</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup><mml:mo>⋅</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e3759">This water mass <inline-formula><mml:math id="M173" display="inline"><mml:mrow><mml:msubsup><mml:mi>m</mml:mi><mml:mi mathvariant="normal">w</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> is then used to weight different quantities during gridding, instead of the loss of water mass during the last time step (<inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup><mml:mo>⋅</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>, Eq. <xref ref-type="disp-formula" rid="Ch1.E17"/>). Apart from this change, the moisture source diagnostic works in the same way when tracing the sources and properties of precipitation water. The water vapour diagnostic option allows for instance to identify the transport properties of water vapour in regions where no precipitation occurs. The water vapour diagnostic is activated by setting parameter analyzeVapour as 1 in the setting group Diagnostic (Table <xref ref-type="table" rid="TB3"/>).</p>
</sec>
<sec id="Ch1.S3.SS1.SSS6">
  <label>3.1.6</label><title>Other available moisture source diagnostics</title>
      <p id="d2e3809">To enable comparison of the <xref ref-type="bibr" rid="bib1.bibx48" id="text.88"/> algorithm to other approaches, three additional moisture source diagnostics have been implemented into the software tool. These include the <inline-formula><mml:math id="M175" display="inline"><mml:mrow><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula> diagnostic by <xref ref-type="bibr" rid="bib1.bibx53" id="text.89"/>, in which all particles arriving in a region and precipitating are gridded without further distinction according to vertical location, and without accounting. Second, the method of <xref ref-type="bibr" rid="bib1.bibx24" id="text.90"/>, where the moisture source region is identified as the trajectory segment between the first maximum and the trajectory location where the specific humidity becomes lower than the arrival specific humidity for the first time. Third, the method of <xref ref-type="bibr" rid="bib1.bibx13" id="text.91"/> is available, where the evaporation flux below the trajectory location is continuously accumulated until reaching the value of the arrival specific humidity. In order for this method to work, surface evaporation needs to be available on the trajectory input data. The method of <xref ref-type="bibr" rid="bib1.bibx53" id="text.92"/> is included by default in the output files. To select one of the two other diagnostic methods, rather than the <xref ref-type="bibr" rid="bib1.bibx48" id="text.93"/> algorithm, the parameter processingAlgorithm in settings group Diagnostics needs to be changed from its default value 0 to a value of 1 for the <xref ref-type="bibr" rid="bib1.bibx13" id="text.94"/> method, and to 2 for the <xref ref-type="bibr" rid="bib1.bibx24" id="text.95"/> (Table <xref ref-type="table" rid="TB3"/>).</p>
</sec>
</sec>
<sec id="Ch1.S3.SS2">
  <label>3.2</label><title>Air mass discretisation</title>
      <p id="d2e3860">When used to diagnose precipitation origin, air parcels are retained for analysis if (i) they reside within the target region, (ii) during the preceding time step had a specific humidity decrease larger than the precipitation threshold value (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1.SSS2"/>), and (iii) had a relative humidity within chosen bounds (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1.SSS3"/>). The geographic location of the target region and the considered time period are therefore fundamental choices for an analysis with WaterSip. Other important elements regarding how the air mass is discretised are the format and length of trajectories, and the time interval between particle locations.</p>
<sec id="Ch1.S3.SS2.SSS1">
  <label>3.2.1</label><title>Target region and time period specification</title>
      <p id="d2e3874">In the WaterSip configuration file, the target region is specified by a set of latitude and longitude bounds, namely the parameters arrivalGridMinLon, arrivalGridMinLat, arrivalGridMaxLon, arrivalGridMaxLat in the settings group Grid (Table <xref ref-type="table" rid="TB2"/>). The grid spacing of the arrival grid in latitude, longitude increments, is defined by parameters arrivalGridDx and arrivalGridDy in the same settings group.</p>
      <p id="d2e3879">Moisture transport can be strongly modulated by topography, such as for example over Greenland and Antarctica. In order to focus the analysis on different altitude ranges within the target area, but also on selected ground elevation, several parameters are available in the settings group Diagnostics. The parameters arrivalOroMin and arrivalOroMax allow to only retain air parcels for analysis if they arrive over ground elevations within the two parameters. Similarly, air parcels can be filtered according to their altitude above sea level using parameters arrivalAltMin and arrivalAltMax. In order to include all parcels arriving within a domain, the parameters should be set to a height below zero (e.g., <inline-formula><mml:math id="M176" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>100 m) for the lower, and a large height (e.g., 50 000 m) for the upper threshold value. The used topography is ingested from the netCDF file specified at parameter orographyFile in settings group Case.</p>
</sec>
</sec>
<sec id="Ch1.S3.SS3">
  <label>3.3</label><title>Time period specification</title>
      <p id="d2e3898">Another fundamental setting is the start- and end-time of the analysis, regulated by parameters startDate and endDate in setting group Case. Since the analysis proceeds backward from the time of arrival, the start date is larger than the end date. Importantly, in order to obtain results for, e.g., 20 d accounting along a trajectory, the time difference between start date and end date must be at least 20 d plus one time step (to enable calculating the required number of specific humidity changes). The length of the analysis period is defined by parameter trajPoints in settings group Case, and the duration of the entire accounting period for each trajectory is then given by the parameter timeStep times trajPoints (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS3"/>).</p>
<sec id="Ch1.S3.SS3.SSS1">
  <label>3.3.1</label><title>Trajectory input data</title>
      <p id="d2e3910">Trajectory input data consist of the vectors <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="bold-italic">x</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> with position and other necessary variables for the <inline-formula><mml:math id="M178" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> air parcels representing the air mass over the target region (Fig. <xref ref-type="fig" rid="F1"/>b, box). Such trajectory data can be obtained from different modelling tools. Currently, WaterSip is able to handle input from the Lagrangian trajectory model LAGRANTO <xref ref-type="bibr" rid="bib1.bibx49" id="paren.96"/>, and from the Lagrangian particle dispersion model FLEXPART <xref ref-type="bibr" rid="bib1.bibx55 bib1.bibx39" id="paren.97"/>. Minimum requirements with regards to the variables that are included on the trajectories are position, <inline-formula><mml:math id="M179" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M180" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> or RH. The input data parameters are set in either settings group Lagranto (Table <xref ref-type="table" rid="TB7"/>) or Flexpart (Table <xref ref-type="table" rid="TB6"/>), depending on the used trajectory model.</p>
      <p id="d2e3958">An important user choice for the WaterSip diagnostic is the discretisation of the atmosphere above the target region into individual particles. In general, the more particles represent a particular air mass, the smaller the mass of air associated with one air parcel (<inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>), and the more detailed and statistically reliable the results will become. For example, <xref ref-type="bibr" rid="bib1.bibx45" id="text.98"/> used the global FLEXPART dataset of <xref ref-type="bibr" rid="bib1.bibx52" id="text.99"/> from a global domain-filling run with 2.4 million air parcels. With a total global atmospheric mass of <inline-formula><mml:math id="M182" display="inline"><mml:mrow><mml:mn mathvariant="normal">5.14</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">18</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> kg, each air parcel represents <inline-formula><mml:math id="M183" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.14</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> kg of air. <xref ref-type="bibr" rid="bib1.bibx31" id="text.100"/> used 5 million air parcels, resulting in a particle mass of <inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.03</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">12</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> kg. For FLEXPART input data, the particle mass is set by parameter partMass (in kg) in the settings group Flexpart (Table <xref ref-type="table" rid="TB6"/>).</p>
      <p id="d2e4036">When using LAGRANTO for the trajectory calculation, the atmospheric mass of one air parcel results from the calculation start grid. For LAGRANTO input data, the particle mass is first computed from the chosen discretisation as

              <disp-formula id="Ch1.E16" content-type="numbered"><label>16</label><mml:math id="M185" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow><mml:mi>g</mml:mi></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>p</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>

            with <inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula> in units of <inline-formula><mml:math id="M187" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">hPa</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M188" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi></mml:mrow></mml:math></inline-formula> in units of <inline-formula><mml:math id="M190" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">km</mml:mi></mml:mrow></mml:math></inline-formula>. Then, <inline-formula><mml:math id="M191" display="inline"><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow><mml:mi>g</mml:mi></mml:mfrac></mml:mstyle></mml:math></inline-formula> is set as parameter partMass (in <inline-formula><mml:math id="M192" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">hPa</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">km</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>) in the settings group Lagranto (Table <xref ref-type="table" rid="TB7"/>), which is then internally in WaterSip converted to units of <inline-formula><mml:math id="M193" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi></mml:mrow></mml:math></inline-formula>. For example, <xref ref-type="bibr" rid="bib1.bibx48" id="text.101"/> computed backward trajectories from a <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:mn mathvariant="normal">50</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> km horizontal grid over Greenland, with a vertical spacing of 25 hPa for every 6 h time step over a given time period. Accordingly, each trajectory on this grid represents <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:mn mathvariant="normal">680</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mn mathvariant="normal">9</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> kg of air arriving at a specific time interval.</p>
</sec>
<sec id="Ch1.S3.SS3.SSS2">
  <label>3.3.2</label><title>Trajectory time interval <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula></title>
      <p id="d2e4206">Another important property of the input trajectory data for the <xref ref-type="bibr" rid="bib1.bibx48" id="text.102"/> algorithm is temporal discretisation, i.e., the time interval <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> at which meteorological and position information from air parcel locations is available. Typically, <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> corresponds to the time interval of NWP boundary data used during the trajectory calculation. For global reanalyses a common interval is 6 h, but also 1 to 3 h time intervals have been used <xref ref-type="bibr" rid="bib1.bibx22" id="paren.103"/>. While trajectory location accuracy increases with a higher input data frequency, there are also potential complications from higher time-resolution input data. As <inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is well-tested for <inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:math></inline-formula> h with regard to separating signal from noise, smaller threshold values need to be used at shorter time intervals, which do not necessarily have the same filtering effect (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS1"/>). The trajectory time interval <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> is set as parameter timeStep (unit h) in the settings group Case (Table <xref ref-type="table" rid="TB1"/>).</p>
      <p id="d2e4277">In a sensitivity study with WaterSip and FLEXPART using climate model data at <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:mn mathvariant="normal">1.8</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">1.8</mml:mn></mml:mrow></mml:math></inline-formula>° resolution as input, <xref ref-type="bibr" rid="bib1.bibx22" id="text.104"/> found that the time interval influenced the moisture source distance, with substantially smaller moisture source distances for time intervals of less than 6 h. In that study, the authors then chose to compute trajectories at a time resolution of 1 h to obtain smaller position errors, while the WaterSip diagnostic was run at 6 h time interval to obtain the desired filtering of interpolation noise. With such a combination of time intervals, a compromise can be obtained between trajectory accuracy and sufficient separation between signal and noise in the WaterSip diagnostic.</p>
</sec>
<sec id="Ch1.S3.SS3.SSS3">
  <label>3.3.3</label><title>Trajectory length <inline-formula><mml:math id="M203" display="inline"><mml:mi>L</mml:mi></mml:math></inline-formula></title>
      <p id="d2e4310">One important consideration for computing trajectories is the trajectory length <inline-formula><mml:math id="M204" display="inline"><mml:mi>L</mml:mi></mml:math></inline-formula>, the number of time intervals over which the air parcel movement is traced. Typical trajectory lengths in atmospheric analyses are 5–20 d. Since trajectories become increasingly uncertain for longer calculation time <xref ref-type="bibr" rid="bib1.bibx51" id="paren.105"/>, the trajectory length is an important consideration for WaterSip applications. In the approach of <xref ref-type="bibr" rid="bib1.bibx53" id="text.106"/>, the results were strongly dependent on the chosen integration time intervals. This choice introduces a subjective element in the analysis, since results may not only vary with climate region, but also with seasons and weather systems. The accounting algorithm implemented in WaterSip does not require a pre-defined trajectory length for its analysis. The trajectory length is set as the number of time steps along a trajectory as parameter trajPoints in the settings group Case (Table <xref ref-type="table" rid="TB1"/>). One obtains the value of trajPoints from dividing <inline-formula><mml:math id="M205" display="inline"><mml:mi>L</mml:mi></mml:math></inline-formula> by <inline-formula><mml:math id="M206" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>. For example, 20 d trajectories with a 6 h time interval results in trajPoints set to 81.</p>
      <p id="d2e4346">The often-cited global mean residence time of water vapour of 8–10 d <xref ref-type="bibr" rid="bib1.bibx57" id="paren.107"><named-content content-type="pre">e.g.</named-content></xref>, as obtained from a global budget of atmospheric water vapour and precipitation fluxes, can provide some guidance on how long trajectories need to be. Recent studies (based on Lagrangian moisture source diagnostics with WaterSip) provide arguments that the residence time, or life time of water vapour, may be better described by a heavily skewed life time distribution with a median value of about 4–5 d and a very long, thin tail at 20 d and beyond <xref ref-type="bibr" rid="bib1.bibx42 bib1.bibx23" id="paren.108"/>. According to these findings, many relevant moisture uptakes can therefore take place within a time scale of 10 d before precipitation. Except at high latitudes, where life times are particularly long, source contributions from the <xref ref-type="bibr" rid="bib1.bibx48" id="text.109"/> algorithm are generally not sensitive to a trajectory length beyond 15 d. Using the WaterSip diagnostic with trajectories of 10, 15, or 20 d length will therefore lead to relatively less differing results than with the <xref ref-type="bibr" rid="bib1.bibx53" id="text.110"/> method. A generally recommended choice of trajectory length that also allows for the detection of long-range transport of water vapour is 20 d.</p>
</sec>
</sec>
<sec id="Ch1.S3.SS4">
  <label>3.4</label><title>Output grid and output configuration</title>
      <p id="d2e4373">WaterSip uses the mass represented by each air parcel to transfer the results of the diagnostic onto a grid which will then be written to an output file for further use. There are two output grids in WaterSip. The coarser source and transport grid covers the entire potential source regions of the traced moisture, and is typically of hemispheric or global dimensions. The typically smaller arrival grid covers the target region of the analysis, and usually has a finer grid spacing to reveal spatial details within the arrival domain.</p>
      <p id="d2e4376">Both grids are specified by a respective set of parameters in the setting group Grids (Table <xref ref-type="table" rid="TB2"/>). The source grid is defined by the parameters sourceGridMinLon, sourceGridMaxLon, sourceGridMinLat, sourceGridMaxLat, which provides the boundaries in latitude-longitude coordinates. The parameters sourceGridDx, sourceGridDy set the grid spacing in longitude and latitude direction, respectively. A corresponding set of grid parameters exists for the arrival grid (arrivalGridMinLon, arrivalGridMaxLon, arrivalGridMinLat, arrivalGridMaxLat, arrivalGridDx, arrivalGridDy).</p>
      <p id="d2e4381">Quantities are gridded onto both grids using weighting factors. The weight <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msubsup><mml:mi>m</mml:mi><mml:mi mathvariant="normal">w</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> for gridding a quantity <inline-formula><mml:math id="M208" display="inline"><mml:mi mathvariant="italic">ξ</mml:mi></mml:math></inline-formula> (for example the air temperature at the time of arrival) is obtained from the water mass <inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> lost from an arriving air parcel <inline-formula><mml:math id="M210" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> as

            <disp-formula id="Ch1.E17" content-type="numbered"><label>17</label><mml:math id="M211" display="block"><mml:mrow><mml:msubsup><mml:mi>m</mml:mi><mml:mi mathvariant="normal">w</mml:mi><mml:mi>k</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msubsup><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e4458">With <inline-formula><mml:math id="M212" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> trajectories arriving as a vertical stack (Fig. <xref ref-type="fig" rid="F1"/>b), the weighted average of all <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">ξ</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> at a location <inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi></mml:mrow></mml:math></inline-formula> is thus obtained as

            <disp-formula id="Ch1.E18" content-type="numbered"><label>18</label><mml:math id="M215" display="block"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ξ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:msubsup><mml:msup><mml:mi mathvariant="italic">ξ</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mi mathvariant="normal">w</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:mo>∑</mml:mo><mml:msubsup><mml:mi>m</mml:mi><mml:mi mathvariant="normal">w</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e4557">This arrival point information needs to be transferred onto the arrival grid. Instead of simply gridding the information to the grid cell closest to the air parcel location, WaterSip allows to specify a spatial representativeness of this information, which is then used to distribute it to surrounding grid cells. Representativeness is provided by a gridding radius <inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, specifying a circular distance from the arrival point. The areal overlap between the circular weight and neighbouring grid cells are then used as weights to distribute air parcel quantities <inline-formula><mml:math id="M217" display="inline"><mml:mi mathvariant="italic">ξ</mml:mi></mml:math></inline-formula> onto the arrival grid. For example, with trajectories computed at a horizontal distance of <inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:mn mathvariant="normal">50</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">50</mml:mn></mml:mrow></mml:math></inline-formula> km, quantities can be assumed to be representative for a circular area with radius 30 km. If the arrival grid for this setup is then chosen to be arrivalGridDx <inline-formula><mml:math id="M219" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> arrivalGridDy <inline-formula><mml:math id="M220" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn><mml:mi mathvariant="italic">°</mml:mi></mml:mrow></mml:math></inline-formula>, and the gridding radius is set to <inline-formula><mml:math id="M221" display="inline"><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:math></inline-formula> km, one can expect to reveal finer interpolated structures within the arrival domain. The gridding radius is set as parameters arrivalGridRadius in settings group Grids. Corresponding reasoning applies to the source grid radius sourceGridRadius. Here, a common combination for a hemispheric output grid is sourceGridDx <inline-formula><mml:math id="M222" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> sourceGridDy <inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1.0</mml:mn><mml:mi mathvariant="italic">°</mml:mi></mml:mrow></mml:math></inline-formula>, and sourceGridRadius <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mo>=</mml:mo><mml:mn mathvariant="normal">110</mml:mn></mml:mrow></mml:math></inline-formula> km.</p>
      <p id="d2e4654">The gridding proceeds by finding the area overlaps between the circular gridding area and each grid box. A corresponding fraction of the total quantity to be gridded is then added to each grid box <xref ref-type="bibr" rid="bib1.bibx60" id="paren.111"/>. It is important to be aware of the impact user choices have on the results. A too small gridding radius for a given grid will lead to gaps between grid points, while a too large gridding radius will cause smoothing and potentially loss of detail in the gridded fields.</p>
      <p id="d2e4660">A final choice regarding the gridding is whether uptake events are gridded with the time stamp of the arrival in the target region, or to the time when uptakes take place. The choice of the assigned time is important for later analysis of the results. In the first case, moisture sources are valid for all precipitation arriving within a chosen time period in the target area, and can be compared to other quantities regarding the arrival time. In the second case, the moisture sources can be compared to properties at the source regions during valid time, for example total evaporation fields. The assignment time is set as parameter assignToUptake in settings group Grids, where 0 denotes that the uptakes are assigned to arrival time, and 1 denotes assignment to uptake time (see Sect. <xref ref-type="sec" rid="Ch1.S5.SS1"/> for an example).</p>
</sec>
</sec>
<sec id="Ch1.S4">
  <label>4</label><title>Setup and execution of WaterSip</title>
      <p id="d2e4674">In order to run the WaterSip diagnostic, a set of suitable input data needs to be available. In this preparatory step of the moisture source analysis, users need to make a number of necessary and optional choices as detailed below. Running the WaterSip tool then produces a set of output files in netCDF format, which are also described in this section.</p>
<sec id="Ch1.S4.SS1">
  <label>4.1</label><title>Creating and reading trajectory input data</title>
      <p id="d2e4684">There are some general considerations for the input data to be made such that the WaterSip diagnostic output becomes representative for the chosen target area. The setup for creating trajectory input data to WaterSip varies depending on whether a particle dispersion model (FLEXPART) or an air mass trajectory model (LAGRANTO) is used.</p>
      <p id="d2e4687">When using the particle dispersion model FLEXPART, commonly, hemispheric or global domain-filling forward simulation are set up. In domain-filling mode, FLEXPART automatically discretises the air mass over the chosen target area into a specified number of particles of equal mass, and distributed according to pressure. With a larger number of particles, WaterSip will provide statistically more robust results, in particular for more long-range and long-duration water vapour transport. Within FLEXPART, particles are advected forward continuously for the simulation time. WaterSip then extracts a sub-set of these trajectories according to the run parameters. A global domain-filling setup has also been applied in the example case presented here (Sect. <xref ref-type="sec" rid="Ch1.S4.SS4"/>). So-called particle dump needs to be activated in FLEXPART to obtain the input data needed by WaterSip. Writing out additional variables with each particle position requires modification of the routine <monospace>partoutput_pos.f90</monospace> or <monospace>partoutput_short.f90</monospace> of the FLEXPART code. Example code for this modification for FLEXPART versions 8.2 through 10.4 is available in the online supplement <xref ref-type="bibr" rid="bib1.bibx43" id="paren.112"/>.The most recent version 11 of FLEXPART <xref ref-type="bibr" rid="bib1.bibx3" id="paren.113"/> writes particles in netCDF output. Until WaterSip has been enabled to ingest this input directly, users will have to convert the FLEXPART version 11 particle dump from netCDF to the binary format. A corresponding helper tool is planned to be made available on the WaterSip respository. Running FLEXPART in backward mode can be a more efficient alternative to a global domain-filling run, but requires a new release interval to be defined for every time step. General instructions for setting up and running FLEXPART are available in the respective literature <xref ref-type="bibr" rid="bib1.bibx55 bib1.bibx39 bib1.bibx3" id="paren.114"/>.</p>
      <p id="d2e4708">When used together with FLEXPART input, the WaterSip configuration file needs to contain a setting group Flexpart, where several parameters need to be specified (Table <xref ref-type="table" rid="TB6"/>). The parameter particleMass contains the mass per particle as either specified in the FLEXPART releases file, or as written out by FLEXPART in domain filling mode in the output file part_mass. The input files need to be contained in a folder specified by parameter inputDir in setting group Case in the configuration file. As individual particle dump files are read in from FLEXPART output for each time step, the pathname is specified with a wild card pattern (<monospace>%s</monospace>) representing the date string, e.g. inputDir <inline-formula><mml:math id="M225" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> /path/to/directory/partoutput_pos_%s.</p>
      <p id="d2e4723">When using output from a trajectory model, such as LAGRANTO, the air mass over the target area needs to be discretised manually. This is achieved by defining the start locations of the trajectory calculations in LAGRANTO's <monospace>startf</monospace> file. One common way to discretise a target region is to define a regular distance spacing in projected coordinates (e.g., one starting point every 25 or 50 km in both directions). In the vertical, it is recommended to space the starting points at equal pressure intervals. This way, each air parcel trajectory represents an equal amount of mass, which can be entered in the configuration file for a LAGRANTO setup as described earlier (Eq. <xref ref-type="disp-formula" rid="Ch1.E16"/> and Sect. <xref ref-type="sec" rid="Ch1.S3.SS3.SSS1"/>).</p>
      <p id="d2e4734">It is recommended to run the LAGRANTO program <monospace>caltra</monospace> with the flag “-j” to prevent trajectories from intersecting with topography. WaterSip currently only works with the text-based output format of LAGRANTO. Since trajectory variables such as air temperature and specific humidity can be at any column in these files, the column number for each variable needs to be specified explicitly in the configuration file as parameters (Table <xref ref-type="table" rid="TB7"/>). The input path for LAGRANTO trajectory files is again specified using parameter inputDir in setting group Case of the configuration file, using a file name pattern with wildcard <monospace>%s</monospace> to match trajectory files to the desired date range.</p>
</sec>
<sec id="Ch1.S4.SS2">
  <label>4.2</label><title>Running the WaterSip diagnostic</title>
      <p id="d2e4753">The WaterSip code is written in the programming language C<inline-formula><mml:math id="M226" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>+</mml:mo></mml:mrow></mml:math></inline-formula>. A sample makefile is included with the code repository (<uri>https://git.app.uib.no/GFI-public/watersip</uri>, last access: 20 November 2025) <xref ref-type="bibr" rid="bib1.bibx44" id="paren.115"/> to compile the program code, and that users may adapt to their computational environment. Installed netCDF, netCDF-C<inline-formula><mml:math id="M227" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>+</mml:mo></mml:mrow></mml:math></inline-formula>, and netCDF-C<inline-formula><mml:math id="M228" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>+</mml:mo></mml:mrow></mml:math></inline-formula>4 libraries are in addition required to compile the program code. Lightweight parallelisation has been included by means of OpenMP directives in the code, but compiling with OpenMP is optional. Results of some performance tests are described in Sect. <xref ref-type="sec" rid="Ch1.S6.SS4"/>.</p>
      <p id="d2e4795">After compiling WaterSip, the input files need to be made available from an external source, such as running FLEXPART or LAGRANTO. The input data and configuration file for the test case in Scandinavia presented throughout this manuscript is available as a supplement to this manuscript <xref ref-type="bibr" rid="bib1.bibx43" id="paren.116"/>. A script is included with the test dataset that sets up a recommended directory structure to run WaterSip. Users are invited to experiment with the test case before creating their own setup to get familiar with the usage and output from WaterSip. When running an own case, the directory names for input and output data need to be specified in the configuration file. Then, all other configuration file settings, such as the time period, the target region, diagnostic parameters, need to be set by the user. Importantly, the sections in the configuration file specific for the used input data need to be included and edited to match the input data (Tables <xref ref-type="table" rid="TB6"/> and <xref ref-type="table" rid="TB7"/>).</p>
      <p id="d2e4805">To start a diagnostic run, the compiled WaterSip program is then executed from the command line. The name of the configuration file is the only argument that needs to be provided when WaterSip is started. WaterSip then starts executing, and provides either output to the terminal about the progress of the analysis, including a time estimate until completion, or an error message that will give an indication how the setup and configuration file need to be adjusted.</p>
</sec>
<sec id="Ch1.S4.SS3">
  <label>4.3</label><title>Output files</title>
      <p id="d2e4816">When a diagnostic run completes, a set of output files is written to the file location specified as parameter outputDir in the configuration file setting group Case. The main output files, containing gridded fields and time series for different averaging times (time step, daily, monthly, annually, all), are created in netCDF format (Table <xref ref-type="table" rid="T2"/>). In particular the grid files for days and time steps can become rather large for longer runs. The creation of gridded output files for selected averaging times can therefore be deactivated by setting the respective parameters in parameter set Output from 1 (true) to 0 (false, see Table <xref ref-type="table" rid="TB5"/>). The series files for different intervals contain time averages of the gridded fields, characterised by the precipitation-weighted mean of each quantity, the unweighted standard deviation, and the minimum and maximum values in the grid area. A sectorisation of the results into user-specified latitude/longitude regions are also contained in the series files (Sect. <xref ref-type="sec" rid="Ch1.S5.SS7"/>). Further output files comprise histogram files (Sect. <xref ref-type="sec" rid="Ch1.S5.SS8"/>) and trajectory files (Sect. <xref ref-type="sec" rid="Ch1.S5.SS9"/>).</p>

<table-wrap id="T2" specific-use="star"><label>Table 2</label><caption><p id="d2e4832">Description of the available output files in WaterSip, including file format, and file name semantics.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="justify" colwidth="2cm"/>
     <oasis:colspec colnum="2" colname="col2" align="justify" colwidth="6cm"/>
     <oasis:colspec colnum="3" colname="col3" align="justify" colwidth="1.5cm"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="5.5cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1" align="left">Name</oasis:entry>
         <oasis:entry colname="col2" align="left">Content</oasis:entry>
         <oasis:entry colname="col3" align="left">Format</oasis:entry>
         <oasis:entry colname="col4" align="left">Filename</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1" align="left">Grid files</oasis:entry>
         <oasis:entry colname="col2" align="left">Spatial properties of moisture sources and arrival regions</oasis:entry>
         <oasis:entry colname="col3" align="left">netCDF</oasis:entry>
         <oasis:entry colname="col4" align="left"><inline-formula><mml:math id="M229" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula>CASE<inline-formula><mml:math id="M230" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula>_grid_(all|year|month|day|step).nc</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1" align="left">Series and sectors files</oasis:entry>
         <oasis:entry colname="col2" align="left">Time series of the mean/min/max/std of regionally and globally averaged moisture source and arrival region properties and their separation according to source sectors</oasis:entry>
         <oasis:entry colname="col3" align="left">netCDF</oasis:entry>
         <oasis:entry colname="col4" align="left"><inline-formula><mml:math id="M231" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula>CASE<inline-formula><mml:math id="M232" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula>_secs_(all|year|month|day|step).nc</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1" align="left">Histogram files</oasis:entry>
         <oasis:entry colname="col2" align="left">Histograms of select quantities identified for each time step along each trajectory</oasis:entry>
         <oasis:entry colname="col3" align="left">text</oasis:entry>
         <oasis:entry colname="col4" align="left"><inline-formula><mml:math id="M233" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula>CASE<inline-formula><mml:math id="M234" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula>_hst_steps</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1" align="left">Trajectory files</oasis:entry>
         <oasis:entry colname="col2" align="left">Air parcel trajectories for identified precipitation events</oasis:entry>
         <oasis:entry colname="col3" align="left">binary (.traj)</oasis:entry>
         <oasis:entry colname="col4" align="left"><inline-formula><mml:math id="M235" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula>CASE<inline-formula><mml:math id="M236" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula>_<inline-formula><mml:math id="M237" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula>DATE<inline-formula><mml:math id="M238" display="inline"><mml:mo>&gt;</mml:mo></mml:math></inline-formula>(.traj)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e4996">Which variables are contained in the output files can be controlled by the parameters in setting group Variables in the configuration file (Table <xref ref-type="table" rid="TB5"/>). Output variables are included in the output by setting the corresponding parameter values from 0 to 1. Users can also choose to include static fields, such as topography or the land-sea mask using parameter staticFields. The choice in the setting group Variables affects both grid and series files. If output is activated for variables that are not contained in the input file, WaterSip calculates these from the available information if possible, and otherwise fills in missing values during output. Finally, WaterSip can optionally write out air parcel trajectories in a compact binary format to inspect the result of the moisture diagnostics in detail for individual air parcels (Sect. <xref ref-type="sec" rid="Ch1.S5.SS9"/>).</p>
</sec>
<sec id="Ch1.S4.SS4">
  <label>4.4</label><title>Example run configuration</title>
      <p id="d2e5012">To exemplify the use of the WaterSip diagnostic, a case study for a 10 d Northern Hemisphere summer period (5 to 15 August 2022) over Scandinavia is now presented. The weather situation during the period was characterised by westerly flow, which was steered to higher latitudes by a high pressure system over Eastern Europe. This flow configuration brought several low-pressure systems from the North Atlantic from southwesterly directions towards the Norwegian coast and land areas downstream, which then shed precipitation over Scandinavia.</p>
      <p id="d2e5015">In order to obtain the required input data for the WaterSip diagnostic, the FLEXPART particle dispersion model in Version 10.4 was run with input fields from the ERA5 reanalysis for a Northern Hemisphere domain with 10 000 000 particles in domain filling mode. The simulation was initialised on 00:00 UTC on 15 July 2022 and run forward for 31 d until 00:00 UTC on 15 August 2022. FLEXPART particle output files (see Data availability section) contain latitude, longitude, height, air temperature, specific humidity, boundary-layer height, and air density at each particle's location, as well as skin temperature, 2 m specific humidity and topography height below the particle. WaterSip was then configured to identify the moisture source and transport properties for a time period of 10 days (5 to 15 August 2022) in the region 54–71° N and 4–32° E. A 6 h time step, 20 d backward tracing, and threshold parameter values RH<inline-formula><mml:math id="M239" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">80</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M240" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M241" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">g</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">kg</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">6</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">h</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> were used for identifying moisture uptakes and losses along the trajectories. Output was activated for all available variables and time steps. The WaterSip setup and output files for this example run are available with the sample data <xref ref-type="bibr" rid="bib1.bibx43" id="paren.117"/>.</p>
</sec>
</sec>
<sec id="Ch1.S5">
  <label>5</label><title>Diagnosed moisture source, transport and arrival properties</title>
      <p id="d2e5091">The following sections describe the different output fields that characterise and quantify conditions at the moisture source, during moisture transport, and during the arrival of the moisture as part of the output. The results and interpretation are thereby exemplified using the case study setup over Scandinavia as described above.</p>
<sec id="Ch1.S5.SS1">
  <label>5.1</label><title>Moisture source quantities</title>
      <p id="d2e5102">The most fundamental result of the moisture source diagnostic are the moisture sources, that is the spatial distribution of the moisture uptakes that contribute to precipitation in the target region. Figure <xref ref-type="fig" rid="F2"/> shows an example for the total moisture sources of precipitation in a arrival domain over Scandinavia (yellow frame). This moisture source area (shading) may be interpreted as the subset of all evaporation at the moisture sources that ends up as precipitation in the target region. The units of <inline-formula><mml:math id="M242" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">kg</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">m</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, also corresponding to <inline-formula><mml:math id="M243" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>, are obtained from gridding the contribution of moisture uptakes to precipitation in the target region (<inline-formula><mml:math id="M244" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>). When integrated spatially, taking the area of each source grid box into account, one obtains the total precipitation mass in the target area during this time interval. If divided by the target area, the precipitation rate for the analysis period then corresponds exactly to the value of the Lagrangian precipitation estimate (see Sect. <xref ref-type="sec" rid="Ch1.S5.SS3"/>).</p>
      <p id="d2e5172">In the example case, the largest contributions to precipitating water come from southern Scandinavia and the western North Atlantic,  but the moisture sources also stretch into Central and Eastern Europe (Fig. <xref ref-type="fig" rid="F2"/>a, grey to red areas). In addition, a large area is covered by moisture uptakes with 0.25 mm d<sup>−1</sup> or less (blue shading), reaching deep into continental North America. In the example here, the gridding radius on the global maps with a 1.0 <inline-formula><mml:math id="M246" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 1.0° spacing was set to 120 km (see Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>). A coarser grid spacing and a larger gridding radius would give more smoothed output fields. It is important to consider that a large area with relatively small contributions can still be an overall important moisture source. To quantify the overall contributions for different areas, the source contributions can be averaged within predefined geographic sectors (Sect. <xref ref-type="sec" rid="Ch1.S5.SS7"/>).</p>
      <p id="d2e5200">The interpretation of moisture source maps can be greatly facilitated in a percentile representation <xref ref-type="bibr" rid="bib1.bibx21 bib1.bibx22" id="paren.118"/>. This can be obtained by determining, for example, the 50th and 80th percentiles of the accumulated moisture source contributions, sorted from largest to smallest grid point values. Such a percentile representation is particularly helpful to compare the shape of a moisture source footprint across different events or seasons. In this example case, the 50th and 80th percentile contours for the total moisture source footprint (Fig. <xref ref-type="fig" rid="F2"/>a, solid and dotted red lines) highlight that almost half of the precipitation is contributed by areas bounded by the orange shading (contour value 0.06 mm d<sup>−1</sup>), and the large majority is bound by the light blue area (contour value 0.24 mm d<sup>−1</sup>).</p>
      <p id="d2e5232">The moisture source detection algorithm distinguishes between uptakes that take place within or close to the boundary layer top, and those that are in the free troposphere, above the boundary layer. For the example case, the moisture sources in the boundary layer dominate (Fig. <xref ref-type="fig" rid="F2"/>b), while the free-troposphere moisture sources supplement the boundary-layer uptakes over the North Atlantic and Central Europe (Fig. <xref ref-type="fig" rid="F2"/>c). The collocation of free-troposphere and boundary-layer sources for this event suggests that boundary-layer air may have been vented, moistening the free troposphere. The interpretation could therefore for this case focus on the total moisture uptakes <xref ref-type="bibr" rid="bib1.bibx22" id="paren.119"/>.</p>
      <p id="d2e5243">The moisture source footprint is here compared to the result of the <xref ref-type="bibr" rid="bib1.bibx53" id="text.120"/> method  for the same case (Fig. <xref ref-type="fig" rid="F2"/>d). The vertical integral of <inline-formula><mml:math id="M249" display="inline"><mml:mrow><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula> of all the particle trajectories over 10 d (the quantity <inline-formula><mml:math id="M250" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">20</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> introduced by <xref ref-type="bibr" rid="bib1.bibx54" id="text.121"/> shows patches where evaporation dominates (red shading) and where precipitation dominates (blue shading). While evaporation regions dominate further away, precipitation overcompensates north of Iceland and over the arrival domain, masking potential evaporation from these regions. The presence of such compensating effects, as well as the strong dependency on a selected time scale (not illustrated here), are two of the most important differences compared to the results from the <xref ref-type="bibr" rid="bib1.bibx48" id="text.122"/> algorithm. The red contours, indicating the 50th and 80th percentile of total moisture sources from WaterSip, further underline the differences between the results from the two methods.</p>

      <fig id="F2" specific-use="star"><label>Figure 2</label><caption><p id="d2e5295">Source grid quantities identified for the case study period in 2022. <bold>(a)</bold> Total moisture uptakes (shading, mm d<sup>−1</sup>), <bold>(b)</bold> Boundary-layer moisture uptakes (shading, mm d<sup>−1</sup>), <bold>(c)</bold> Free-troposphere moisture uptakes (shading, mm d<sup>−1</sup>), <bold>(d)</bold> Lagrangian evaporation minus precipitation budget over 20 d (<inline-formula><mml:math id="M254" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mrow><mml:mn mathvariant="normal">20</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">d</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:math></inline-formula> in mm d<sup>−1</sup>, shading),  following <xref ref-type="bibr" rid="bib1.bibx54" id="text.123"/>. Red contours indicate the 50th (solid) and 80th (dotted) percentile of the total moisture uptakes from WaterSip. Yellow box denotes the target region over Scandinavia. Regions with moisture uptakes of less than <inline-formula><mml:math id="M256" display="inline"><mml:mrow><mml:mn mathvariant="normal">3</mml:mn><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> are masked out.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f02.png"/>

        </fig>

      <p id="d2e5409">In addition to providing the moisture source footprint for an entire analysis period, the WaterSip diagnostic provides gridded moisture sources for each time step in the steps grid file (Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/> and Table <xref ref-type="table" rid="T2"/>). At 06:00 UTC on 10 August 2022, the precipitation in the target area was sourced from a rather large banded region stretching across the North Atlantic, and reaching into Eastern North America (Fig. <xref ref-type="fig" rid="F3"/>a). This map shows the moisture uptakes corresponding to precipitation on that day in the arrival region. If one wants to compare the moisture uptakes directly with, for example, gridded evaporation fields, one can use the parameter assignToUptake (Sect. <xref ref-type="sec" rid="Ch1.S3.SS4"/>). The corresponding plot for uptakes on 06:00 UTC at 10 August 2022 shows all evaporating moisture at the synoptically valid time, irrespective of when it will precipitate over the target area. In the given example, relevant uptakes at that time are detected south of Iceland, over Scandinavia, and over western Eurasia (Fig. <xref ref-type="fig" rid="F3"/>b). The moisture from uptakes at that time will end up as precipitation over the target area at a later time.</p>

      <fig id="F3" specific-use="star"><label>Figure 3</label><caption><p id="d2e5424">Instantaneous snapshot of source grid quantities identified during the case study period with different assignment times. <bold>(a)</bold> Total moisture uptakes arriving in the target area on 06:00 UTC at 10 August 2022 (shading, mm d<sup>−1</sup>), <bold>(b)</bold> Total moisture uptakes taking place on 06:00 UTC at 10 August 2022 (shading, mm d<sup>−1</sup>). Yellow box denotes the target region over Scandinavia.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f03.png"/>

        </fig>

</sec>
<sec id="Ch1.S5.SS2">
  <label>5.2</label><title>Transport quantities</title>
      <p id="d2e5471">A number of additional quantities that are indicative of the moisture transport conditions can be obtained on the same grid as the moisture source information. These so-called transport quantities can support the interpretation of the obtained moisture sources in various ways.</p>
      <p id="d2e5474">The transport pathways of air parcels towards the target region are visible from the particle mass density (Fig. <xref ref-type="fig" rid="F4"/>a). The particle mass density is an integral of the pathways of all particles' mass bound to the target region in a given time interval. It is obtained by gridding <inline-formula><mml:math id="M259" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>/</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:math></inline-formula> for all time steps of a trajectory. The example case shows the relatively large overall area from where air parcels originate in a 20 d time frame, and the important role of Greenland's topography for guiding the air parcel transport. The quantity “moisture transport” shows the water vapour movement in these air parcels towards the target area. The moisture transport field is obtained by gridding the water mass in tracked air parcels on the way to the target area using <inline-formula><mml:math id="M260" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>/</mml:mo><mml:mi>L</mml:mi></mml:mrow></mml:math></inline-formula> for each time step. For the example case, the moisture transport map highlights a dense area of moist air west and south of the target area, and where the moist air crosses the North Atlantic and advances towards the target area (Fig. <xref ref-type="fig" rid="F4"/>b). This map can be interpreted as a share of total column water bound to the Scandinavia domain. In combination, these two transport quantities allow one to assess the main pathways of air mass transport and the differences to moist air advection to the target region.</p>
      <p id="d2e5518">Decreases of specific humidity in air parcels during transport can be due to either precipitation events or mixing with drier air (Sect. <xref ref-type="sec" rid="Ch1.S2"/>). The moisture rainout field contains the amount of humidity lost from trajectories that are identified when <inline-formula><mml:math id="M261" display="inline"><mml:mrow><mml:msub><mml:mtext>RH</mml:mtext><mml:mi>i</mml:mi></mml:msub><mml:mo>≥</mml:mo><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> from the diagnostic, gridded using <inline-formula><mml:math id="M262" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> along each trajectory. In the example case, moisture rainout events are concentrated over the arrival domain and narrow transport pathways over the North Atlantic and east of Greenland (Fig. <xref ref-type="fig" rid="F4"/>d), probably related to precipitation formation in air masses that ascend as they approach the target area. In contrast, mixing events are identified as moisture decreases if <inline-formula><mml:math id="M263" display="inline"><mml:mrow><mml:msub><mml:mtext>RH</mml:mtext><mml:mi>i</mml:mi></mml:msub><mml:mo>&lt;</mml:mo><mml:msub><mml:mtext>RH</mml:mtext><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, and also gridded using <inline-formula><mml:math id="M264" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>. Both quantities are therefore easy to relate to the <inline-formula><mml:math id="M265" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>e</mml:mi><mml:mo>-</mml:mo><mml:mi>p</mml:mi><mml:msub><mml:mo>)</mml:mo><mml:mtext>20 d</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> field (Fig. <xref ref-type="fig" rid="F2"/>d). For the present example case, air mass mixing is mostly identified over continental North America and over Central Europe (Fig. <xref ref-type="fig" rid="F2"/>c).  It is interesting to note that for this case only a small part of the events are classified as mixing, while the large majority are rainout events. Note that it does not make a difference to the source identification and accounting whether a specific humidity decrease is classified as a mixing or as a rainout event.</p>

      <fig id="F4" specific-use="star"><label>Figure 4</label><caption><p id="d2e5628">Transport quantities identified within air masses bound to the target region for the entire case study period. <bold>(a)</bold> Particle mass density (shading, kg m<sup>−2</sup>), <bold>(b)</bold> moisture transport (shading, mm), <bold>(c)</bold> air mass mixing (shading, mm d<sup>−1</sup>), <bold>(d)</bold> moisture rainout (shading, mm d<sup>−1</sup>). Yellow box denotes the target region over Scandinavia.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f04.png"/>

        </fig>

</sec>
<sec id="Ch1.S5.SS3">
  <label>5.3</label><title>Moisture arrival quantities</title>
      <p id="d2e5694">For larger target areas, there can be spatial differences in the atmospheric conditions during air parcel arrival within the domain. It can be interesting to investigate different quantities that are connected to the arrival of air parcel trajectories. These quantities are termed here arrival quantities.</p>
      <p id="d2e5697">One of the most important arrival quantities is the Lagrangian precipitation estimate <inline-formula><mml:math id="M269" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> (Sect. <xref ref-type="sec" rid="Ch1.S2.SS2"/>). In the example case, there are clear distinctions between the coastal regions of western Scandinavia with an estimated precipitation of above 6 mm d<sup>−1</sup>, and large parts of the Baltic Sea, southern Sweden and Finland with below 2 mm d<sup>−1</sup> during the case study period of 5–15 August 2022 (Fig. <xref ref-type="fig" rid="F5"/>a, shading). The diagnosed precipitation pattern corresponds qualitatively to ERA5 simulated precipitation during the period (white contours), even though the domain average during the period is about 25 % larger in ERA5 (2.43 mm d<sup>−1</sup> compared to 2.07 mm d<sup>−1</sup>). A direct comparison of the two fields shows that <inline-formula><mml:math id="M274" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> is more smoothed out compared to the sharper pattern in ERA5 (Fig. <xref ref-type="fig" rid="FA1"/>). Regions with high <inline-formula><mml:math id="M275" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> approximately correspond to locations where more air parcels arrive that precipitate according to the selection criteria, as reflected by the arrival count (Fig. <xref ref-type="fig" rid="F5"/>d). In regions where only few air parcels contribute to arrival quantities, gridded results may show large spatial variations that are not statistically robust. The arrival count can be used for masking such grid points.</p>
      <p id="d2e5787">Another set of important arrival quantities are the accounted fractions (Sect. <xref ref-type="sec" rid="Ch1.S2.SS3"/>). The total accounted fraction in the example case is uniformly above 95 % (Fig. <xref ref-type="fig" rid="F5"/>f). Subdividing this quantity into the fractions accounted for by boundary layer uptakes (Fig. <xref ref-type="fig" rid="F5"/>d) and free troposphere uptakes (Fig. <xref ref-type="fig" rid="F5"/>e) shows a uniform split into approximately 60 %–70 % boundary layer and 30 %–40 % free troposphere contributions. These shares appear consistent with the corresponding moisture source maps (Fig. <xref ref-type="fig" rid="F2"/>b, c).</p>
      <p id="d2e5800">In addition, some thermodynamic conditions of the air parcels at the time of arrival over the target domain are gridded onto the arrival grid. For example, the arrival temperature is the temperature of each air parcel at arrival, gridded using weights corresponding to <inline-formula><mml:math id="M276" display="inline"><mml:mrow><mml:msubsup><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> at arrival grid location <inline-formula><mml:math id="M277" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> for the total accounted fraction:

            <disp-formula id="Ch1.E19" content-type="numbered"><label>19</label><mml:math id="M278" display="block"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>arr</mml:mtext></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="italic">λ</mml:mi><mml:mo>,</mml:mo><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>K</mml:mi></mml:msubsup><mml:msubsup><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn><mml:mi>k</mml:mi></mml:msubsup><mml:mo>⋅</mml:mo><mml:msubsup><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mtext>tot</mml:mtext><mml:mi>k</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e5901">In the case of water vapour diagnostics, weighting is instead done using the air parcel specific humidity (Sect. <xref ref-type="sec" rid="Ch1.S3.SS1.SSS5"/>). In the present example, arrival temperatures vary between about 0 and 8 °C (Fig. <xref ref-type="fig" rid="F5"/>c). Thereby, regions where most precipitation fell have arrival temperatures that are lowest, with 0–2 °C. The air pressure at arrival is also available as gridded quantity (not shown, Table <xref ref-type="table" rid="TD2"/>).</p>

      <fig id="F5" specific-use="star"><label>Figure 5</label><caption><p id="d2e5912">Arrival quantities identified for the example case in 2022. <bold>(a)</bold> Lagrangian precipitation estimate <inline-formula><mml:math id="M279" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> (mm d<sup>−1</sup>), <bold>(b)</bold> arrival count (shading, 1), <bold>(c)</bold> arrival temperature (shading, °C), <bold>(d)</bold> accounted fraction of <inline-formula><mml:math id="M281" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> from boundary-layer uptakes (shading, %), <bold>(e)</bold> accounted fraction of <inline-formula><mml:math id="M282" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> from free-troposphere uptakes (shading, %), <bold>(f)</bold> total accounted fraction of <inline-formula><mml:math id="M283" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> (shading, %). Quantities in <bold>(c)</bold>–<bold>(f)</bold> are weighted averages, using the specific humidity decrease during the last time step before arrival as a weight.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f05.png"/>

        </fig>


</sec>
<sec id="Ch1.S5.SS4">
  <label>5.4</label><title>Lagrangian forward projection of moisture source quantities</title>
      <p id="d2e6010">As WaterSip identifies the location of a moisture source, different properties of the source region can be computed, such as the average sea surface temperature, or its latitude and longitude. In particular for larger arrival regions, and for those that contain geographic or climatic gradients, the source region location and its properties may vary substantially within the arrival domain. In order to make such spatial differences in the source region properties visible, WaterSip provides Lagrangian forward projections (LFPs) of the source region properties on a spatial grid covering the arrival domain.</p>
      <p id="d2e6013">LFPs are obtained as the weighted average of a given moisture source property for each trajectory. The weighted average is then gridded on the arrival grid, weighted by  <inline-formula><mml:math id="M284" display="inline"><mml:mrow><mml:msup><mml:mi>f</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>. Thus, for each trajectory <inline-formula><mml:math id="M285" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>, a moisture source or transport quantity <inline-formula><mml:math id="M286" display="inline"><mml:mi mathvariant="italic">ζ</mml:mi></mml:math></inline-formula> is transferred from the geographic uptake location  <inline-formula><mml:math id="M287" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">u</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">u</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> to the geographic location at the arrival region <inline-formula><mml:math id="M288" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> using the fractional contributions <inline-formula><mml:math id="M289" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> obtained from the accounting step as a weight, and resulting in LFP quantity <inline-formula><mml:math id="M290" display="inline"><mml:mover accent="true"><mml:mi mathvariant="italic">ζ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> for air parcel <inline-formula><mml:math id="M291" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>:

            <disp-formula id="Ch1.E20" content-type="numbered"><label>20</label><mml:math id="M292" display="block"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mi mathvariant="italic">ζ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>U</mml:mi></mml:msubsup><mml:msup><mml:mi mathvariant="italic">ζ</mml:mi><mml:mi>k</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">u</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">u</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>U</mml:mi></mml:msubsup><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e6212">Hereby, <inline-formula><mml:math id="M293" display="inline"><mml:mi>U</mml:mi></mml:math></inline-formula> is again the number of all moisture uptake events identified along trajectory <inline-formula><mml:math id="M294" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>. The different <inline-formula><mml:math id="M295" display="inline"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mi mathvariant="italic">ζ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> are then again gridded using Eq. (<xref ref-type="disp-formula" rid="Ch1.E19"/>). In creating LFPs, an important choice is whether the total accounted fraction of the precipitation estimate is used in the gridding, or only the boundary layer or free troposphere fraction. Parameter forwardProjectionMode in parameter section Diagnostics determines this choice (1: boundary layer, 2: free troposphere, 3: total fraction).</p>
      <p id="d2e6245">For the case study over Scandinavia, the mass-weighted moisture source latitude (centroid latitude) ranges from 50–60° N, with a clear latitudinal gradient (Fig. <xref ref-type="fig" rid="F6"/>a). Corresponding moisture source longitudes range from <inline-formula><mml:math id="M296" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>60 to 40° E (Fig. <xref ref-type="fig" rid="F6"/>b). The source distance map for the example case shows a similar pattern as the source longitude, with more nearby sources (<inline-formula><mml:math id="M297" display="inline"><mml:mo lspace="0mm">&lt;</mml:mo></mml:math></inline-formula> 1500 km) over Denmark and southern Sweden in the southwest, and patches of more long-distant transport (<inline-formula><mml:math id="M298" display="inline"><mml:mo lspace="0mm">&gt;</mml:mo></mml:math></inline-formula> 3500 km) in the north of the domain (Fig. <xref ref-type="fig" rid="F6"/>c). The distance of the moisture sources is computed as a spherical distance for each uptake location and then gridded according to Eq. (<xref ref-type="disp-formula" rid="Ch1.E20"/>). These examples already illustrate how forward projections of source region properties provide insight into the spatial variability within the arrival domain. When used on large (global) domains, Lagrangian forward projections can provide interesting hydro-climatic insights <xref ref-type="bibr" rid="bib1.bibx31 bib1.bibx42" id="paren.124"/>.</p>
      <p id="d2e6282">The source land fraction (Fig. <xref ref-type="fig" rid="F6"/>d) reveals a northwest-southeast oriented gradient in  land uptakes. While land sources in the northwest of the domain are <inline-formula><mml:math id="M299" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 30 %, their share reaches above 80 % over the Baltic states. The fraction of land sources is obtained from evaluating a land-sea mask at the locations below the moisture uptakes. In the case where the mask file contains fractional land cover information, values above a threshold of <inline-formula><mml:math id="M300" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.5</mml:mn></mml:mrow></mml:math></inline-formula> will classify the source location as land.</p>

      <fig id="F6" specific-use="star"><label>Figure 6</label><caption><p id="d2e6306">Lagrangian forward projection of source quantities for the example case in 2022. <bold>(a)</bold> Moisture source latitude (shading, ° N), <bold>(b)</bold> moisture source longitude (shading, ° E), <bold>(c)</bold> moisture source distance (shading, km), <bold>(d)</bold> moisture source land fraction (shading, %), <bold>(e)</bold> moisture source skin temperature (shading, °C), <bold>(f)</bold> <inline-formula><mml:math id="M301" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>-excess of water vapour at the moisture source following <xref ref-type="bibr" rid="bib1.bibx38" id="text.125"/> (shading, ‰). All quantities are weighted averages, using the Lagrangian precipitation estimate <inline-formula><mml:math id="M302" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover></mml:math></inline-formula> as a weight.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f06.png"/>

        </fig>

      <p id="d2e6354">The moisture source temperature is obtained here from the skin temperature (SST over ocean regions, SKT over land) using Eq. (<xref ref-type="disp-formula" rid="Ch1.E20"/>) (Fig. <xref ref-type="fig" rid="F6"/>e). For the present case, moisture source temperatures are warmest in regions where land sources dominate with up to 22 °C. Additionally, the LFP of moisture source relative humidity, air pressure at the sources, and specific humidity at 2 m (<inline-formula><mml:math id="M303" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mtext>2 m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>) at the sources may be available, depending on what has been written out to the FLEXPART and LAGRANTO input files (Table <xref ref-type="table" rid="TD1"/>).</p>
      <p id="d2e6374">Stable water isotopes are an important diagnostic in moisture source analyses <xref ref-type="bibr" rid="bib1.bibx1" id="paren.126"><named-content content-type="pre">e.g.,</named-content></xref>. Measurements of the secondary water isotope parameter <inline-formula><mml:math id="M304" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>-excess can reflect the relative humidity environment during evaporation. In the case that SKT and <inline-formula><mml:math id="M305" display="inline"><mml:mrow><mml:msub><mml:mi>q</mml:mi><mml:mtext>2 m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> or RH and <inline-formula><mml:math id="M306" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mtext>2 m</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> are available on the input files, an approximation for the stable water isotope parameter <inline-formula><mml:math id="M307" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>-excess at the moisture sources <inline-formula><mml:math id="M308" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mtext>src</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> can be computed from the relation of <xref ref-type="bibr" rid="bib1.bibx38" id="text.127"/>:

            <disp-formula id="Ch1.E21" content-type="numbered"><label>21</label><mml:math id="M309" display="block"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mtext>src</mml:mtext></mml:msub><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">0.54</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">‰</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="italic">%</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>⋅</mml:mo><mml:msub><mml:mtext>RH</mml:mtext><mml:mtext>SST</mml:mtext></mml:msub><mml:mo>+</mml:mo><mml:mn mathvariant="normal">48.2</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">‰</mml:mi></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e6477">Thereby, the relative humidity with respect to SST (RH<sub>SST</sub>) is obtained using saturation vapour pressure according to <xref ref-type="bibr" rid="bib1.bibx20" id="text.128"/>. For the example case, the computed <inline-formula><mml:math id="M311" display="inline"><mml:mrow><mml:msub><mml:mi>d</mml:mi><mml:mtext>src</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> shows a gradient that mirrors land properties, with higher values (8 ‰–10 ‰) where land sources dominate, while ocean source dominated regions show with <inline-formula><mml:math id="M312" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 4 ‰ values below the global average in precipitation of 10 ‰ <xref ref-type="bibr" rid="bib1.bibx2" id="paren.129"/>. The <inline-formula><mml:math id="M313" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>-excess parameter is both an interesting diagnostic for paleoclimatic studies, and can be used to relate moisture transport to water isotope measurements on meteorological time scales <xref ref-type="bibr" rid="bib1.bibx62" id="paren.130"><named-content content-type="pre">e.g.,</named-content></xref>.</p>
</sec>
<sec id="Ch1.S5.SS5">
  <label>5.5</label><title>Lagrangian forward projection of moisture transport quantities</title>
      <p id="d2e6534">In a similar way as moisture source quantities (Eq. <xref ref-type="disp-formula" rid="Ch1.E20"/>), it is possible to project transport quantities onto the arrival region. The only difference is that all trajectory points, and not just the uptake points are included, using the current accounted fraction. For example, <inline-formula><mml:math id="M314" display="inline"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mi mathvariant="italic">ξ</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>, the forward projected moisture transport temperature valid during arrival of air parcel <inline-formula><mml:math id="M315" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> is obtained by averaging the air parcel quantity <inline-formula><mml:math id="M316" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">ξ</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> along the entire transport path of <inline-formula><mml:math id="M317" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> time steps, using the explained fraction at step <inline-formula><mml:math id="M318" display="inline"><mml:mrow><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> as a weight:

            <disp-formula id="Ch1.E22" content-type="numbered"><label>22</label><mml:math id="M319" display="block"><mml:mrow><mml:msup><mml:mover accent="true"><mml:mi mathvariant="italic">ξ</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover><mml:mi>k</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:msubsup><mml:msubsup><mml:mi mathvariant="italic">ξ</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup><mml:mo>⋅</mml:mo><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow><mml:mi>N</mml:mi></mml:msubsup><mml:msubsup><mml:mi>f</mml:mi><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e6674">The LFP of the moisture transport temperature obtained this way shows relatively warm transport for the majority of air masses between 6–12 °C (Fig. <xref ref-type="fig" rid="F7"/>a). In comparison, the condensation temperature, computed as transport temperature conditioned on RH <inline-formula><mml:math id="M320" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">80</mml:mn><mml:mi mathvariant="italic">°</mml:mi></mml:mrow></mml:math></inline-formula>C, shows that saturation is reached at colder and more variable temperatures of between 2–8 °C throughout the domain (Fig. <xref ref-type="fig" rid="F7"/>b). Comparison to the transport pressure shows transport at higher pressures in the regions of warmer condensation temperatures, with air pressure of above 990 hPa  over the Norwegian Sea, compared to <inline-formula><mml:math id="M321" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 950 hPa over the Baltic Sea (Fig. <xref ref-type="fig" rid="F7"/>c).</p>
      <p id="d2e6702">A quantity that allows to inspect the time scale of moisture transport is the transport time, obtained as the difference between the time of each uptake event and the corresponding arrival time. For the example case, the transport time shows the largest values with 5–7 d in northern Scandinavia, whereas Denmark and southern Sweden have transport times of 3 d and below (Fig. <xref ref-type="fig" rid="F7"/>d). The transport time in this case thus bears similarities with the transport distance (Fig. <xref ref-type="fig" rid="F7"/>e) and the direct source distance map (Fig. <xref ref-type="fig" rid="F6"/>c). In contrast to the moisture source distance, the transport distance is obtained as the total distance along an air parcel trajectory. The difference plot between both distance quantities underlines that the transport distance is always larger than the source distance, and more so for regions where transport takes more time, with a differences of up to 2000 km in Northern Scandinavia (Fig. <xref ref-type="fig" rid="F7"/>f). In combination, these transport quantities enable one to interpret the transported moisture in terms of processes that occurred underway from source to sink. Such information can for example be relevant for understanding changes of isotope composition and the mixing with other air masses. For more detailed discussion of the transport time from WaterSip, see <xref ref-type="bibr" rid="bib1.bibx42" id="text.131"/> and <xref ref-type="bibr" rid="bib1.bibx23" id="text.132"/>.</p>

      <fig id="F7" specific-use="star"><label>Figure 7</label><caption><p id="d2e6723">Lagrangian forward projection of transport quantities for the example case in 2022. <bold>(a)</bold> transport temperature (shading, °C), <bold>(b)</bold> condensation temperature (shading, °C), <bold>(c)</bold> transport pressure (shading, hPa), <bold>(d)</bold> transport time (shading, days), <bold>(e)</bold> transport distance (km), and <bold>(f)</bold> difference between transport and source distance (km). All quantities are weighted averages, using the Lagrangian precipitation estimate <inline-formula><mml:math id="M322" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> as a weight.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f07.png"/>

        </fig>

</sec>
<sec id="Ch1.S5.SS6">
  <label>5.6</label><title>Time series of diagnostic quantities</title>
      <p id="d2e6769">The temporal evolution of different diagnostic quantities in the arrival domain can provide further insight into moisture transport dynamics. WaterSip provides time series output of all arrival and forward-projected source (<inline-formula><mml:math id="M323" display="inline"><mml:mi mathvariant="italic">ζ</mml:mi></mml:math></inline-formula>) and transport quantities (<inline-formula><mml:math id="M324" display="inline"><mml:mi mathvariant="italic">ξ</mml:mi></mml:math></inline-formula>) described above (Sect. <xref ref-type="sec" rid="Ch1.S5.SS3"/>–<xref ref-type="sec" rid="Ch1.S5.SS5"/>). Thereby, the mean, median, and the maximum and minimum value are reported for different integration times, from the trajectory time step to daily, monthly, yearly, and the entire analysis time period (Table <xref ref-type="table" rid="T2"/>). Longitude is thereby converted to a Cartesian grid for the averaging operation. Averaging over time steps is done by weighting the contribution at each time step <inline-formula><mml:math id="M325" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> of the analysis period with the corresponding precipitation estimate <inline-formula><mml:math id="M326" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> at grid location <inline-formula><mml:math id="M327" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, and dividing by the total of the precipitation estimate for a given averaging period <inline-formula><mml:math id="M328" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula>:

            <disp-formula id="Ch1.E23" content-type="numbered"><label>23</label><mml:math id="M329" display="block"><mml:mrow><mml:mover accent="true"><mml:mi mathvariant="italic">ζ</mml:mi><mml:mo mathvariant="normal">‾</mml:mo></mml:mover><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>T</mml:mi></mml:msubsup><mml:msub><mml:mi mathvariant="italic">ζ</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>⋅</mml:mo><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:msubsup><mml:mo>∑</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow><mml:mi>T</mml:mi></mml:msubsup><mml:msub><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mi>i</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:math></disp-formula></p>
      <p id="d2e6967">Time series of <inline-formula><mml:math id="M330" display="inline"><mml:mover accent="true"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> of the case study obtained this way show a pronounced precipitation maximum in the first half of the study period on 5 to 7 August 2022 with 1.0 mm (6 h)<sup>−1</sup> (Fig. <xref ref-type="fig" rid="F8"/>a, black solid line). A second maximum occurred with about 0.8 mm (6 h)<sup>−1</sup> on 10 August 2022. The ERA5 precipitation shows that WaterSip underestimates domain average precipitation during these periods, but not during weaker rainfall events (Fig. <xref ref-type="fig" rid="F8"/>a, blue line). The standard deviation of the precipitation estimate in the arrival domain reflects some of the peak values present in ERA5 (dashed line).</p>

      <fig id="F8" specific-use="star"><label>Figure 8</label><caption><p id="d2e7013">Time series output from WaterSip for the Scandinavian precipitation from 5–15 August 2022 for the variables <bold>(a)</bold> precipitation estimate <inline-formula><mml:math id="M333" display="inline"><mml:mover accent="true"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo stretchy="false" mathvariant="normal">̃</mml:mo></mml:mover><mml:mo mathvariant="normal">‾</mml:mo></mml:mover></mml:math></inline-formula> (mm (6 h)<sup>−1</sup>, black line) and ERA5 simulated precipitation (thick blue line), <bold>(b)</bold> transport distance (10<sup>3</sup> km), <bold>(c)</bold> source land fraction (%), <bold>(d)</bold> source latitude (° N). Each panel shows the weighted mean (solid line) and unweighted 1<inline-formula><mml:math id="M336" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> standard deviation (dashed lines) over the arrival grid.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f08.png"/>

        </fig>

      <p id="d2e7077">The period with most intense precipitation was associated with gradually shorter transport distances of less than 3000 km (Fig. <xref ref-type="fig" rid="F8"/>b). Land sources were dominating in the first period, with a fraction up to 60 % on 6 August 2022, compared to below 30 % on 12 August 2022 (Fig. <xref ref-type="fig" rid="F8"/>c). Source latitudes were more northerly during the first half of the case study, and dropped to below 50° N on 10 August 2022 (Fig. <xref ref-type="fig" rid="F8"/>d). Both characteristics match well with the moisture source snapshot for that day (Fig. <xref ref-type="fig" rid="F3"/>a).</p>
      <p id="d2e7088">During the forward projection, some grid points have only a very small number of trajectories arriving, which can then lead to relatively large grid maximum and minimum values compared to the overall spread. For some applications, a more refined statistical quantification of the gridded fields may be required, for example such as excluding grid locations below a minimal precipitation estimate. In such a case, users may choose to output the gridded fields for every time step, and then follow up with their own post-processing steps.</p>
</sec>
<sec id="Ch1.S5.SS7">
  <label>5.7</label><title>Sectorisation of source region maps</title>
      <p id="d2e7099">Another post-processing available within WaterSip is the option to categorise the moisture source maps by geographic domains, the so-called sectorisation <xref ref-type="bibr" rid="bib1.bibx46" id="paren.133"/>. During sectorisation, the coordinates of each uptake in the boundary layer and free troposphere are checked to be within a set of <inline-formula><mml:math id="M337" display="inline"><mml:mi>J</mml:mi></mml:math></inline-formula> latitude and longitude bounds <inline-formula><mml:math id="M338" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:msub><mml:mi mathvariant="italic">λ</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">ϕ</mml:mi><mml:mi>j</mml:mi></mml:msub><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, which define the source sectors <inline-formula><mml:math id="M339" display="inline"><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>. The geographic bounds of each sector are implemented in the program code as a function that returns the sector number corresponding to a given geographic coordinate. Currently, 11 different sectorisations are available in WaterSip (Table <xref ref-type="table" rid="TC1"/>). Implementing additional sectors requires users to modify the WaterSip code. Further details are given in the Appendix <xref ref-type="sec" rid="App1.Ch1.S3"/>.</p>
      <p id="d2e7150">The output from the sectorisation is included in the time series files (Table <xref ref-type="table" rid="TD3"/>). All quantities available on the source and transport grids contain an additional dimension for the sector number. Furthermore, quantities are given for land regions only, sea only, and for the total. This allows to define relatively simple geographic sector shapes that still make the important distinction between land and ocean regions, based on the land-surface information provided to WaterSip. The sector areas are also available to convert the fractional output to mass units.</p>
      <p id="d2e7155">For the case study over Scandinavia, the sectorisation “Norway” has been chosen, which includes 8 latitude sectors (Fig. <xref ref-type="fig" rid="F9"/>c). The total arriving precipitation is dominated by sources at 50–60° N (Fig. <xref ref-type="fig" rid="F9"/>a, light green) in the first half of the study period, before being dominated by more southerly sources in the second half (40–50° N, dark green). Splitting up the moisture originating from land areas only further emphasises that the shift to more northerly sources is driven by land contributions from 30–40° N  (Fig. <xref ref-type="fig" rid="F9"/>c). In a tabular summary, it becomes evident that ocean sources still dominate for the entire event period, and that less than 10 % of the precipitation originate from south of 40° N (Table <xref ref-type="table" rid="T3"/>).</p>

      <fig id="F9" specific-use="star"><label>Figure 9</label><caption><p id="d2e7169">Sectorisation example for the Scandinavian case study for August 2022. <bold>(a)</bold> Classification of the total (land and ocean) moisture sources into latitude bands between 20–80° N during the study period. <bold>(b)</bold> Classification of the land sources only. Solid black line indicates the total fraction of all land sources. <bold>(c)</bold> Sector map of sectorisation “Norway” (#3) used in the case study.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f09.png"/>

        </fig>

<table-wrap id="T3" specific-use="star"><label>Table 3</label><caption><p id="d2e7190">Sectorisation results in percent separated into boundary layer and free-troposphere moisture sources for the total, and over land and sea regions only, for the Scandinavian case study for August 2022.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="7">
     <oasis:colspec colnum="1" colname="col1" align="left" colsep="1"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right" colsep="1"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="right"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Sector</oasis:entry>
         <oasis:entry colname="col2">BL<sub>total</sub></oasis:entry>
         <oasis:entry colname="col3">BL<sub>land</sub></oasis:entry>
         <oasis:entry colname="col4">BL<sub>sea</sub></oasis:entry>
         <oasis:entry colname="col5">FT<sub>total</sub></oasis:entry>
         <oasis:entry colname="col6">FT<sub>land</sub></oasis:entry>
         <oasis:entry colname="col7">FT<sub>sea</sub></oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M346" display="inline"><mml:mo>&lt;</mml:mo></mml:math></inline-formula> 20° N</oasis:entry>
         <oasis:entry colname="col2">0.2</oasis:entry>
         <oasis:entry colname="col3">0.1</oasis:entry>
         <oasis:entry colname="col4">0.2</oasis:entry>
         <oasis:entry colname="col5">0.4</oasis:entry>
         <oasis:entry colname="col6">0.0</oasis:entry>
         <oasis:entry colname="col7">0.3</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">20–30° N</oasis:entry>
         <oasis:entry colname="col2">1.2</oasis:entry>
         <oasis:entry colname="col3">0.3</oasis:entry>
         <oasis:entry colname="col4">0.9</oasis:entry>
         <oasis:entry colname="col5">2.0</oasis:entry>
         <oasis:entry colname="col6">0.1</oasis:entry>
         <oasis:entry colname="col7">1.9</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">30–40° N</oasis:entry>
         <oasis:entry colname="col2">5.3</oasis:entry>
         <oasis:entry colname="col3">2.5</oasis:entry>
         <oasis:entry colname="col4">2.8</oasis:entry>
         <oasis:entry colname="col5">5.3</oasis:entry>
         <oasis:entry colname="col6">1.6</oasis:entry>
         <oasis:entry colname="col7">3.7</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">40–50° N</oasis:entry>
         <oasis:entry colname="col2">19.9</oasis:entry>
         <oasis:entry colname="col3">8.5</oasis:entry>
         <oasis:entry colname="col4">11.4</oasis:entry>
         <oasis:entry colname="col5">24.4</oasis:entry>
         <oasis:entry colname="col6">7.4</oasis:entry>
         <oasis:entry colname="col7">17.0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">50–60° N</oasis:entry>
         <oasis:entry colname="col2">42.4</oasis:entry>
         <oasis:entry colname="col3">21.4</oasis:entry>
         <oasis:entry colname="col4">21.0</oasis:entry>
         <oasis:entry colname="col5">40.5</oasis:entry>
         <oasis:entry colname="col6">12.7</oasis:entry>
         <oasis:entry colname="col7">27.9</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">60–70° N</oasis:entry>
         <oasis:entry colname="col2">27.4</oasis:entry>
         <oasis:entry colname="col3">12.4</oasis:entry>
         <oasis:entry colname="col4">14.9</oasis:entry>
         <oasis:entry colname="col5">18.8</oasis:entry>
         <oasis:entry colname="col6">4.8</oasis:entry>
         <oasis:entry colname="col7">14.1</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">70–80° N</oasis:entry>
         <oasis:entry colname="col2">3.5</oasis:entry>
         <oasis:entry colname="col3">0.6</oasis:entry>
         <oasis:entry colname="col4">2.9</oasis:entry>
         <oasis:entry colname="col5">7.6</oasis:entry>
         <oasis:entry colname="col6">0.8</oasis:entry>
         <oasis:entry colname="col7">6.8</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">80–90° N</oasis:entry>
         <oasis:entry colname="col2">0.1</oasis:entry>
         <oasis:entry colname="col3">0.0</oasis:entry>
         <oasis:entry colname="col4">0.1</oasis:entry>
         <oasis:entry colname="col5">0.9</oasis:entry>
         <oasis:entry colname="col6">0.1</oasis:entry>
         <oasis:entry colname="col7">0.8</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">All</oasis:entry>
         <oasis:entry colname="col2">100.0</oasis:entry>
         <oasis:entry colname="col3">45.7</oasis:entry>
         <oasis:entry colname="col4">54.3</oasis:entry>
         <oasis:entry colname="col5">100.0</oasis:entry>
         <oasis:entry colname="col6">27.4</oasis:entry>
         <oasis:entry colname="col7">72.6</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S5.SS8">
  <label>5.8</label><title>Histograms of moisture source and transport properties</title>
      <p id="d2e7532">For some applications, it may be valuable to have the source and transport information from WaterSip available from every single uptake event. During the gridding to source or arrival grids, this detail of information is lost. Since the number of individual uptakes can be very large, histograms are a convenient way to aggregate such data. For example, <xref ref-type="bibr" rid="bib1.bibx65" id="text.134"/> used histograms of transport time to identify the age spectrum of precipitation. Other examples for the use of such output are the distribution of SSTs at the moisture sources <xref ref-type="bibr" rid="bib1.bibx62" id="paren.135"/>. WaterSip creates an output file in comma separated value (csv) format containing histograms of a fixed set of variables as output if the parameter saveHistogram in setting group Output is set to 1 (true). These variables include convection count and depth, uptakes, rainout, air mass mixing, source SST or T2m, source distance, source <inline-formula><mml:math id="M347" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>-excess, and RH<sub>SST</sub> at the sources (Table <xref ref-type="table" rid="T4"/>). As the histogram classification is implemented directly within WaterSip, changes to the classification parameters, or adding more variables requires changes to the WaterSip program code in file <monospace>Water.cpp</monospace>.</p>
      <p id="d2e7563">For the example case of Scandinavia during August 2022, the probability density function of the uptake contributions shows a maximum at 2 d before arrival, and a rapidly decreasing tail thereafter to 10 d before arrival (Fig. <xref ref-type="fig" rid="F10"/>a). The distribution of rainout events (not weighted by <inline-formula><mml:math id="M349" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula>) also peaks at 2 d before arrival time, but has otherwise an even distribution throughout the 20 d analysis period (Fig. <xref ref-type="fig" rid="F10"/>b). The PDF of mixing events (also not weighted by <inline-formula><mml:math id="M350" display="inline"><mml:mi>f</mml:mi></mml:math></inline-formula>) peaks at 4 and 8 d before arrival (Fig. <xref ref-type="fig" rid="F10"/>c). Finally, the PDF of source distances shows a rapidly flattening tail with the majority of sources within about 5000 km (Fig. <xref ref-type="fig" rid="F10"/>d). These examples illustrate the additional insight that one can gain from the histogram data, beyond the mass-weighted averages provided by the gridded and time series output.</p>

      <fig id="F10" specific-use="star"><label>Figure 10</label><caption><p id="d2e7591">Histograms of moisture source and transport quantities for the example case. <bold>(a)</bold> frequency of uptake events by time before arrival, <bold>(b)</bold> frequency of rainout events by time before arrival, <bold>(c)</bold> frequency of mixing events by time before arrival, and <bold>(d)</bold> frequency of uptakes by source distance. All histograms are valid for the entire analysis period and have been converted to probability density functions. The weighting for each quantity is listed in Table <xref ref-type="table" rid="T4"/>.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f10.png"/>

        </fig>

<table-wrap id="T4" specific-use="star"><label>Table 4</label><caption><p id="d2e7618">Histogram variables currently built into WaterSip, with corresponding lower and upper bounds, and number of categories for the classification.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="11">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="right"/>
     <oasis:colspec colnum="8" colname="col8" align="right"/>
     <oasis:colspec colnum="9" colname="col9" align="right"/>
     <oasis:colspec colnum="10" colname="col10" align="right"/>
     <oasis:colspec colnum="11" colname="col11" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Convection</oasis:entry>
         <oasis:entry colname="col3">Convection</oasis:entry>
         <oasis:entry colname="col4">Uptake</oasis:entry>
         <oasis:entry colname="col5">Uptake contribution</oasis:entry>
         <oasis:entry colname="col6">Rainout</oasis:entry>
         <oasis:entry colname="col7">Air mass</oasis:entry>
         <oasis:entry colname="col8">Source</oasis:entry>
         <oasis:entry colname="col9">SST</oasis:entry>
         <oasis:entry colname="col10"><inline-formula><mml:math id="M351" display="inline"><mml:mi>d</mml:mi></mml:math></inline-formula>-excess</oasis:entry>
         <oasis:entry colname="col11">RH<sub>SST</sub></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">height (m)</oasis:entry>
         <oasis:entry colname="col3">count (1)</oasis:entry>
         <oasis:entry colname="col4">time (h)</oasis:entry>
         <oasis:entry colname="col5">time (h)</oasis:entry>
         <oasis:entry colname="col6">time (h)</oasis:entry>
         <oasis:entry colname="col7">mixing time (h)</oasis:entry>
         <oasis:entry colname="col8">distance (km)</oasis:entry>
         <oasis:entry colname="col9">(K)</oasis:entry>
         <oasis:entry colname="col10">(permil)</oasis:entry>
         <oasis:entry colname="col11">(%)</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">min</oasis:entry>
         <oasis:entry colname="col2">0</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M353" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>480</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M354" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>480</oasis:entry>
         <oasis:entry colname="col6"><inline-formula><mml:math id="M355" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>480</oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M356" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>480</oasis:entry>
         <oasis:entry colname="col8">0</oasis:entry>
         <oasis:entry colname="col9">270</oasis:entry>
         <oasis:entry colname="col10"><inline-formula><mml:math id="M357" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>10</oasis:entry>
         <oasis:entry colname="col11">0</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">step</oasis:entry>
         <oasis:entry colname="col2">10</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4">20</oasis:entry>
         <oasis:entry colname="col5">20</oasis:entry>
         <oasis:entry colname="col6">20</oasis:entry>
         <oasis:entry colname="col7">20</oasis:entry>
         <oasis:entry colname="col8">20</oasis:entry>
         <oasis:entry colname="col9">20</oasis:entry>
         <oasis:entry colname="col10">20</oasis:entry>
         <oasis:entry colname="col11">20</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">max</oasis:entry>
         <oasis:entry colname="col2">2000</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4">0</oasis:entry>
         <oasis:entry colname="col5">0</oasis:entry>
         <oasis:entry colname="col6">0</oasis:entry>
         <oasis:entry colname="col7">0</oasis:entry>
         <oasis:entry colname="col8">20 000</oasis:entry>
         <oasis:entry colname="col9">310</oasis:entry>
         <oasis:entry colname="col10">30</oasis:entry>
         <oasis:entry colname="col11">100</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">weight</oasis:entry>
         <oasis:entry colname="col2">1</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M358" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M359" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6"><inline-formula><mml:math id="M360" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M361" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col8"><inline-formula><mml:math id="M362" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col9"><inline-formula><mml:math id="M363" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col10"><inline-formula><mml:math id="M364" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col11"><inline-formula><mml:math id="M365" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S5.SS9">
  <label>5.9</label><title>Air parcel trajectory output</title>
      <p id="d2e8056">WaterSip processes air parcel trajectory data obtained from the Lagrangian models LAGRANTO and FLEXPART. During the processing of these data, trajectories are filtered based on criteria such as being located within the arrival domain, precipitating during arrival, and so on. Essentially, thus, the WaterSip tool creates a subset of the original trajectory data, enhanced by additional information, such as the identified uptakes, and the accounted fraction. Setting parameter saveTraj of settings group Output to either 1 (output every time step) or 2 (output in monthly files) instructs WaterSip to write out these trajectory data in a compact binary format (*.traj). Since the total output size can become rather large, it is possible to use parameter skipTraj with a value <inline-formula><mml:math id="M366" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> to only write out trajectories for every <inline-formula><mml:math id="M367" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>th particle. A python script for reading the binary format is provided in the WaterSip code repository.</p>
      <p id="d2e8078">The potential value of the trajectory output is illustrated here for a subset of the air masses arriving over the target area in Scandinavia at 06:00 UTC on 10 August 2022. During this time, 20 d backward trajectories tap into moist air masses in the Gulf of Mexico and the subtropical North Atlantic, and to a lesser extent into the Pacific basin (Fig. <xref ref-type="fig" rid="F11"/>a). The colour shading by moisture uptakes and losses emphasises regions of moisture gain over the eastern and western North Pacific (blue), over North America, and the North Atlantic, as well as moisture loss as air parcels approach Scandinavia (red). The time vs. height diagram illustrates that in this case much of the moisture gained more than 10 d before arrival has been lost due to the vertical lifting and drying of air masses at about <inline-formula><mml:math id="M368" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>10 d (Fig. <xref ref-type="fig" rid="F11"/>b). Another branch of air descended from the upper troposphere between 6–10 km (dark brown colours) before taking up moisture in the lower troposphere. In some cases, the remaining moisture may also have been been overwritten by uptake events during the last 10 d before arrival, as exemplified by the trajectory highlighted in red that rises and then sinks again towards the surface multiple times.</p>

      <fig id="F11" specific-use="star"><label>Figure 11</label><caption><p id="d2e8094">Trajectory output from WaterSip for 06:00 UTC on 10 August 2022. <bold>(a)</bold> Map of the moisture transport pathway of 20 d trajectories shaded by specific humidity changes per time step (<inline-formula><mml:math id="M369" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula> in g kg<sup>−1</sup> 6 h<sup>−1</sup>). <bold>(b)</bold> Time vs. height diagram shaded by specific humidity (g kg<sup>−1</sup>) for water vapour arriving in the Scandinavia domain. For illustrative purposes, a random selection of 70 out of 8000 air parcel trajectories is displayed. The trajectory highlighted in red illustrates the repeated vertical movement of some particles on the way to the target region.</p></caption>
          <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f11.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S6">
  <label>6</label><title>Discussion</title>
      <p id="d2e8165">As mentioned throughout the description of the method, there are a number of uncertainties connected to the use of the WaterSip diagnostic. A sensitivity study for the Scandinavia case illustrates how WaterSip responds to variations in key parameters (Sect. <xref ref-type="sec" rid="Ch1.S6.SS1"/>). Users need to carefully consider the impact such uncertainties may have on the interpretation and validity of their results (Sect. <xref ref-type="sec" rid="Ch1.S6.SS2"/>). Underlying this uncertainty is the lack of a direct observable quantity that would serve as a reference for finding out moisture source information. In that context, method inter-comparisons and sensitivity studies can be a pathway to quantify and potentially bound uncertainty (Sect. <xref ref-type="sec" rid="Ch1.S6.SS3"/>). Lastly, some computational performance characteristics of the software are presented (Sect. <xref ref-type="sec" rid="Ch1.S6.SS4"/>).</p>
<sec id="Ch1.S6.SS1">
  <label>6.1</label><title>Sensitivity analysis of key parameters</title>
      <p id="d2e8183">Using the Scandinavia case study discussed above, a range of sensitivity experiments was conducted to illustrate the sensitivity of the diagnostic to several core parameters. The domain averages of the precipitation estimate <inline-formula><mml:math id="M373" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula>, total accounted fraction <inline-formula><mml:math id="M374" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, and the source distance have been chosen as bulk properties of the moisture sources during the event. When the critical relative humidity RH<sub>c</sub> was varied from the reference value 80 % to 70 % and 90 %, <inline-formula><mml:math id="M376" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula> increased or decreased about 25% compared to the reference value of 2.074 <inline-formula><mml:math id="M377" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 1.162 kg m<sup>−2</sup> (Table <xref ref-type="table" rid="T5"/>). This can be expected due to more (less) precipitation events being detected at arrival for a lower (higher) RH<sub>c</sub>. In comparison to the domain-average ERA5-simulated precipitation of 2.43 kg m<sup>−2</sup> d<sup>−1</sup>, the underestimation amounts to 17 % for the reference case. The moisture source distance increases slightly with a higher RH<sub>c</sub>, while <inline-formula><mml:math id="M383" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> remains nearly unchanged.</p>

<table-wrap id="T5" specific-use="star"><label>Table 5</label><caption><p id="d2e8305">Sensitivity experiments with key parameters using the Scandinavia case study from August 2022 as a reference. Source characteristics are given in terms of domain averages of precipitation estimate <inline-formula><mml:math id="M384" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula>, total accounted fraction <inline-formula><mml:math id="M385" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, and source distance. The reference experiment uses RH<inline-formula><mml:math id="M386" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mtext>c</mml:mtext></mml:msub><mml:mo>=</mml:mo></mml:mrow></mml:math></inline-formula>80 %, <inline-formula><mml:math id="M387" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.2</mml:mn></mml:mrow></mml:math></inline-formula> g kg<sup>−1</sup>, Len <inline-formula><mml:math id="M389" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 81, and Tstep <inline-formula><mml:math id="M390" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 6 h. Differences are computed as Experiment – Reference. For details see text.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="7">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right" colsep="1"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="right" colsep="1"/>
     <oasis:colspec colnum="6" colname="col6" align="right"/>
     <oasis:colspec colnum="7" colname="col7" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">Experiment</oasis:entry>
         <oasis:entry rowsep="1" namest="col2" nameend="col3" align="center" colsep="1">Precipitation estimate </oasis:entry>
         <oasis:entry rowsep="1" namest="col4" nameend="col5" align="center" colsep="1">Total accounted fraction </oasis:entry>
         <oasis:entry rowsep="1" namest="col6" nameend="col7" align="center">Source distance </oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2">kg m<sup>−2</sup> d<sup>−1</sup></oasis:entry>
         <oasis:entry colname="col3">Diff.</oasis:entry>
         <oasis:entry colname="col4"> %</oasis:entry>
         <oasis:entry colname="col5">Diff.</oasis:entry>
         <oasis:entry colname="col6">km</oasis:entry>
         <oasis:entry colname="col7">Diff.</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Reference</oasis:entry>
         <oasis:entry colname="col2">2.074 <inline-formula><mml:math id="M393" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 1.162</oasis:entry>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4">95.3 <inline-formula><mml:math id="M394" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 1.5</oasis:entry>
         <oasis:entry colname="col5"/>
         <oasis:entry colname="col6">2314 <inline-formula><mml:math id="M395" display="inline"><mml:mo>±</mml:mo></mml:math></inline-formula> 527</oasis:entry>
         <oasis:entry colname="col7"/>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">RH<inline-formula><mml:math id="M396" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">70</mml:mn></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">2.576</oasis:entry>
         <oasis:entry colname="col3">0.502</oasis:entry>
         <oasis:entry colname="col4">95.4</oasis:entry>
         <oasis:entry colname="col5">0.1</oasis:entry>
         <oasis:entry colname="col6">2232</oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M397" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>82</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">RH<inline-formula><mml:math id="M398" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">90</mml:mn></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">1.476</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M399" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>0.598</oasis:entry>
         <oasis:entry colname="col4">95.2</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M400" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>0.1</oasis:entry>
         <oasis:entry colname="col6">2458</oasis:entry>
         <oasis:entry colname="col7">144</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M401" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.1</mml:mn></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">2.074</oasis:entry>
         <oasis:entry colname="col3">0.000</oasis:entry>
         <oasis:entry colname="col4">96.5</oasis:entry>
         <oasis:entry colname="col5">1.3</oasis:entry>
         <oasis:entry colname="col6">2271</oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M402" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>43</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M403" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.4</mml:mn></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">2.074</oasis:entry>
         <oasis:entry colname="col3">0.000</oasis:entry>
         <oasis:entry colname="col4">92.0</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M404" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>3.3</oasis:entry>
         <oasis:entry colname="col6">2429</oasis:entry>
         <oasis:entry colname="col7">115</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M405" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">61</mml:mn></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">2.074</oasis:entry>
         <oasis:entry colname="col3">0.000</oasis:entry>
         <oasis:entry colname="col4">91.0</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M406" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>4.3</oasis:entry>
         <oasis:entry colname="col6">2208</oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M407" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>106</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"><inline-formula><mml:math id="M408" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">41</mml:mn></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">2.074</oasis:entry>
         <oasis:entry colname="col3">0.000</oasis:entry>
         <oasis:entry colname="col4">81.9</oasis:entry>
         <oasis:entry colname="col5"><inline-formula><mml:math id="M409" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>13.4</oasis:entry>
         <oasis:entry colname="col6">1987</oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M410" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>327</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M411" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">3.086</oasis:entry>
         <oasis:entry colname="col3">1.012</oasis:entry>
         <oasis:entry colname="col4">98.4</oasis:entry>
         <oasis:entry colname="col5">3.1</oasis:entry>
         <oasis:entry colname="col6">1883</oasis:entry>
         <oasis:entry colname="col7"><inline-formula><mml:math id="M412" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>431</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e8840">Sensitivity with regard to the value of <inline-formula><mml:math id="M413" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> was tested with 0.1 and 0.4 g kg<sup>−1</sup> 6 h<sup>−1</sup>. The precipitation estimate remained unaffected by this change, since the humidity change during the last time step is set by the separate parameter arrivalPrecipThreshold. The total accounted fraction decreases with increasing <inline-formula><mml:math id="M416" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, since less events are identified as moisture uptakes. A higher <inline-formula><mml:math id="M417" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> also favours slightly more distant moisture sources, as less discounting of remote moisture takes place for the case study.</p>
      <p id="d2e8907">The trajectory length has a clear imprint on <inline-formula><mml:math id="M418" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, with 13.4 % less accounted sources for 10 d (<inline-formula><mml:math id="M419" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">41</mml:mn></mml:mrow></mml:math></inline-formula>) compared to 20 d (<inline-formula><mml:math id="M420" display="inline"><mml:mrow><mml:mi>L</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">81</mml:mn></mml:mrow></mml:math></inline-formula>) trajectories. In comparison, the difference between 15 and 20 d trajectories is only 4.3 %. The moisture source distance is also sensitive to the trajectory length, with on average 327 km closer moisture sources for the 10 d trajectories. Still, the average value is less than the 1<inline-formula><mml:math id="M421" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> standard deviation within the domain of 527 km, and remains within 15 % of the reference value for all of the above parameter variations.</p>
      <p id="d2e8952">Finally, the sensitivity to the time step <inline-formula><mml:math id="M422" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> has been tested using a 3 h time interval. To enable a fair comparison to the reference, this run also required adjustment of <inline-formula><mml:math id="M423" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to 0.1 g kg<sup>−1</sup> 3 h<sup>−1</sup>, and increase of the trajectory length to 161 time steps to maintain 20 d trajectories. The results for this sensitivity test deviate more markedly from the reference than the previous sensitivity experiments, with a 50 % higher precipitation estimate, a 3.1 % higher <inline-formula><mml:math id="M426" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula>, and a 431 km closer source distance than the reference. This kind of response in the results of the diagnostic can be explained by the increasingly ambiguous distinction between variations in specific humidity from moisture uptakes that the diagnostic aims to identify, and variations from interpolation errors and other random factors. Users should carefully evaluate which time step and specific humidity thresholds are suitable for their study.</p>
</sec>
<sec id="Ch1.S6.SS2">
  <label>6.2</label><title>Error sources and uncertainties</title>
      <p id="d2e9021">As other Lagrangian moisture source diagnostics, WaterSip calculates the Lagrangian water budget of air parcels that are moving with the atmospheric flow. At initial time <inline-formula><mml:math id="M427" display="inline"><mml:mrow><mml:msub><mml:mi>t</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, these air parcels are defined by their location, an assumed spatial extent, and represent an atmospheric mass <inline-formula><mml:math id="M428" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mi>k</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula>. As air parcels move horizontally and vertically, their shape is assumed to be maintained, as well as the total mass. However, exchange processes across the air parcel's imaginary walls can modify the amount of water vapour within the air parcel, as quantified by the specific humidity <inline-formula><mml:math id="M429" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> (g kg<sup>−1</sup>). Interpolation errors can then, among others, cause spurious variations in the specific humidity. Another assumption that is made in the <xref ref-type="bibr" rid="bib1.bibx48" id="text.136"/> algorithm is that during one time step, all specific humidity changes are assumed to either be due to uptakes or losses, while in fact it is a net change that may include both uptakes and losses in the time interval. While this assumption is more valid the shorter the time interval between trajectory points, shorter time intervals also lead to using smaller <inline-formula><mml:math id="M431" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> between time steps, which then becomes more difficult to separate from interpolation noise. Another assumption in WaterSip is that diagnosed evaporation took place at the geographic location where the moisture uptake has been detected. However, this does not necessarily need to be the case, for example when water vapour that had evaporated earlier is at a later time mixed into an air parcel as a result of mixing from turbulence or convection.</p>
      <p id="d2e9082">While threshold parameters, such as <inline-formula><mml:math id="M432" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msub><mml:mi>q</mml:mi><mml:mi mathvariant="normal">c</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> are used to suppress some of the numerical noise introduced during the trajectory calculation and interpolation, there may either be too many uptakes diagnosed, or some uptake events may be missed. The total explained fraction <inline-formula><mml:math id="M433" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub></mml:mrow></mml:math></inline-formula> can then provide important guidance whether the  accounting works consistently (i.e., <inline-formula><mml:math id="M434" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mtext>tot</mml:mtext></mml:msub><mml:mo>≤</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) with the chosen threshold parameters. Spurious variations that are larger than the threshold value will lead to more remote moisture being discounted in the favour of later uptakes, while the assumption that either evaporation or precipitation take place during one time step acts to overestimate remote sources. Such potential biases are important to keep in mind during interpretation.</p>
      <p id="d2e9124">Other important sources of uncertainty are the number of particles chosen to represent the investigated air mass, as well as the time step of the trajectory output. In general, a larger number of trajectories will provide better statistical representation of the diagnosed quantities, in particular when used with a particle dispersion model such as FLEXPART that parameterises turbulent and convective motions. The number of particles should also be chosen in line with the resolution of the source and arrival grids, providing reasonably smooth and continuous gridded output. Other considerations of offline trajectory diagnostics are the effects of data assimilation, which provides humidity increments during the process <xref ref-type="bibr" rid="bib1.bibx22" id="paren.137"/>, and from parameterisation schemes in the parent numerical model. Here in particular the role of convection schemes is important to consider, providing both a pathway for rapid specific humidity changes and vertical particle motion that are hard to capture in offline calculations, even when using parameterisation schemes for convection in the trajectory model <xref ref-type="bibr" rid="bib1.bibx42" id="paren.138"/>. Here, the use of online trajectory calculation methods <xref ref-type="bibr" rid="bib1.bibx34" id="paren.139"/> could provide a pathway towards quantifying such uncertainty.</p>

<table-wrap id="T6" specific-use="star"><label>Table 6</label><caption><p id="d2e9140">Overview over computational time and memory demand when running the WaterSip diagnostic for the Scandinavia test case and a test case covering a larger domain (0–90° N and 90° W–90° E). Sensitivity experiments with different number of particles and different cores illustrate performance characteristics. All runs were performed on a Linux machine running on a 36-core Intel(R) Xeon(R) Gold 6140 CPU at 2.30 GHz.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="6">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="right"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="right"/>
     <oasis:colspec colnum="5" colname="col5" align="left"/>
     <oasis:colspec colnum="6" colname="col6" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Test</oasis:entry>
         <oasis:entry colname="col2">Particles</oasis:entry>
         <oasis:entry colname="col3">Max. qualified</oasis:entry>
         <oasis:entry colname="col4">Parallel threads</oasis:entry>
         <oasis:entry colname="col5">Wall time</oasis:entry>
         <oasis:entry colname="col6">Memory footprint</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">Default setup</oasis:entry>
         <oasis:entry colname="col2">10 000 000</oasis:entry>
         <oasis:entry colname="col3">3068</oasis:entry>
         <oasis:entry colname="col4">1</oasis:entry>
         <oasis:entry colname="col5">21:09</oasis:entry>
         <oasis:entry colname="col6">4.59 GB</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Stride A</oasis:entry>
         <oasis:entry colname="col2">1 000 000</oasis:entry>
         <oasis:entry colname="col3">297</oasis:entry>
         <oasis:entry colname="col4">1</oasis:entry>
         <oasis:entry colname="col5">13:09</oasis:entry>
         <oasis:entry colname="col6">3.56 GB</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Stride B</oasis:entry>
         <oasis:entry colname="col2">100 000</oasis:entry>
         <oasis:entry colname="col3">32</oasis:entry>
         <oasis:entry colname="col4">1</oasis:entry>
         <oasis:entry colname="col5">08:40</oasis:entry>
         <oasis:entry colname="col6">3.45 GB</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Large A</oasis:entry>
         <oasis:entry colname="col2">10 000 000</oasis:entry>
         <oasis:entry colname="col3">103127</oasis:entry>
         <oasis:entry colname="col4">1</oasis:entry>
         <oasis:entry colname="col5">04:08:54</oasis:entry>
         <oasis:entry colname="col6">31.93 GB</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Large B</oasis:entry>
         <oasis:entry colname="col2">10 000 000</oasis:entry>
         <oasis:entry colname="col3">103127</oasis:entry>
         <oasis:entry colname="col4">4</oasis:entry>
         <oasis:entry colname="col5">01:29:15</oasis:entry>
         <oasis:entry colname="col6">30.57 GB</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</sec>
<sec id="Ch1.S6.SS3">
  <label>6.3</label><title>Quantifying and reducing uncertainty</title>
      <p id="d2e9307">Future development of the WaterSip software and similar approaches will benefit from quantifying uncertainty, and from identifying the contribution of different factors to uncertainty. In the absence of a direct observable quantity for the water vapour origin, model inter-comparison efforts are important. First steps in this direction have been made by <xref ref-type="bibr" rid="bib1.bibx58" id="text.140"/> who employed a regional tagged water tracer simulation as the reference standard for a Eulerian moisture source identification algorithm. Similarly, <xref ref-type="bibr" rid="bib1.bibx64" id="text.141"/> and <xref ref-type="bibr" rid="bib1.bibx30" id="text.142"/> compared the WaterSip diagnostic to tagged tracer simulations from a regional model. While tagged tracers do have limitations with regard to the representation of different processes in the atmospheric water cycle at small scales, it can be expected that using such online simulations as input data for offline diagnostics can help to quantify uncertainty, essentially serving as an internal “gold standard” for such inter-comparison efforts <xref ref-type="bibr" rid="bib1.bibx42" id="paren.143"/>. Thanks to the availability of an increasing number of approaches to provide (Lagrangian and Eulerian) offline moisture source diagnostics as open access software <xref ref-type="bibr" rid="bib1.bibx59 bib1.bibx29 bib1.bibx19" id="paren.144"/>, the feasibility of such an inter-comparison effort has greatly increased in recent years. The present description of the WaterSip diagnostic is another piece in the puzzle that may help to advance ongoing debates. On the longer run, the availability of suitable water vapour isotope measurement data sets, in particular such that connect moisture source signals with measurements along the transport pathway and the arrival region, have the potential to indeed constrain diagnostic methods by measurements <xref ref-type="bibr" rid="bib1.bibx23" id="paren.145"/>.</p>
</sec>
<sec id="Ch1.S6.SS4">
  <label>6.4</label><title>Computational performance characteristics</title>
      <p id="d2e9338">The test case here is run only for a short time period and over a spatially limited domain. Running on a single core on a 36-core Intel(R) Xeon(R) Gold 6140 CPU at 2.30 GHz, the diagnostic completes after about 21 min, with a peak memory use of 4.6 GB (Table <xref ref-type="table" rid="T6"/>). Important aspects of the duration of the computational time are the amount of input/output (I/O) operations, and the number of particle trajectories to be processed. The test case has at most about 3000 new particles that are qualified for tracking within each time step of the test case period. This means that here I/O dominates over the amount of time spent for evaluating the moisture source changes and gridding the results. When the amount of particles considered for analysis is reduced by a factor of 10 (Test “Stride A”) or 100 (Test “Stride B”), the computation time only decreases by a factor of 0.4 or 0.6, respectively. Nonetheless, a stride larger than one provides results substantially faster, which is useful for example when testing an analysis setup. Note that results will however contain more gaps with fewer particles due to the stride setting. The memory footprint scales less than the computational time, since this demand is dominated by the output grids and thus the length of the analysis period. Finally, the parallelisation performance is illustrated with a run over the same time period, but with a larger domain covering half the Northern Hemisphere. The use of 4 cores (Test “Large B”) shows a 2.75<inline-formula><mml:math id="M435" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> speedup compared to the single-core run (Test “Large A”). However, performance gains quickly become lower with additional cores due to the need for processes to wait for one another (not shown). It may be possible to gain faster computation times and better scaling if the code were further optimised for parallelisation.</p>
</sec>
</sec>
<sec id="Ch1.S7" sec-type="conclusions">
  <label>7</label><title>Summary and Final Remarks</title>
      <p id="d2e9359">The WaterSip software is a versatile implementation of the Lagrangian moisture source and transport diagnostic of <xref ref-type="bibr" rid="bib1.bibx48" id="text.146"/>. Besides providing a detailed, formal description of the diagnostic algorithm and its key parameters, this manuscript provides practical information to set up and run the WaterSip tool, and serves as a reference describing the format and contents of the different output files from the diagnostic. Using an exemplary case study for a precipitation period over Scandinavia in August 2022, guidance on the use and interpretation of different maps and output products from the software is provided. Using the available setup with the same input data as the case study <xref ref-type="bibr" rid="bib1.bibx43" id="paren.147"/>, users can get quickly accustomed with the wide range of configuration options of the software tool, and the varieties of diagnostic output, before setting up their own cases.</p>
      <p id="d2e9368">As other off-line diagnostics, WaterSip and its accounting algorithm have several underlying assumptions. When interpreting results from WaterSip, users are therefore advised to carefully consider all sources of uncertainty. Uncertainty arises from the choice of different parameters in the set-up of the input data in the form of air parcel transport trajectories, but also with regard to several parameters that influence the sensitivity and performance of the method. In order to obtain physically meaningful results, threshold parameters may need to be set to different values depending on the geographic region, the season, and the height in the atmosphere that is considered during an analysis. Users are therefore advised to carefully test their particular set-up in order to determine the sensitivity of their results to the chosen parameter configurations.</p>
      <p id="d2e9371">Availability of the software tool enables a wider use of this diagnostic for studies of the moisture source location and properties, as well as for identifying the conditions during atmospheric transport, and during arrival at the target region. Making the software code available in a public repository removes the requirement for other researchers to re-implement the diagnostic algorithm, and enables future contributions from the community such as reading output from other Lagrangian particle and trajectory models.</p>
      <p id="d2e9374">It is the hope of the author that documenting and making the code of WaterSip available here will lead to the further application of the tool in a wide range of regions and scientific applications, from understanding the factors of precipitation extremes, to climatological studies, and paleoclimate studies. Furthermore, WaterSip in its current version 3.2 may be compared to the results of other available moisture source diagnostics, helping to understand the overall state of the art in this scientific branch, thereby contributing to progress in the field and future methods with reduced uncertainty.</p>
</sec>

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

<app id="App1.Ch1.S1">
  <label>Appendix A</label><title>Spatial characteristics of Lagrangian precipitation estimate</title>

      <fig id="FA1"><label>Figure A1</label><caption><p id="d2e9390">Comparison between precipitation during the case study period (06:00 UTC on 5 July to 00:00 UTC on 15 July 2022) over Scandinavia <bold>(a)</bold> estimated from the WaterSip diagnostic and <bold>(b)</bold> from ERA5 in <inline-formula><mml:math id="M436" display="inline"><mml:mrow class="unit"><mml:mi mathvariant="normal">mm</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">d</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>.</p></caption>
        
        <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f12.png"/>

      </fig>

      <p id="d2e9424">The Lagrangian precipitation estimate for the period from 06:00 UTC on 5 July 2022 to 00:00 UTC on 15 July 2022 over Scandinavia shows a pattern that roughly follows the topography along the west coast of Norway (Fig. <xref ref-type="fig" rid="FA1"/>a). In contrast, southern Scandinavia and the Baltic Sea have lower total precipitation averages of 0–1 mm d<sup>−1</sup>. The ERA5-simulated precipitation has a much stronger contrast between coastal regions and the drier interior of the domain. The period average reaches above 8 mm d<sup>−1</sup> in Northern Norway, but has also a larger extent of regions where no precipitation was predicted.</p>
</app>

<app id="App1.Ch1.S2">
  <label>Appendix B</label><title>Description of control parameters in the WaterSip configuration file</title>
      <p id="d2e9462">The WaterSip configuration file contains all control parameters of the WaterSip diagnostic in one text file. The control parameters are each specified on one line in the format <inline-formula><mml:math id="M439" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mi mathvariant="monospace">parametername</mml:mi><mml:mo>&gt;</mml:mo><mml:mo>=</mml:mo><mml:mo>&lt;</mml:mo><mml:mi mathvariant="monospace">parametervalue</mml:mi><mml:mo>&gt;</mml:mo></mml:mrow></mml:math></inline-formula>. Parameters can be either a string, integer, boolean, or float value. Parameters are grouped into one of 7 settings groups. Corresponding tables referred to in the Appendix provide an overview over all parameters in this group, including example values.</p>
      <p id="d2e9485"><list list-type="order">
          <list-item>

      <p id="d2e9490"><italic>Case.</italic> The settings in this group concern the basic settings of a diagnostic run (Table <xref ref-type="table" rid="TB1"/>).</p>
          </list-item>
          <list-item>

      <p id="d2e9500"><italic>Grids.</italic> The parameters in this category specify the different output grids and the gridding method (Table <xref ref-type="table" rid="TB2"/>).</p>
          </list-item>
          <list-item>

      <p id="d2e9510"><italic>Diagnostics.</italic> The parameters in this category control the way how the diagnostic works, and which trajectories should be considered in the run (Table <xref ref-type="table" rid="TB3"/>).</p>
          </list-item>
          <list-item>

      <p id="d2e9520"><italic>Output.</italic> The parameters in this category determine which output files should be created (Table <xref ref-type="table" rid="TB4"/>).</p>
          </list-item>
          <list-item>

      <p id="d2e9530"><italic>Variables.</italic> The parameters in this category allow to include or exclude specific variables from the output files. Setting the output for unused variables to 0 (disabled) will speed up computation time, reduce the memory footprint, and reduce the output file size (Table <xref ref-type="table" rid="TB5"/>).</p>
          </list-item>
          <list-item>

      <p id="d2e9541"><italic>FLEXPART.</italic> The parameters in this category describe the properties specific to FLEXPART input files (Table <xref ref-type="table" rid="TB6"/>).</p>
          </list-item>
          <list-item>

      <p id="d2e9551"><italic>LAGRANTO.</italic> The parameters in this category describe the properties specific to LAGRANTO input files (Table <xref ref-type="table" rid="TB7"/>).</p>
          </list-item>
        </list></p>
      <p id="d2e9560">Settings groups are identified in the configuration file by their name included within in square brackets (e.g. <monospace>[Case]</monospace>). The 7 settings groups and control parameters within them can appear in random order in the input file. WaterSip will display an error message if a parameter name is unknown or in the wrong settings group. An error message will also be displayed if the parameter value is of wrong type. Space characters and empty lines will be ignored in the input file and can be used to format the content. In addition, comments can be added after the character “#” anywhere in the file to facilitate documentation.</p><table-wrap id="TB1"><label>Table B1</label><caption><p id="d2e9571">Parameters in the settings group Case.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="10cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Type</oasis:entry>
         <oasis:entry colname="col3">Example</oasis:entry>
         <oasis:entry colname="col4" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">caseName</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">test_global</oasis:entry>
         <oasis:entry colname="col4" align="left">Identifier for the run, prepended to all output files</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">inputDir</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">./input/shortposit_%s</oasis:entry>
         <oasis:entry colname="col4" align="left">Search path of the input files. The inputDir string ends with a placeholder for the files to be read in. For FLEXPART this will be either shortposit_%s or partposit_%s. For LAGRANTO this will often be lsl_%s. The %s placeholder is filled with the current date at runtime.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">outputDir</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">./output/test_global/</oasis:entry>
         <oasis:entry colname="col4" align="left">Path where the output files will be created</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">startDate</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">20230811-000000</oasis:entry>
         <oasis:entry colname="col4" align="left">Initial date of the run, fixed format YYYYMMDD-HHMMSS. Start date is latest date of the run.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">endDate</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">20230713-030000</oasis:entry>
         <oasis:entry colname="col4" align="left">Last date of the run, fixed format YYYYMMDD-HHMMSS. End date is earliest date of the run.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">timeStep</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">3</oasis:entry>
         <oasis:entry colname="col4" align="left">Time step in hours between particles or trajectory output times.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sectorizeRegion</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">6</oasis:entry>
         <oasis:entry colname="col4" align="left">Region set used to divide moisture sources into different sectors.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">filterBoxFile</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">” ”</oasis:entry>
         <oasis:entry colname="col4" align="left">Path to the text file describing geographic boxes used to filter air parcels during transport.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">filterIndex</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M440" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Used line from the filterBoxFile to select/deselect trajectories</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">orographyFile</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">./topo/etopo5.nc</oasis:entry>
         <oasis:entry colname="col4" align="left">Path to the orography file in netCDF format used to select arrival based on the underlying topography.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">lsmFile</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">./masks/lsm_mask.nc</oasis:entry>
         <oasis:entry colname="col4" align="left">Path to a netCDF file with global land-sea-mask. Domain must be global.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">maskFile</oasis:entry>
         <oasis:entry colname="col2">s</oasis:entry>
         <oasis:entry colname="col3">” ”</oasis:entry>
         <oasis:entry colname="col4" align="left">Path to a netCDF file with an arrival region mask.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">useMask</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Use mask file (0 <inline-formula><mml:math id="M441" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> no, 1 <inline-formula><mml:math id="M442" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> yes)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">trajPoints</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">161</oasis:entry>
         <oasis:entry colname="col4" align="left">Number of trajectory points to be considered in the analysis of arriving air parcels.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">minTrajPoints</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Minimum length required for trajectories to be included in analysis (only relevant for runs with LAGRANTO input).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">ompThreads</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">4</oasis:entry>
         <oasis:entry colname="col4" align="left">Number of threads to be used with OpenMP parallelisation if compiled with flag -fopenmp (1 <inline-formula><mml:math id="M443" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> no parallelisation, <inline-formula><mml:math id="M444" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> use parallelisation.)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">showStats</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Print statistics about particle processing to the command line (0 <inline-formula><mml:math id="M445" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> off, 1 <inline-formula><mml:math id="M446" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> on)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TB2"><label>Table B2</label><caption><p id="d2e9922">Parameters in the settings group Grid.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="10cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Type</oasis:entry>
         <oasis:entry colname="col3">Example</oasis:entry>
         <oasis:entry colname="col4" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalGridMinLon</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">7.5</oasis:entry>
         <oasis:entry colname="col4" align="left">Minimum longitude of arrival (target region) grid. Air parcel trajectories are traced backward from the arrival grid. Integrated source, transport and arrival variables are placed on the arrival grid, weighted by precipitation or water vapour of arriving air parcels.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalGridMaxLon</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">11.0</oasis:entry>
         <oasis:entry colname="col4" align="left">Maximum longitude of arrival (target region) box</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalGridMinLat</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">59.0</oasis:entry>
         <oasis:entry colname="col4" align="left">Minimum latitude of arrival (target region) box</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalGridMaxLat</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">62.0</oasis:entry>
         <oasis:entry colname="col4" align="left">Minimum latitude of arrival (target region) box</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalGridDx</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">0.25</oasis:entry>
         <oasis:entry colname="col4" align="left">Longitude increment of arrival (target region) grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalGridDy</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">0.25</oasis:entry>
         <oasis:entry colname="col4" align="left">Latitude increment of arrival (target region) grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalGridRadius</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">40</oasis:entry>
         <oasis:entry colname="col4" align="left">Gridding radius for diagnostic values from arriving air parcels.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceGridMinLon</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M447" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>120</oasis:entry>
         <oasis:entry colname="col4" align="left">Minimum longitude of moisture source grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceGridMaxLon</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">120</oasis:entry>
         <oasis:entry colname="col4" align="left">Maximum longitude of moisture source grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceGridMinLat</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Minimum latitude of moisture source grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceGridMaxLat</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">90</oasis:entry>
         <oasis:entry colname="col4" align="left">Maximum latitude of moisture source grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceGridDx</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">0.5</oasis:entry>
         <oasis:entry colname="col4" align="left">Longitude increment of moisture source grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceGridDy</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">0.5</oasis:entry>
         <oasis:entry colname="col4" align="left">Latitude increment of moisture source grid.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceGridRadius</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">60</oasis:entry>
         <oasis:entry colname="col4" align="left">Longitude increment of moisture source grid.</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">griddingType</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">2</oasis:entry>
         <oasis:entry colname="col4" align="left">Select gridding algorithm (1: fast and simple gridding, 2: more exact but slower gridding).</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TB3"><label>Table B3</label><caption><p id="d2e10198">Parameters in the settings group Diagnostics.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="11cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Type</oasis:entry>
         <oasis:entry colname="col3">Example</oasis:entry>
         <oasis:entry colname="col4" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">uptakeThreshold</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">0.2</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value for specific humidity increase (in g kg<inline-formula><mml:math id="M448" 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:mi mathvariant="normal">Δ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) in air parcels to be considered as due to evaporation and transpiration. If the parameter relativeThresholds is set to true, the uptakeThreshold specifies the increase of the specific humidity in units of %.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">precipThreshold</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M449" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>0.2</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value for specific humidity decreases (in g kg<inline-formula><mml:math id="M450" 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:mi mathvariant="normal">Δ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>) in air parcels to find precipitation events. When relativeThresholds is set to true, the precipThreshold specifies the decrease of the specific humidity in %. For consistency, it is recommended to set the values for precipitationThreshold and arrivalPrecipMin to the same number.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">blhScale</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">1.5</oasis:entry>
         <oasis:entry colname="col4" align="left">Scaling factor for boundary-layer height, decides wether uptakes are due to surface evaporation from below, or due to free-troposphere processes, such as convection and mixing.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalRHMin</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">80</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value for minimum RH (in %) at the arrival location that identifies moisture losses as precipitation events. High latitude locations may require lower threshold values.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalRHMax</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">120</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value for maximum RH (in %) at the arrival location that identifies moisture losses as precipitation events. In combination with arrivalRHMin, this parameter can be used to focus on condensation/no condensation cases when the parameter analyzeVapour is set to true.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalPrecipMin</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M451" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>0.2</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value to find precipitation events from a specific humidity decrease (in g kg<inline-formula><mml:math id="M452" 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:mi mathvariant="normal">Δ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>). When relativeThresholds is set to true, the precipThreshold specifies the decrease of the specific humidity in %. For consistency, it is recommended to set the values for precipitationThreshold and arrivalPrecipMin to the same number.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalPrecipMax</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M453" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>120</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value to consider precipitation events with a specific humidity decrease of up to the value given by arrivalprecipMax. When relativeThresholds is set to true, the precipThreshold specifies the decrease of the specific humidity in %. A large negative value includes all potential precipitation events. The combination of arrivalPrecipMin and arrivalPrecipMax allows to focus on heavy or weak precipitation events.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalOroMin</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M454" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>100</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value to consider only arrival locations with a topography larger than the given value (in m). Use negative value to include all global locations  including ocean areas, Bangladesh and Death Valley.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalOroMax</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">90 000</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value to consider only arrival locations with a topography lower than the given value (in m).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalAltMin</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M455" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>100</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value to consider only air parcels arriving at altitudes above the given altitude (in m above sea level).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalAltMax</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">90 000</oasis:entry>
         <oasis:entry colname="col4" align="left">Threshold value to consider only air parcels arriving at altitudes below the given altitude (in m above sea level).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">analyzeVapour</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Parameter to chose between precipitation origin (0) or vapour origin (1). When analyzing vapour origin, the parameters precipitationThreshold, arrivalRHMin, and arrivalRHMax may need modification.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">assignToUptake</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Parameter determining the assignment of moisture uptake events to arrival time (0) or to uptake time step grid (1). This parameter will mostly affect time step and daily output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">forwardProjectionMode</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">3</oasis:entry>
         <oasis:entry colname="col4" align="left">Parameter determining how the Lagrangian forward projection of moisture source and moisture transport properties are calculated (1: only consider boundary-layer moisture uptakes, 2: only consider free-troposphere uptakes, 3: consider both uptakes in combination).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">relativeThreshold</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Parameter determines whether specified threshold values are interpreted as absolute (0) or relative values (1).</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">processingAlgorithm</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Parameter allows to chose between the processing algorithm of <xref ref-type="bibr" rid="bib1.bibx48" id="text.148"/> (0), <xref ref-type="bibr" rid="bib1.bibx13" id="text.149"/> (1), and <xref ref-type="bibr" rid="bib1.bibx24" id="text.150"/> (2).</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TB4"><label>Table B4</label><caption><p id="d2e10592">Parameters in the settings group Output.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="10cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Type</oasis:entry>
         <oasis:entry colname="col3">Example</oasis:entry>
         <oasis:entry colname="col4" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">stepFile</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Write output variables on grid files for each time step.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">dayFile</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Write output variables on grid files averaged/accumulated for each day.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">monthFile</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Write output variables on grid files averaged/accumulated for each month.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">yearFile</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Write output variables on grid files averaged/accumulated for each year.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">allFile</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Write output variables on grid files averaged/accumulated for entire analysis period.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">staticFields</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Write static fields (land-sea mask and topography) to grid files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">saveTraj</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Write particle positions to trajectory files in traj format. Option (1) creates one file for each time step, option (2) one file for each month (2). Option (0) disables trajectory output.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">skipTraj</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Only write every <inline-formula><mml:math id="M456" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>th trajectory to reduce trajectory file size. Option (1) writes all particle trajectories.</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">saveHistogram</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Write a subset of variables to histogram files (0: disabled, 1: enabled).</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TB5"><label>Table B5</label><caption><p id="d2e10778">Parameters in the settings group Variables. Output of variables activated by parameter value (1) and deactivated by (0). Variables are written to grid and series output files.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="justify" colwidth="12cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Type</oasis:entry>
         <oasis:entry colname="col3" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourcesBoundaryLayer</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write accounted moisture uptakes in the boundary layer to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourcesFreeTroposphere</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write accounted moisture uptakes in the free troposphere to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">evaporationMinusPrecipitation</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write unweighted evaporation minus precipitation along entire trajectory length to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">moistureTransport</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write weighted moisture transport along trajectories to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">trajectoryLocations</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write particle mass density to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">precipitationEstimate</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write precipitation estimate at arrival to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceLongitude</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write weighted moisture source longitude projected to the arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceLatitude</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write moisture source latitude projected to the arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalCount</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write number of arriving trajectories on the arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">landFraction</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write fraction of moisture sources over land projected to the arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">boundaryLayerFraction</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write accounted fraction of boundary layer uptakes projected to the arrival region to  output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">freeTroposphereFraction</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write accounted fraction of free troposphere uptakes projected to the arrival region to   output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">combinedFraction</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write accounted fraction of boundary layer and free troposphere uptakes projected to the arrival region to output files. This is the sum of the two previous variables.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">transportTime</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write moisture transport time projected to the arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceSkinTemperature</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write skin temperature at the moisture source projected to the arrival region to  output files. Requires that skin temperature is a variable on the input files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceSpecificHumidity</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write surface specific humidity at the moisture source projected to the arrival region to output files. Requires that source specific humidity is a variable on the input files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">transportDistance</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write transport distance projected to the arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceDistance</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write source distance projected to the arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">source2mTemperature</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write 2 m temperature at the moisture source projected to the arrival region to output files. Requires that 2 m temperature is a variable on the input files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">sourceDeuteriumExcess</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write deuterium excess projected to the arrival region to output files. Deuterium excess is calculated from the relative humidity with respect to SST and the relationship from <xref ref-type="bibr" rid="bib1.bibx38" id="text.151"/>. Requires that source specific humidity and SST or 2 m temperature and humidity are variables on the input files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">transportTemperature</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write moisture-weighted temperature during transport projected to arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">transportPressure</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write moisture-weighted pressure during transport projected to arrival region to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">condensationTemperature</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write moisture-weighted temperatures where RH with respect to liquid exceeds 80 % to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalTemperature</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write temperature during moisture arrival to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrivalPressure</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write pressure during moisture arrival to output files.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrival2mTemperature</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write temperature at 2 m during moisture arrival to output files. Requires that 2 m temperature is a variable on the input files.</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">arrivalSkinTemperature</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3" align="left">Write skin temperature during moisture arrival to output files. Requires that skin temperature is a variable on the input files.</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TB6"><label>Table B6</label><caption><p id="d2e11146">Parameters in the settings groups FLEXPART.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="10cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Type</oasis:entry>
         <oasis:entry colname="col3">Example</oasis:entry>
         <oasis:entry colname="col4" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">inputFormat</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">5</oasis:entry>
         <oasis:entry colname="col4" align="left">File format of FLEXPART particle position output files. 0: regional long output format, 1: global analysis data output format, 2: regional short format, 3: global reanalysis/NorESM data short format, 4: global reanalysis data long format, 5 regional reanalysis/NorESM data short format. Formats are implemented in the WaterSip code in file readparticles.cpp.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">maxPart</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">4 000 000</oasis:entry>
         <oasis:entry colname="col4" align="left">Number of particles contained in a single FLEXPART partposit or shortposit file.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">partMass</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">2.54 <inline-formula><mml:math id="M457" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 10<sup>11</sup></oasis:entry>
         <oasis:entry colname="col4" align="left">Atmospheric mass represented by each particle (in kg). Parameter value corresponds to value in file “partmass” created by FLEXPART.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">allowReenter</oasis:entry>
         <oasis:entry colname="col2">b</oasis:entry>
         <oasis:entry colname="col3">0</oasis:entry>
         <oasis:entry colname="col4" align="left">Needs to be enabled (1) for global domain-filling simulations. In regional domain-filling runs this parameter needs to be deactivated (0) to avoid double accounting of air parcels.</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">partStride</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Particles to skip during processing to speed up calculations for testing (1: use every particle, <inline-formula><mml:math id="M459" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>: use every <inline-formula><mml:math id="M460" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>th particle).</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TB7"><label>Table B7</label><caption><p id="d2e11298">Parameters in the settings groups LAGRANTO. Variables are identified by column index, starting from 0. Variables not contained in trajectory files are specified as value <inline-formula><mml:math id="M461" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="10cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Parameter</oasis:entry>
         <oasis:entry colname="col2">Type</oasis:entry>
         <oasis:entry colname="col3">Example</oasis:entry>
         <oasis:entry colname="col4" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">partMass</oasis:entry>
         <oasis:entry colname="col2">f</oasis:entry>
         <oasis:entry colname="col3">4 <inline-formula><mml:math id="M462" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> 10<sup>6</sup></oasis:entry>
         <oasis:entry colname="col4" align="left">Particle mass per arriving trajectory, obtained as <inline-formula><mml:math id="M464" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>x</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>y</mml:mi><mml:mo>⋅</mml:mo><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula> in units of km<sup>2</sup>  hPa.</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">inputFormat</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">1</oasis:entry>
         <oasis:entry colname="col4" align="left">Choice between different formats of the LAGRANTO file. Format where the header contains time in HH (hours) only set by (0), format with header time in HH:MM (hours and minutes set by (1).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexPressure</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">3</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable air parcel pressure (in hPa).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexBoundaryLayerHeight</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">11</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable boundary-layer height (in m).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexSkinTemperature</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">12</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable surface skin temperature (in K).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexPotentialTemperature</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">6</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable potential temperature (in K).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexSpecificHumidity</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">10</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable specific humidity (in g kg<sup>−1</sup>).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexEvaporation</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M467" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable surface evaporation (in mm).</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexTemperature</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">7</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable air temperature (in K)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexRelativeHumidity</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3">8</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable relative humidity (in %)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexHeight</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M468" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable height (in m a.g.l.)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexZonalWind</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M469" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable zonal wind (in m s<sup>−1</sup>)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexMeridionalWind</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M471" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable meridional wind (in m s<sup>−1</sup>)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">indexIntegratedWaterVapour</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M473" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable integrated water vapour (in mm)</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">index2mTemperature</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M474" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable 2 m air temperature (in K)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">indexOrography</oasis:entry>
         <oasis:entry colname="col2">i</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M475" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>1</oasis:entry>
         <oasis:entry colname="col4" align="left">Column index of variable topography height (in m a.s.l.)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>


</app>

<app id="App1.Ch1.S3">
  <label>Appendix C</label><title>Sectorisation options</title>

<table-wrap id="TC1"><label>Table C1</label><caption><p id="d2e11722">Sectorisations that are currently available in WaterSip by setting parameter sectorizeRegion in settings group Case.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="right"/>
     <oasis:thead>
       <oasis:row>
         <oasis:entry colname="col1">sectorizeRegion</oasis:entry>
         <oasis:entry colname="col2">Name</oasis:entry>
         <oasis:entry colname="col3">Number of</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">sectors</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">0</oasis:entry>
         <oasis:entry colname="col2">NEEM</oasis:entry>
         <oasis:entry colname="col3">11</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">1</oasis:entry>
         <oasis:entry colname="col2">Antarctica</oasis:entry>
         <oasis:entry colname="col3">21</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">2</oasis:entry>
         <oasis:entry colname="col2">Borneo</oasis:entry>
         <oasis:entry colname="col3">14</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">3</oasis:entry>
         <oasis:entry colname="col2">Norway</oasis:entry>
         <oasis:entry colname="col3">8</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">4</oasis:entry>
         <oasis:entry colname="col2">Arctic</oasis:entry>
         <oasis:entry colname="col3">21</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">5</oasis:entry>
         <oasis:entry colname="col2">Belize</oasis:entry>
         <oasis:entry colname="col3">15</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">6</oasis:entry>
         <oasis:entry colname="col2">Alps</oasis:entry>
         <oasis:entry colname="col3">9</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">7</oasis:entry>
         <oasis:entry colname="col2">Pakistan</oasis:entry>
         <oasis:entry colname="col3">6</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">8</oasis:entry>
         <oasis:entry colname="col2">Latitude</oasis:entry>
         <oasis:entry colname="col3">18</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">9</oasis:entry>
         <oasis:entry colname="col2">Longitude</oasis:entry>
         <oasis:entry colname="col3">36</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">10</oasis:entry>
         <oasis:entry colname="col2">China</oasis:entry>
         <oasis:entry colname="col3">19</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">11</oasis:entry>
         <oasis:entry colname="col2">Scandinavia</oasis:entry>
         <oasis:entry colname="col3">23</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">12</oasis:entry>
         <oasis:entry colname="col2">Arctic Seas</oasis:entry>
         <oasis:entry colname="col3">19</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">13</oasis:entry>
         <oasis:entry colname="col2">Pakistan 2022</oasis:entry>
         <oasis:entry colname="col3">13</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

      <p id="d2e11934">The sectorisation parameters allow to assign quantities on the moisture source and transport grid to pre-specified regions (Sect. <xref ref-type="sec" rid="Ch1.S5.SS7"/>). In total 14 sectorisations are currently built into the program code of WaterSip, covering different regions of the globe (Fig. <xref ref-type="fig" rid="FC1"/>, Table <xref ref-type="table" rid="TC1"/>). The sectorisation is specified in the run setup using parameter sectorizeRegion in settings group Case. Each of the sectors distinguishes between the respective land and ocean area. During post-processing, it is common to combine several sectors together to obtain desired information over a source region with more complex shape than a box. Users can define new sectorisations by modifying the program code in class Sectors (files <monospace>Sectors.cpp, Sectors.h</monospace>).</p><fig id="FC1"><label>Figure C1</label><caption><p id="d2e11948">Pre-defined sectorisations that are currently available in WaterSip. <bold>(a)</bold> NEEM sectorisation (11 sectors), <bold>(b)</bold> Antarctica sectorisation (21 sectors), <bold>(c)</bold> Borneo sectorisation (14 sectors), <bold>(d)</bold> Norway sectorisation (8 sectors), <bold>(e)</bold> Arctic sectorisation (21 sectors), <bold>(f)</bold> Belize sectorisation (15 sectors), <bold>(g)</bold> Alps sectorisation (9 sectors), <bold>(h)</bold> Pakistan sectorisation (6 sectors), <bold>(i)</bold> Latitude sectorisation (18 Sectors), <bold>(j)</bold> Longitude sectorisation (36 sectors), <bold>(k)</bold> China sectorisation (19 sectors), <bold>(l)</bold> Scandinavia sectorisation (23 sectors), <bold>(m)</bold> Arctic Seas sectorisation (19 sectors), <bold>(n)</bold> Pakistan 2022 sectorisation (13 sectors). Colour bar symbolic.</p></caption>
        
        <graphic xlink:href="https://gmd.copernicus.org/articles/18/8887/2025/gmd-18-8887-2025-f13.png"/>

      </fig>

</app>

<app id="App1.Ch1.S4">
  <label>Appendix D</label><title>Output files</title>
      <p id="d2e12011">WaterSip creates a range of output files with different formats (Sect. <xref ref-type="sec" rid="Ch1.S4.SS3"/> and Table <xref ref-type="table" rid="T2"/>). The primary results from the diagnostic are contained in the grid and series files. While grid files contain the spatially resolved information for different averaging intervals (time step, daily, monthly, yearly, and whole analysis period), the series files contain statistical properties (sum or mean, standard deviation, minimum and maximum) per averaging time. The source and transport properties are contained in grid and series files (Table <xref ref-type="table" rid="TD1"/>), together with arrival and forward-projected quantities (Table <xref ref-type="table" rid="TD2"/>).</p>
      <p id="d2e12027">The series file furthermore contains the results of the sectorisation (Sect. <xref ref-type="sec" rid="Ch1.S5.SS7"/>). Sectorisation variables comprise the sector area, as well as a percent fraction of the source and transport properties available on the global map per sector (Table <xref ref-type="table" rid="TD3"/>). The sector information is separated into land and sea fractions, whereby the sector number can be accessed along the dimension sector.</p>

<table-wrap id="TD1"><label>Table D1</label><caption><p id="d2e12038">Source and transport quantities contained in the grid and series files. Each variable is available as the sum, the standard deviation over the non-zero grid points, and the minimum and maximum value of the respective averaging interval. For step files, the precipitation rate is given per time step <inline-formula><mml:math id="M476" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula>, for all other files the rate is per day.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="3">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Variable</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">Units</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">moisture_uptakes_boundary_layer_(sum|std|min|max)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">mm (<inline-formula><mml:math id="M477" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> or d)<sup>−1</sup></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">moisture_uptakes_free_troposphere_(sum|std|min|max)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">mm (<inline-formula><mml:math id="M479" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> or d)<sup>−1</sup></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">evaporation_minus_precipitation_(sum|std|min|max)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">mm (<inline-formula><mml:math id="M481" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> or d)<sup>−1</sup></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">rainout_(sum|std|min|max)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">mm (<inline-formula><mml:math id="M483" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> or d)<sup>−1</sup></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">air_mass_mixing_(sum|std|min|max)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">mm (<inline-formula><mml:math id="M485" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:math></inline-formula> or d)<sup>−1</sup></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">moisture_transport_(sum|std|min|max)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">mm</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">trajectory_location_(sum|std|min|max)</oasis:entry>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">counts km<sup>−2</sup></oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TD2"><label>Table D2</label><caption><p id="d2e12278">Arrival and Lagrangian forward projected properties contained in the grid files. <sup>*</sup> denotes variables weighted in addition by the Lagrangian precipitation estimate <inline-formula><mml:math id="M489" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula>. <sup>+</sup> denotes variables weighted by the accounted fraction.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="4">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:colspec colnum="3" colname="col3" align="left"/>
     <oasis:colspec colnum="4" colname="col4" align="justify" colwidth="8cm"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Name</oasis:entry>
         <oasis:entry colname="col2">Unit</oasis:entry>
         <oasis:entry colname="col3">Projection</oasis:entry>
         <oasis:entry colname="col4" align="left">Description</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">precipitation_estimate</oasis:entry>
         <oasis:entry colname="col2">mm d<sup>−1</sup></oasis:entry>
         <oasis:entry colname="col3">arrival</oasis:entry>
         <oasis:entry colname="col4" align="left">Lagrangian precipitation estimate at arrival location, derived</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3">or mm <inline-formula><mml:math id="M492" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:msup><mml:mi>t</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col4" align="left">from change in specific humidity during last time step</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrival_temperature<sup>*</sup></oasis:entry>
         <oasis:entry colname="col2">K</oasis:entry>
         <oasis:entry colname="col3">arrival</oasis:entry>
         <oasis:entry colname="col4" align="left">temperature at trajectory location and elevation during arrival</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrival_pressure<sup>*</sup></oasis:entry>
         <oasis:entry colname="col2">hPa</oasis:entry>
         <oasis:entry colname="col3">arrival</oasis:entry>
         <oasis:entry colname="col4" align="left">pressure at trajectory location and elevation during arrival</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">arrival_skin_temperature<sup>*</sup></oasis:entry>
         <oasis:entry colname="col2">K</oasis:entry>
         <oasis:entry colname="col3">arrival</oasis:entry>
         <oasis:entry colname="col4" align="left">SKT below trajectory location during arrival</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">accounted_fraction_boundary_layer</oasis:entry>
         <oasis:entry colname="col2">fraction</oasis:entry>
         <oasis:entry colname="col3">arrival</oasis:entry>
         <oasis:entry colname="col4" align="left">fractional contribution of BL moisture sources to <inline-formula><mml:math id="M496" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">accounted_fraction_free_troposphere</oasis:entry>
         <oasis:entry colname="col2">fraction</oasis:entry>
         <oasis:entry colname="col3">arrival</oasis:entry>
         <oasis:entry colname="col4" align="left">fractional contribution of FT moisture sources to <inline-formula><mml:math id="M497" display="inline"><mml:mover accent="true"><mml:mi>P</mml:mi><mml:mo mathvariant="normal" stretchy="false">̃</mml:mo></mml:mover></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">precipitation_lifetime<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">h</oasis:entry>
         <oasis:entry colname="col3">transport</oasis:entry>
         <oasis:entry colname="col4" align="left">precipitation life time or transport time</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">transport_distance<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">km</oasis:entry>
         <oasis:entry colname="col3">transport</oasis:entry>
         <oasis:entry colname="col4" align="left">transport distance along trajectory</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">moisture_transport_temperature<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">K</oasis:entry>
         <oasis:entry colname="col3">transport</oasis:entry>
         <oasis:entry colname="col4" align="left">temperature during moisture transport</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">moisture_transport_pressure<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">hPa</oasis:entry>
         <oasis:entry colname="col3">transport</oasis:entry>
         <oasis:entry colname="col4" align="left">pressure during moisture transport</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">condensation_temperature<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">K</oasis:entry>
         <oasis:entry colname="col3">transport</oasis:entry>
         <oasis:entry colname="col4" align="left">temperature when RH <inline-formula><mml:math id="M503" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">80</mml:mn></mml:mrow></mml:math></inline-formula> % during transport</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">source_longitude<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">degrees_east</oasis:entry>
         <oasis:entry colname="col3">source</oasis:entry>
         <oasis:entry colname="col4" align="left">longitude of the moisture source</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">source_latitude<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">degrees_north</oasis:entry>
         <oasis:entry colname="col3">source</oasis:entry>
         <oasis:entry colname="col4" align="left">latitude of the moisture source</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">land_fraction<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">fraction</oasis:entry>
         <oasis:entry colname="col3">source</oasis:entry>
         <oasis:entry colname="col4" align="left">fraction of moisture sources over land</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">source_skin_temperature<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">K</oasis:entry>
         <oasis:entry colname="col3">source</oasis:entry>
         <oasis:entry colname="col4" align="left">SKT at the moisture source</oasis:entry>
       </oasis:row>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">source_distance<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">km</oasis:entry>
         <oasis:entry colname="col3">source</oasis:entry>
         <oasis:entry colname="col4" align="left">direct distance between moisture source and arrival location</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">deuterium_excess<sup>*+</sup></oasis:entry>
         <oasis:entry colname="col2">‰</oasis:entry>
         <oasis:entry colname="col3">source</oasis:entry>
         <oasis:entry colname="col4" align="left">estimate of deuterium excess at the source from RH and <inline-formula><mml:math id="M510" display="inline"><mml:mi>T</mml:mi></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"/>
         <oasis:entry colname="col2"/>
         <oasis:entry colname="col3"/>
         <oasis:entry colname="col4" align="left">using the <xref ref-type="bibr" rid="bib1.bibx38" id="text.152"/> relation</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

<table-wrap id="TD3"><label>Table D3</label><caption><p id="d2e12840">Sectorisation variables contained in the series files.</p></caption><oasis:table frame="topbot"><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="left"/>
     <oasis:thead>
       <oasis:row rowsep="1">
         <oasis:entry colname="col1">Variable</oasis:entry>
         <oasis:entry colname="col2">Unit</oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">time</oasis:entry>
         <oasis:entry colname="col2">days since 0001-01-01 00:00:00</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sector</oasis:entry>
         <oasis:entry colname="col2">sector number</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sector_area</oasis:entry>
         <oasis:entry colname="col2">km<sup>2</sup></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">land_fraction_moisture_uptakes_boundary_layer</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sea_fraction_moisture_uptakes_boundary_layer</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">land_fraction_moisture_uptakes_free_troposphere</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sea_fraction_moisture_uptakes_free_troposphere</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">land_fraction_trajectory_location</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sea_fraction_trajectory_location</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">land_fraction_moisture_transport</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sea_fraction_moisture_transport</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">land_fraction_airmass_mixing</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sea_fraction_airmass_mixing</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">land_fraction_rainout</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sea_fraction_rainout</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">land_fraction_evaporation_minus_precipitation</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">sea_fraction_evaporation_minus_precipitation</oasis:entry>
         <oasis:entry colname="col2">%</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap>

</app>
  </app-group><notes notes-type="codedataavailability"><title>Code and data availability</title>

      <p id="d2e13034">The model code of the WaterSip diagnostic in its current version 3.2.1 is available as archived code at <ext-link xlink:href="https://doi.org/10.5281/zenodo.15068065" ext-link-type="DOI">10.5281/zenodo.15068065</ext-link> <xref ref-type="bibr" rid="bib1.bibx44" id="paren.153"/> and maintained at the git repository <uri>https://git.app.uib.no/GFI-public/watersip</uri> (last access: 20 November 2025). Test data sets with FLEXPART output and corresponding WaterSip results are available at <ext-link xlink:href="https://doi.org/10.5281/zenodo.14836548" ext-link-type="DOI">10.5281/zenodo.14836548</ext-link> <xref ref-type="bibr" rid="bib1.bibx43" id="paren.154"/>.</p>
  </notes><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d2e13055">The author has declared that there are no competing interests.</p>
  </notes><notes notes-type="disclaimer"><title>Disclaimer</title>

      <p id="d2e13061">Publisher’s note: Copernicus Publications remains neutral with regard to jurisdictional claims made in the text, published maps, institutional affiliations, or any other geographical representation in this paper. While Copernicus Publications makes every effort to include appropriate place names, the final responsibility lies with the authors. Views expressed in the text are those of the authors and do not necessarily reflect the views of the publisher.</p>
  </notes><ack><title>Acknowledgements</title><p id="d2e13067">I would like to acknowledge the many colleagues who contributed through their interest and comments, curiosity and critical questions to the further development of the WaterSip tool, in particular Alexander Läderach, Astrid Fremme, Yongbiao Weng, Mika Lanzky, and Matthew Osman. Marte Hofsteenge and Costijn Zwart are kindly acknowledged for providing helpful comments to an earlier version of this manuscript. I also want to thank Marina Dütsch and an anonymous reviewer for their detailed and constructive comments. The computations were performed on resources provided by Sigma2 - the National Infrastructure for High-Performance Computing and Data Storage in Norway.</p></ack><notes notes-type="financialsupport"><title>Financial support</title>

      <p id="d2e13075">This research has been supported by the Norges Forskningsråd (grant no. 262710) and the European Research Council (ERC) within the EU's H2020 research programme (grant no. 773245).</p>
  </notes><notes notes-type="reviewstatement"><title>Review statement</title>

      <p id="d2e13081">This paper was edited by Penelope Maher and reviewed by Marina Duetsch and one anonymous referee.</p>
  </notes><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Aemisegger et al.(2014)Aemisegger, Pfahl, Sodemann, Lehner, Seneviratne, and Wernli</label><mixed-citation>Aemisegger, F., Pfahl, S., Sodemann, H., Lehner, I., Seneviratne, S. I., and Wernli, H.: Deuterium excess as a proxy for continental moisture recycling and plant transpiration, Atmos. Chem. Phys., 14, 4029–4054, <ext-link xlink:href="https://doi.org/10.5194/acp-14-4029-2014" ext-link-type="DOI">10.5194/acp-14-4029-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Araguás-Araguás et al.(2000)Araguás-Araguás, Froehlich, and Rozanski</label><mixed-citation>Araguás-Araguás, L., Froehlich, K., and Rozanski, K.: Deuterium and oxygen-18 isotope composition of precipitation and atmospheric moisture, Hydrological Processes, 14, 1341–1355, <ext-link xlink:href="https://doi.org/10.1002/1099-1085(20000615)14:8&lt;1341::AID-HYP983&gt;3.0.CO;2-Z" ext-link-type="DOI">10.1002/1099-1085(20000615)14:8&lt;1341::AID-HYP983&gt;3.0.CO;2-Z</ext-link>, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Bakels et al.(2024)Bakels, Tatsii, Tipka, Thompson, Dütsch, Blaschek, Seibert, Baier, Bucci, Cassiani, Eckhardt, Groot Zwaaftink, Henne, Kaufmann, Lechner, Maurer, Mulder, Pisso, Plach, Subramanian, Vojta, and Stohl</label><mixed-citation>Bakels, L., Tatsii, D., Tipka, A., Thompson, R., Dütsch, M., Blaschek, M., Seibert, P., Baier, K., Bucci, S., Cassiani, M., Eckhardt, S., Groot Zwaaftink, C., Henne, S., Kaufmann, P., Lechner, V., Maurer, C., Mulder, M. D., Pisso, I., Plach, A., Subramanian, R., Vojta, M., and Stohl, A.: FLEXPART version 11: improved accuracy, efficiency, and flexibility, Geosci. Model Dev., 17, 7595–7627, <ext-link xlink:href="https://doi.org/10.5194/gmd-17-7595-2024" ext-link-type="DOI">10.5194/gmd-17-7595-2024</ext-link>, 2024.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Baker et al.(2015)Baker, Sodemann, Baldini, Breitenbach, Johnson, van Hunen, and Pingzhong</label><mixed-citation>Baker, A., Sodemann, H., Baldini, J. U. L., Breitenbach, S. F. M., Johnson, K. R., van Hunen, J., and Pingzhong, Z.: Seasonality of westerly moisture transport in the East Asian Summer Monsoon and its implications for interpreting precipitation <inline-formula><mml:math id="M512" display="inline"><mml:mrow><mml:msup><mml:mi mathvariant="italic">δ</mml:mi><mml:mn mathvariant="normal">18</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula>O, J. Geophys. Res., 120, <ext-link xlink:href="https://doi.org/10.1002/2014JD022919" ext-link-type="DOI">10.1002/2014JD022919</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Bohlinger et al.(2017)Bohlinger, Sorteberg, , and Sodemann</label><mixed-citation>Bohlinger, P., Sorteberg, A.,  and Sodemann, H.: Synoptic conditions and moisture sources actuating extreme precipitation in Nepal, Journal of Geophysical Research: Atmospheres, 122, 12653–12671, <ext-link xlink:href="https://doi.org/10.1002/2017JD027543" ext-link-type="DOI">10.1002/2017JD027543</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Bohlinger et al.(2018)Bohlinger, Sorteberg, Liu, Rasmussen, Sodemann, and Ogawa</label><mixed-citation>Bohlinger, P., Sorteberg, A., Liu, C., Rasmussen, R., Sodemann, H., and Ogawa, F.: Multiscale characteristics of an extreme precipitation event over Nepal, QJRMS, 18 pp., <ext-link xlink:href="https://doi.org/10.1002/qj.3418" ext-link-type="DOI">10.1002/qj.3418</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Bonne et al.(2014)Bonne, Masson-Delmotte, Cattani, Delmotte, Risi, Sodemann, and Steen-Larsen</label><mixed-citation>Bonne, J.-L., Masson-Delmotte, V., Cattani, O., Delmotte, M., Risi, C., Sodemann, H., and Steen-Larsen, H. C.: The isotopic composition of water vapour and precipitation in Ivittuut, southern Greenland, Atmos. Chem. Phys., 14, 4419–4439, <ext-link xlink:href="https://doi.org/10.5194/acp-14-4419-2014" ext-link-type="DOI">10.5194/acp-14-4419-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Bonne et al.(2015)Bonne, Steen-Larsen, Risi, Werner, Sodemann, Lacour, Fettweis, Cesana, Delmotte, Cattani, Vallelonga, Kjær, Clerbaux, Sveinbjörnsdóttir, and Masson-Delmotte</label><mixed-citation>Bonne, J.-L., Steen-Larsen, H. C., Risi, C., Werner, M., Sodemann, H., Lacour, J.-L., Fettweis, X., Cesana, G., Delmotte, M., Cattani, O., Vallelonga, P., Kjær, H. A., Clerbaux, C., Sveinbjörnsdóttir, A. E., and Masson-Delmotte, V.: The summer 2012 Greenland heat wave: In situ and remote sensing observations of water vapor isotopic composition during an atmospheric river event, J. Geophys. Res., 120, 2970–2989, <ext-link xlink:href="https://doi.org/10.1002/2014JD022602" ext-link-type="DOI">10.1002/2014JD022602</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Breitenbach et al.(2010)Breitenbach, Adkins, Meyer, Marwan, Kumar, and Haug</label><mixed-citation>Breitenbach, S. F., Adkins, J. F., Meyer, H., Marwan, N., Kumar, K. K., and Haug, G. H.: Strong influence of water vapor source dynamics on stable isotopes in precipitation observed in Southern Meghalaya, NE India, Earth and Planetary Science Letters, 292, 212–220, <ext-link xlink:href="https://doi.org/10.1016/j.epsl.2010.01.038" ext-link-type="DOI">10.1016/j.epsl.2010.01.038</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Brubaker et al.(1993)Brubaker, Entekhabi, and Eagleson</label><mixed-citation>Brubaker, K. L., Entekhabi, D., and Eagleson, P. S.: Estimation of continental precipitation recycling, J. Climate, 6, 1077–1089, <ext-link xlink:href="https://doi.org/10.1175/1520-0442(1993)006&lt;1077:EOCPR&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0442(1993)006&lt;1077:EOCPR&gt;2.0.CO;2</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Brubaker et al.(2001)Brubaker, Dirmeyer, Sudradjat, Levy, and Bernal</label><mixed-citation>Brubaker, K. L., Dirmeyer, P. A., Sudradjat, A., Levy, B. S., and Bernal, F.: A 36-yr climatological description of the evaporative sources of warm-season precipitation in the Mississippi river basin, J. Hydrometeorol., 2, 537–557, <ext-link xlink:href="https://doi.org/10.1175/1525-7541(2001)002&lt;0537:AYCDOT&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1525-7541(2001)002&lt;0537:AYCDOT&gt;2.0.CO;2</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Buizert et al.(2018)Buizert, Sigl, Severi, Markle, Wettstein, McConnell, Pedro, Sodemann, Goto-Azuma, Kawamura, Fujita, Motoyama, Hirabayashi, Uemura, Stenni, Parrenin, He, Fudge, and Steig</label><mixed-citation> Buizert, C., Sigl, M., Severi, M., Markle, B., Wettstein, J., McConnell, J., Pedro, J., Sodemann, H., Goto-Azuma, K., Kawamura, K., Fujita, S., Motoyama, H., Hirabayashi, M., Uemura, R., Stenni, B., Parrenin, F., He, F., Fudge, T., and Steig, E. J.: Abrupt ice-age shifts in southern westerly winds and Antarctic climate forced from the north, Nature, 563, 681–685, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Dirmeyer and Brubaker(1999)</label><mixed-citation>Dirmeyer, P. A. and Brubaker, K. L.: Contrasting evaporative moisture sources during the drought of 1988 and the flood of 1993, J. Geophys. Res., 104, 19383–19397, <ext-link xlink:href="https://doi.org/10.1029/1999JD900222" ext-link-type="DOI">10.1029/1999JD900222</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx14"><label>Dominguez et al.(2016)Dominguez, Miguez-Macho, and Hu</label><mixed-citation>Dominguez, F., Miguez-Macho, G., and Hu, H.: WRF with Water Vapor Tracers: A Study of Moisture Sources for the North American Monsoon, Journal of Hydrometeorology, 17, 1915–1927, <ext-link xlink:href="https://doi.org/10.1175/JHM-D-15-0221.1" ext-link-type="DOI">10.1175/JHM-D-15-0221.1</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Dominguez et al.(2020)Dominguez, Hu, and Martinez</label><mixed-citation>Dominguez, F., Hu, H., and Martinez, J. A.: Two-Layer Dynamic Recycling Model (2L-DRM): Learning from Moisture Tracking Models of Different Complexity, Journal of Hydrometeorology, 21, 3 – 16, <ext-link xlink:href="https://doi.org/10.1175/JHM-D-19-0101.1" ext-link-type="DOI">10.1175/JHM-D-19-0101.1</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Dütsch et al.(2018)Dütsch, Pfahl, Meyer, and Wernli</label><mixed-citation>Dütsch, M., Pfahl, S., Meyer, M., and Wernli, H.: Lagrangian process attribution of isotopic variations in near-surface water vapour in a 30-year regional climate simulation over Europe, Atmos. Chem. Phys., 18, 1653–1669, <ext-link xlink:href="https://doi.org/10.5194/acp-18-1653-2018" ext-link-type="DOI">10.5194/acp-18-1653-2018</ext-link>, 2018.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Eltahir and Bras(1994)</label><mixed-citation>Eltahir, E. A. B. and Bras, R. L.: Precipitation recycling in the Amazon basin, Q. J. Roy. Meteor. Soc., 120, 861–880, <ext-link xlink:href="https://doi.org/10.1002/qj.49712051806" ext-link-type="DOI">10.1002/qj.49712051806</ext-link>, 1994.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Eltahir and Bras(1996)</label><mixed-citation>Eltahir, E. A. B. and Bras, R. L.: Precipitation recycling, Reviews of Geophysics, 34, 367–378, <ext-link xlink:href="https://doi.org/10.1029/96RG01927" ext-link-type="DOI">10.1029/96RG01927</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Fernández-Alvarez et al.(2022)Fernández-Alvarez, Pérez-Alarcón, Nieto, and Gimeno</label><mixed-citation>Fernández-Alvarez, J. C., Pérez-Alarcón, A., Nieto, R., and Gimeno, L.: TROVA: TRansport Of water VApor, SoftwareX, 20, 101228, <ext-link xlink:href="https://doi.org/10.1016/j.softx.2022.101228" ext-link-type="DOI">10.1016/j.softx.2022.101228</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Flatau et al.(1992)Flatau, Walko, and Cotton</label><mixed-citation>Flatau, P. J., Walko, R. L., and Cotton, W. R.: Polynomial Fits to Saturation Vapor Pressure, Journal of Applied Meteorology and Climatology, 31, 1507–1513, <ext-link xlink:href="https://doi.org/10.1175/1520-0450(1992)031&lt;1507:PFTSVP&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1520-0450(1992)031&lt;1507:PFTSVP&gt;2.0.CO;2</ext-link>, 1992.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Fremme and Sodemann(2019)</label><mixed-citation>Fremme, A. and Sodemann, H.: The role of land and ocean evaporation on the variability of precipitation in the Yangtze River valley, Hydrol. Earth Syst. Sci., 23, 2525–2540, <ext-link xlink:href="https://doi.org/10.5194/hess-23-2525-2019" ext-link-type="DOI">10.5194/hess-23-2525-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Fremme et al.(2023)Fremme, Hezel, Seland, and Sodemann</label><mixed-citation>Fremme, A., Hezel, P. J., Seland, Ø., and Sodemann, H.: Model-simulated hydroclimate in the East Asian summer monsoon region during past and future climate: a pilot study with a moisture source perspective, Weather Clim. Dynam., 4, 449–470, <ext-link xlink:href="https://doi.org/10.5194/wcd-4-449-2023" ext-link-type="DOI">10.5194/wcd-4-449-2023</ext-link>, 2023.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Gimeno et al.(2021)Gimeno, Eiras-Barca, Durán-Quesada, Dominguez, van der Ent, Sodemann, Sánchez-Murillo, Nieto, and Kirchner</label><mixed-citation>Gimeno, L., Eiras-Barca, J., Durán-Quesada, A. M., Dominguez, F., van der Ent, R., Sodemann, H., Sánchez-Murillo, R., Nieto, R., and Kirchner, J. W.: The residence time of water vapour in the atmosphere, Nature Reviews Earth &amp; Environment, 2, 558–569, <ext-link xlink:href="https://doi.org/10.1038/s43017-021-00181-9" ext-link-type="DOI">10.1038/s43017-021-00181-9</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Gustafsson et al.(2010)Gustafsson, Rayner, and Chen</label><mixed-citation>Gustafsson, M., Rayner, D., and Chen, D.: Extreme rainfall events in southern Sweden: where does the moisture come from?, Tellus A, 62, 605–616, <ext-link xlink:href="https://doi.org/10.1111/j.1600-0870.2010.00456.x" ext-link-type="DOI">10.1111/j.1600-0870.2010.00456.x</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Hirdman et al.(2010)Hirdman, Sodemann, Eckhardt, Burkhart, Jefferson, Mefford, Quinn, Sharma, Ström, and Stohl</label><mixed-citation>Hirdman, D., Sodemann, H., Eckhardt, S., Burkhart, J. F., Jefferson, A., Mefford, T., Quinn, P. K., Sharma, S., Ström, J., and Stohl, A.: Source identification of short-lived air pollutants in the Arctic using statistical analysis of measurement data and particle dispersion model output, Atmos. Chem. Phys., 10, 669–693, <ext-link xlink:href="https://doi.org/10.5194/acp-10-669-2010" ext-link-type="DOI">10.5194/acp-10-669-2010</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Hofsteenge et al.(2025)Hofsteenge, Cullen, Sodemann, and Katurji</label><mixed-citation>Hofsteenge, M. G., Cullen, N. J., Sodemann, H., and Katurji, M.: Synoptic Drivers and Moisture Sources of Snowfall in Coastal Victoria Land, Antarctica, Journal of Geophysical Research: Atmospheres, 130, e2024JD042021, <ext-link xlink:href="https://doi.org/10.1029/2024JD042021" ext-link-type="DOI">10.1029/2024JD042021</ext-link>, 2025.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Holgate et al.(2020)Holgate, Van Dijk, Evans, and Pitman</label><mixed-citation>Holgate, C. M., Van Dijk, A. I. J. M., Evans, J. P., and Pitman, A. J.: Local and Remote Drivers of Southeast Australian Drought, Geophysical Research Letters, 47, e2020GL090238, <ext-link xlink:href="https://doi.org/10.1029/2020GL090238" ext-link-type="DOI">10.1029/2020GL090238</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Johnsen et al.(1989)Johnsen, Dansgaard, and White</label><mixed-citation>Johnsen, S. J., Dansgaard, W., and White, J. W. C.: The origin of Arctic precipitation under present and glacial conditions, Tellus B, 41B, 452–468, <ext-link xlink:href="https://doi.org/10.1111/j.1600-0889.1989.tb00321.x" ext-link-type="DOI">10.1111/j.1600-0889.1989.tb00321.x</ext-link>, 1989.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Keune et al.(2022)Keune, Schumacher, and Miralles</label><mixed-citation>Keune, J., Schumacher, D. L., and Miralles, D. G.: A unified framework to estimate the origins of atmospheric moisture and heat using Lagrangian models, Geosci. Model Dev., 15, 1875–1898, <ext-link xlink:href="https://doi.org/10.5194/gmd-15-1875-2022" ext-link-type="DOI">10.5194/gmd-15-1875-2022</ext-link>, 2022.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Laederach(2016)</label><mixed-citation>Laederach, A.: Characteristic scales of atmospheric moisture transport, Ph.D. thesis, ETH Zurich, Diss ETH No. 23586, <ext-link xlink:href="https://doi.org/10.3929/ethz-a-010741025" ext-link-type="DOI">10.3929/ethz-a-010741025</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Laederach and Sodemann(2016)</label><mixed-citation>Laederach, A. and Sodemann, H.: A revised picture of the atmospheric residence time of water vapour, Geophys. Res. Lett., 43, 924–933, <ext-link xlink:href="https://doi.org/10.1002/2015GL067449" ext-link-type="DOI">10.1002/2015GL067449</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bibx32"><label>Martius et al.(2012)Martius, Sodemann, Joos, Pfahl, Winschall, Croci-Maspoli, Graf, Madonna, Mueller, Schemm, Sedlacek, Sprenger, and Wernli</label><mixed-citation>Martius, O., Sodemann, H., Joos, H., Pfahl, S., Winschall, A., Croci-Maspoli, M., Graf, M., Madonna, E., Mueller, B., Schemm, S., Sedlacek, J., Sprenger, M., and Wernli, H.: The role of upper-level dynamics and surface processes for the Pakistan flood in July 2010, Q. J. Roy. Meteor. Soc., <ext-link xlink:href="https://doi.org/10.1002/qj.2082" ext-link-type="DOI">10.1002/qj.2082</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Masson-Delmotte et al.(2011)Masson-Delmotte, Buiron, Ekaykin, Frezzotti, Gallée, Jouzel, Krinner, Landais, Motoyama, Oerter, Pol, Pollard, Ritz, Schlosser, Sime, Sodemann, Stenni, R., and Vimeux</label><mixed-citation>Masson-Delmotte, V., Buiron, D., Ekaykin, A., Frezzotti, M., Gallée, H., Jouzel, J., Krinner, G., Landais, A., Motoyama, H., Oerter, H., Pol, K., Pollard, D., Ritz, C., Schlosser, E., Sime, L. C., Sodemann, H., Stenni, B., Uemura, R., and Vimeux, F.: A comparison of the present and last interglacial periods in six Antarctic ice cores, Clim. Past, 7, 397–423, <ext-link xlink:href="https://doi.org/10.5194/cp-7-397-2011" ext-link-type="DOI">10.5194/cp-7-397-2011</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Miltenberger et al.(2013)Miltenberger, Pfahl, and Wernli</label><mixed-citation>Miltenberger, A. K., Pfahl, S., and Wernli, H.: An online trajectory module (version 1.0) for the nonhydrostatic numerical weather prediction model COSMO, Geosci. Model Dev., 6, 1989–2004, <ext-link xlink:href="https://doi.org/10.5194/gmd-6-1989-2013" ext-link-type="DOI">10.5194/gmd-6-1989-2013</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>Moerman et al.(2013)Moerman, Cobb, Adkins, Sodemann, Clark, and Tuen</label><mixed-citation>Moerman, J. W., Cobb, K. M., Adkins, J. F., Sodemann, H., Clark, B., and Tuen, A. A.: Diurnal to interannual rainfall δ<sup>18</sup>O variations in northern Borneo driven by regional hydrology, Earth and Planetary Science Letters, 369–370, 108–119, <ext-link xlink:href="https://doi.org/10.1016/j.epsl.2013.03.014" ext-link-type="DOI">10.1016/j.epsl.2013.03.014</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx36"><label>Numaguti(1999)</label><mixed-citation>Numaguti, A.: Origin and recycling processes of precipitating water over the Eurasian continent: Experiments using an atmospheric general circulation model, J. Geophys. Res., 104, 1957–1972, <ext-link xlink:href="https://doi.org/10.1029/1998JD200026" ext-link-type="DOI">10.1029/1998JD200026</ext-link>, 1999.</mixed-citation></ref>
      <ref id="bib1.bibx37"><label>Osman et al.(2021)Osman, Smith, Trusel, Das, McConnell, Chellman, Arienzo, and Sodemann</label><mixed-citation>Osman, M. B., Smith, B. E., Trusel, L. D., Das, S. B., McConnell, J. R., Chellman, N., Arienzo, M., and Sodemann, H.: Abrupt Common Era hydroclimate shifts drive west Greenland ice cap change, Nature Geoscience, 14, 756–761, <ext-link xlink:href="https://doi.org/10.1038/s41561-021-00818-w" ext-link-type="DOI">10.1038/s41561-021-00818-w</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx38"><label>Pfahl and Sodemann(2014)</label><mixed-citation>Pfahl, S. and Sodemann, H.: What controls deuterium excess in global precipitation?, Clim. Past, 10, 771–781, <ext-link xlink:href="https://doi.org/10.5194/cp-10-771-2014" ext-link-type="DOI">10.5194/cp-10-771-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx39"><label>Pisso et al.(2019)Pisso, Sollum, Grythe, Kristiansen, Cassiani, Eckhardt, Arnold, Morton, Thompson, Groot Zwaaftink, Evangeliou, Sodemann, Haimberger, Henne, Brunner, Burkhart, Fouilloux, Brioude, Philipp, Seibert, and Stohl</label><mixed-citation>Pisso, I., Sollum, E., Grythe, H., Kristiansen, N. I., Cassiani, M., Eckhardt, S., Arnold, D., Morton, D., Thompson, R. L., Groot Zwaaftink, C. D., Evangeliou, N., Sodemann, H., Haimberger, L., Henne, S., Brunner, D., Burkhart, J. F., Fouilloux, A., Brioude, J., Philipp, A., Seibert, P., and Stohl, A.: The Lagrangian particle dispersion model FLEXPART version 10.4, Geosci. Model Dev., 12, 4955–4997, <ext-link xlink:href="https://doi.org/10.5194/gmd-12-4955-2019" ext-link-type="DOI">10.5194/gmd-12-4955-2019</ext-link>, 2019.</mixed-citation></ref>
      <ref id="bib1.bibx40"><label>Salati et al.(1979)Salati, Dall'Olio, Matsui, and Gat</label><mixed-citation>Salati, E., Dall'Olio, A., Matsui, E., and Gat, J. R.: Recycling of water in the Amazon Basin: An isotopic study, Water Resources Research, 15, 1250–1258, <ext-link xlink:href="https://doi.org/10.1029/WR015i005p01250" ext-link-type="DOI">10.1029/WR015i005p01250</ext-link>, 1979.</mixed-citation></ref>
      <ref id="bib1.bibx41"><label>Singh et al.(2017)Singh, Bitz, Donohoe, and Rasch</label><mixed-citation>Singh, H. K. A., Bitz, C. M., Donohoe, A., and Rasch, P. J.: A Source–Receptor Perspective on the Polar Hydrologic Cycle: Sources, Seasonality, and Arctic–Antarctic Parity in the Hydrologic Cycle Response to CO2 Doubling, Journal of Climate, 30, 9999–10017, <ext-link xlink:href="https://doi.org/10.1175/JCLI-D-16-0917.1" ext-link-type="DOI">10.1175/JCLI-D-16-0917.1</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx42"><label>Sodemann(2020)</label><mixed-citation>Sodemann, H.: Beyond turnover time: Constraining the lifetime distribution of water vapor from simple and complex approaches, Journal of the Atmospheric Sciences, 77, 413–433, <ext-link xlink:href="https://doi.org/10.1175/JAS-D-18-0336.1" ext-link-type="DOI">10.1175/JAS-D-18-0336.1</ext-link>, 2020.</mixed-citation></ref>
      <ref id="bib1.bibx43"><label>Sodemann(2025a)</label><mixed-citation>Sodemann, H.: Source code of the Lagrangian moisture source and transport diagnostic WaterSip V3.2.1, Zenodo [code], <ext-link xlink:href="https://doi.org/10.5281/zenodo.15068065" ext-link-type="DOI">10.5281/zenodo.15068065</ext-link>, 2025a.</mixed-citation></ref>
      <ref id="bib1.bibx44"><label>Sodemann(2025b)</label><mixed-citation>Sodemann, H.: Particle position output from the FLEXPART dispersion model for a test case for use with the WaterSip moisture source diagnostic, Zenodo [data set], <ext-link xlink:href="https://doi.org/10.5281/zenodo.14836548" ext-link-type="DOI">10.5281/zenodo.14836548</ext-link>, 2025b.</mixed-citation></ref>
      <ref id="bib1.bibx45"><label>Sodemann and Stohl(2009)</label><mixed-citation>Sodemann, H. and Stohl, A.: Asymmetries in the moisture origin of Antarctic precipitation, Geophys. Res. Lett., 36, L22803, <ext-link xlink:href="https://doi.org/10.1029/2009GL040242" ext-link-type="DOI">10.1029/2009GL040242</ext-link>, 2009.</mixed-citation></ref>
      <ref id="bib1.bibx46"><label>Sodemann and Zubler(2010)</label><mixed-citation>Sodemann, H. and Zubler, E.: Seasonal and inter-annual variability of the moisture sources for Alpine precipitation during 1995-2002, Int. J. Climatol., 30, 947–961, <ext-link xlink:href="https://doi.org/10.1002/joc.1932" ext-link-type="DOI">10.1002/joc.1932</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx47"><label>Sodemann et al.(2008a)Sodemann, Masson-Delmotte, Schwierz, Vinther, and Wernli</label><mixed-citation>Sodemann, H., Masson-Delmotte, V., Schwierz, C., Vinther, B. M., and Wernli, H.: Interannual variability of Greenland winter precipitation sources: 2. Effects of North Atlantic Oscillation variability on stable isotopes in precipitation, J. Geophys. Res., 113, D12111, <ext-link xlink:href="https://doi.org/10.1029/2007JD009416" ext-link-type="DOI">10.1029/2007JD009416</ext-link>, 2008a.</mixed-citation></ref>
      <ref id="bib1.bibx48"><label>Sodemann et al.(2008b)Sodemann, Schwierz, and Wernli</label><mixed-citation>Sodemann, H., Schwierz, C., and Wernli, H.: Interannual variability of Greenland winter precipitation sources: Lagrangian moisture diagnostic and North Atlantic Oscillation influence, J. Geophys. Res., 113, D03107, <ext-link xlink:href="https://doi.org/10.1029/2007JD008503" ext-link-type="DOI">10.1029/2007JD008503</ext-link>, 2008b.</mixed-citation></ref>
      <ref id="bib1.bibx49"><label>Sprenger and Wernli(2015)</label><mixed-citation>Sprenger, M. and Wernli, H.: The LAGRANTO Lagrangian analysis tool – version 2.0, Geosci. Model Dev., 8, 2569–2586, <ext-link xlink:href="https://doi.org/10.5194/gmd-8-2569-2015" ext-link-type="DOI">10.5194/gmd-8-2569-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx50"><label>Steen-Larsen et al.(2015)Steen-Larsen, Sveinbjörnsdottir, Jonsson, Ritter, Bonne, Masson-Delmotte, Sodemann, Blunier, Dahl-Jensen, and Vinther</label><mixed-citation>Steen-Larsen, H. C., Sveinbjörnsdottir, A. E., Jonsson, T., Ritter, F., Bonne, J.-L., Masson-Delmotte, V., Sodemann, H., Blunier, T., Dahl-Jensen, D., and Vinther, B. M.: Moisture sources and synoptic to seasonal variability of North Atlantic water vapor isotopic composition, J. Geophys. Res., 120, 5757–5774, <ext-link xlink:href="https://doi.org/10.1002/2015JD023234" ext-link-type="DOI">10.1002/2015JD023234</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx51"><label>Stohl(1998)</label><mixed-citation>Stohl, A.: Computation, accuracy and applications of trajectories–A review and bibliography, Atmos. Environ., 32, 947–966, ISSN 1352-2310, <uri>https://doi.org/10.1016/S1352-2310(97)00457-3</uri>, 1998.</mixed-citation></ref>
      <ref id="bib1.bibx52"><label>Stohl(2006)</label><mixed-citation>Stohl, A.: Characteristics of atmospheric transport into the Arctic troposphere, Journal of Geophysical Research: Atmospheres, 111, <ext-link xlink:href="https://doi.org/10.1029/2005JD006888" ext-link-type="DOI">10.1029/2005JD006888</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx53"><label>Stohl and James(2004)</label><mixed-citation>Stohl, A. and James, P.: A Lagrangian analysis of the atmospheric branch of the global water cycle. Part I: Method description, validation, and demonstration for the August 2002 flooding in Central Europe, J. Hydrometeorol., 5, 656–678, <ext-link xlink:href="https://doi.org/10.1175/1525-7541(2004)005&lt;0656:ALAOTA&gt;2.0.CO;2" ext-link-type="DOI">10.1175/1525-7541(2004)005&lt;0656:ALAOTA&gt;2.0.CO;2</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx54"><label>Stohl and James(2005)</label><mixed-citation>Stohl, A. and James, P.: A Lagrangian analysis of the atmospheric branch of the global water cycle. Part II: Moisture transports between earth’s ocean basins and river catchments, J. Hydrometeorol., 6, 961–984, <ext-link xlink:href="https://doi.org/10.1175/JHM470.1" ext-link-type="DOI">10.1175/JHM470.1</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx55"><label>Stohl et al.(2005)Stohl, Forster, Frank, Seibert, and Wotawa</label><mixed-citation>Stohl, A., Forster, C., Frank, A., Seibert, P., and Wotawa, G.: Technical note: The Lagrangian particle dispersion model FLEXPART version 6.2, Atmos. Chem. Phys., 5, 2461–2474, <ext-link xlink:href="https://doi.org/10.5194/acp-5-2461-2005" ext-link-type="DOI">10.5194/acp-5-2461-2005</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bibx56"><label>Terpstra et al.(2021)Terpstra, Gorodetskaya, and Sodemann</label><mixed-citation>Terpstra, A., Gorodetskaya, I. V., and Sodemann, H.: Linking Sub-Tropical Evaporation and Extreme Precipitation Over East Antarctica: An Atmospheric River Case Study, Journal of Geophysical Research: Atmospheres, 126, e2020JD033617, <ext-link xlink:href="https://doi.org/10.1029/2020JD033617" ext-link-type="DOI">10.1029/2020JD033617</ext-link>,  2021.</mixed-citation></ref>
      <ref id="bib1.bibx57"><label>Trenberth et al.(2007)Trenberth, Smith, Qian, Dai, and Fasullo</label><mixed-citation>Trenberth, K. E., Smith, L., Qian, T., Dai, A., and Fasullo, J.: Estimates of the Global Water Budget and Its Annual Cycle Using Observational and Model Data, Journal of Hydrometeorology, 8, 758–769, <ext-link xlink:href="https://doi.org/10.1175/JHM600.1" ext-link-type="DOI">10.1175/JHM600.1</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx58"><label>van der Ent et al.(2013)van der Ent, Tuinenburg, Knoche, Kunstmann, and Savenije</label><mixed-citation>van der Ent, R. J., Tuinenburg, O. A., Knoche, H.-R., Kunstmann, H., and Savenije, H. H. G.: Should we use a simple or complex model for moisture recycling and atmospheric moisture tracking?, Hydrol. Earth Syst. Sci., 17, 4869–4884, <ext-link xlink:href="https://doi.org/10.5194/hess-17-4869-2013" ext-link-type="DOI">10.5194/hess-17-4869-2013</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx59"><label>van der Ent et al.(2014)van der Ent, Wang-Erlandsson, Keys, and Savenije</label><mixed-citation>van der Ent, R. J., Wang-Erlandsson, L., Keys, P. W., and Savenije, H. H. G.: Contrasting roles of interception and transpiration in the hydrological cycle – Part 2: Moisture recycling, Earth Syst. Dynam., 5, 471–489, <ext-link xlink:href="https://doi.org/10.5194/esd-5-471-2014" ext-link-type="DOI">10.5194/esd-5-471-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx60"><label>Škerlak et al.(2014)Škerlak, Sprenger, and Wernli</label><mixed-citation>Škerlak, B., Sprenger, M., and Wernli, H.: A global climatology of stratosphere–troposphere exchange using the ERA-Interim data set from 1979 to 2011, Atmos. Chem. Phys., 14, 913–937, <ext-link xlink:href="https://doi.org/10.5194/acp-14-913-2014" ext-link-type="DOI">10.5194/acp-14-913-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bibx61"><label>Wang et al.(2013)Wang, Sodemann, Hou, Masson-Delmotte, Jouzel, and Pang</label><mixed-citation>Wang, Y., Sodemann, H., Hou, S., Masson-Delmotte, V., Jouzel, J., and Pang, H.: Snow accumulation and its moisture origin over Dome Argus, Antarctica, Climate Dynamics, 40, 731–742, <ext-link xlink:href="https://doi.org/10.1007/s00382-012-1398-9" ext-link-type="DOI">10.1007/s00382-012-1398-9</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx62"><label>Weng et al.(2021)Weng, Johannessen, and Sodemann</label><mixed-citation>Weng, Y., Johannessen, A., and Sodemann, H.: High-resolution stable isotope signature of a land-falling atmospheric river in southern Norway, Weather Clim. Dynam., 2, 713–737, <ext-link xlink:href="https://doi.org/10.5194/wcd-2-713-2021" ext-link-type="DOI">10.5194/wcd-2-713-2021</ext-link>, 2021.</mixed-citation></ref>
      <ref id="bib1.bibx63"><label>Winkler et al.(2012)Winkler, Landais, Sodemann, Dümbgen, Priéa, Masson-Delmotte, Stenni, and Jouzel</label><mixed-citation>Winkler, R., Landais, A., Sodemann, H., Dümbgen, L., Prié, F., Masson-Delmotte, V., Stenni, B., and Jouzel, J.: Deglaciation records of <sup>17</sup>O-excess in East Antarctica: reliable reconstruction of oceanic normalized relative humidity from coastal sites, Clim. Past, 8, 1–16, <ext-link xlink:href="https://doi.org/10.5194/cp-8-1-2012" ext-link-type="DOI">10.5194/cp-8-1-2012</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx64"><label>Winschall et al.(2014a)Winschall, Pfahl, Sodemann, and Wernli</label><mixed-citation>Winschall, A., Pfahl, S., Sodemann, H., and Wernli, H.: Comparison of Eulerian and Lagrangian moisture source diagnostics – the flood event in eastern Europe in May 2010, Atmos. Chem. Phys., 14, 6605–6619, <ext-link xlink:href="https://doi.org/10.5194/acp-14-6605-2014" ext-link-type="DOI">10.5194/acp-14-6605-2014</ext-link>, 2014a.</mixed-citation></ref>
      <ref id="bib1.bibx65"><label>Winschall et al.(2014b)Winschall, Sodemann, Pfahl, and Wernli</label><mixed-citation>Winschall, A., Sodemann, H., Pfahl, S., and Wernli, H.: How important is intensified evaporation for Mediterranean precipitation extremes?, J. Geophys. Res., 119, 5240–5256, <ext-link xlink:href="https://doi.org/10.1002/2013JD021175" ext-link-type="DOI">10.1002/2013JD021175</ext-link>, 2014b.</mixed-citation></ref>
      <ref id="bib1.bibx66"><label>Yoshimura et al.(2004)Yoshimura, Oki, Ohte, and Kanae</label><mixed-citation>Yoshimura, K., Oki, T., Ohte, N., and Kanae, S.: Colored Moisture Analysis Estimates of Variations in 1998 Asian Monsoon Water Sources, Journal of the Meteorological Society of Japan, 82, 1315–1329, <ext-link xlink:href="https://doi.org/10.2151/jmsj.2004.1315" ext-link-type="DOI">10.2151/jmsj.2004.1315</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx67"><label>Zannoni et al.(2022)Zannoni, Steen-Larsen, Peters, Wahl, Sodemann, and Sveinbjörnsdóttir</label><mixed-citation>Zannoni, D., Steen-Larsen, H. C., Peters, A. J., Wahl, S., Sodemann, H., and Sveinbjörnsdóttir, A. E.: Non-Equilibrium Fractionation Factors for D/H and <sup>18</sup>O/<sup>16</sup>O During Oceanic Evaporation in the North-West Atlantic Region, Journal of Geophysical Research: Atmospheres, 127, e2022JD037076, <ext-link xlink:href="https://doi.org/10.1029/2022JD037076" ext-link-type="DOI">10.1029/2022JD037076</ext-link>,  2022.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>The Lagrangian moisture source and transport diagnostic WaterSip V3.2</article-title-html>
<abstract-html/>
<ref-html id="bib1.bib1"><label>Aemisegger et al.(2014)Aemisegger, Pfahl, Sodemann, Lehner,
Seneviratne, and Wernli</label><mixed-citation>
      
Aemisegger, F., Pfahl, S., Sodemann, H., Lehner, I., Seneviratne, S. I., and Wernli, H.: Deuterium excess as a proxy for continental moisture recycling and plant transpiration, Atmos. Chem. Phys., 14, 4029–4054, <a href="https://doi.org/10.5194/acp-14-4029-2014" target="_blank">https://doi.org/10.5194/acp-14-4029-2014</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Araguás-Araguás et al.(2000)Araguás-Araguás, Froehlich, and
Rozanski</label><mixed-citation>
      
Araguás-Araguás, L., Froehlich, K., and Rozanski, K.: Deuterium and oxygen-18
isotope composition of precipitation and atmospheric moisture, Hydrological
Processes, 14, 1341–1355,
<a href="https://doi.org/10.1002/1099-1085(20000615)14:8&lt;1341::AID-HYP983&gt;3.0.CO;2-Z" target="_blank">https://doi.org/10.1002/1099-1085(20000615)14:8&lt;1341::AID-HYP983&gt;3.0.CO;2-Z</a>, 2000.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Bakels et al.(2024)Bakels, Tatsii, Tipka, Thompson, Dütsch,
Blaschek, Seibert, Baier, Bucci, Cassiani, Eckhardt, Groot Zwaaftink, Henne,
Kaufmann, Lechner, Maurer, Mulder, Pisso, Plach, Subramanian, Vojta, and
Stohl</label><mixed-citation>
      
Bakels, L., Tatsii, D., Tipka, A., Thompson, R., Dütsch, M., Blaschek, M., Seibert, P., Baier, K., Bucci, S., Cassiani, M., Eckhardt, S., Groot Zwaaftink, C., Henne, S., Kaufmann, P., Lechner, V., Maurer, C., Mulder, M. D., Pisso, I., Plach, A., Subramanian, R., Vojta, M., and Stohl, A.: FLEXPART version 11: improved accuracy, efficiency, and flexibility, Geosci. Model Dev., 17, 7595–7627, <a href="https://doi.org/10.5194/gmd-17-7595-2024" target="_blank">https://doi.org/10.5194/gmd-17-7595-2024</a>, 2024.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Baker et al.(2015)Baker, Sodemann, Baldini, Breitenbach, Johnson, van
Hunen, and Pingzhong</label><mixed-citation>
      
Baker, A., Sodemann, H., Baldini, J. U. L., Breitenbach, S. F. M., Johnson,
K. R., van Hunen, J., and Pingzhong, Z.: Seasonality of westerly moisture
transport in the East Asian Summer Monsoon and its implications for
interpreting precipitation <i>δ</i><sup>18</sup>O, J. Geophys. Res., 120,
<a href="https://doi.org/10.1002/2014JD022919" target="_blank">https://doi.org/10.1002/2014JD022919</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Bohlinger et al.(2017)Bohlinger, Sorteberg, , and
Sodemann</label><mixed-citation>
      
Bohlinger, P., Sorteberg, A.,  and Sodemann, H.: Synoptic conditions and
moisture sources actuating extreme precipitation in Nepal, Journal of
Geophysical Research: Atmospheres, 122, 12653–12671,
<a href="https://doi.org/10.1002/2017JD027543" target="_blank">https://doi.org/10.1002/2017JD027543</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Bohlinger et al.(2018)Bohlinger, Sorteberg, Liu, Rasmussen, Sodemann,
and Ogawa</label><mixed-citation>
      
Bohlinger, P., Sorteberg, A., Liu, C., Rasmussen, R., Sodemann, H., and Ogawa,
F.: Multiscale characteristics of an extreme precipitation event over Nepal,
QJRMS, 18 pp., <a href="https://doi.org/10.1002/qj.3418" target="_blank">https://doi.org/10.1002/qj.3418</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Bonne et al.(2014)Bonne, Masson-Delmotte, Cattani, Delmotte, Risi,
Sodemann, and Steen-Larsen</label><mixed-citation>
      
Bonne, J.-L., Masson-Delmotte, V., Cattani, O., Delmotte, M., Risi, C., Sodemann, H., and Steen-Larsen, H. C.: The isotopic composition of water vapour and precipitation in Ivittuut, southern Greenland, Atmos. Chem. Phys., 14, 4419–4439, <a href="https://doi.org/10.5194/acp-14-4419-2014" target="_blank">https://doi.org/10.5194/acp-14-4419-2014</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Bonne et al.(2015)Bonne, Steen-Larsen, Risi, Werner, Sodemann,
Lacour, Fettweis, Cesana, Delmotte, Cattani, Vallelonga, Kjær, Clerbaux,
Sveinbjörnsdóttir, and Masson-Delmotte</label><mixed-citation>
      
Bonne, J.-L., Steen-Larsen, H. C., Risi, C., Werner, M., Sodemann, H., Lacour,
J.-L., Fettweis, X., Cesana, G., Delmotte, M., Cattani, O., Vallelonga, P.,
Kjær, H. A., Clerbaux, C., Sveinbjörnsdóttir, A. E., and Masson-Delmotte,
V.: The summer 2012 Greenland heat wave: In situ and remote sensing
observations of water vapor isotopic composition during an atmospheric river
event, J. Geophys. Res., 120, 2970–2989, <a href="https://doi.org/10.1002/2014JD022602" target="_blank">https://doi.org/10.1002/2014JD022602</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Breitenbach et al.(2010)Breitenbach, Adkins, Meyer, Marwan, Kumar,
and Haug</label><mixed-citation>
      
Breitenbach, S. F., Adkins, J. F., Meyer, H., Marwan, N., Kumar, K. K., and
Haug, G. H.: Strong influence of water vapor source dynamics on stable
isotopes in precipitation observed in Southern Meghalaya, NE India, Earth and
Planetary Science Letters, 292, 212–220,
<a href="https://doi.org/10.1016/j.epsl.2010.01.038" target="_blank">https://doi.org/10.1016/j.epsl.2010.01.038</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Brubaker et al.(1993)Brubaker, Entekhabi, and
Eagleson</label><mixed-citation>
      
Brubaker, K. L., Entekhabi, D., and Eagleson, P. S.: Estimation of continental
precipitation recycling, J. Climate, 6, 1077–1089,
<a href="https://doi.org/10.1175/1520-0442(1993)006&lt;1077:EOCPR&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0442(1993)006&lt;1077:EOCPR&gt;2.0.CO;2</a>, 1993.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Brubaker et al.(2001)Brubaker, Dirmeyer, Sudradjat, Levy, and
Bernal</label><mixed-citation>
      
Brubaker, K. L., Dirmeyer, P. A., Sudradjat, A., Levy, B. S., and Bernal, F.:
A 36-yr climatological description of the evaporative sources of warm-season
precipitation in the Mississippi river basin, J. Hydrometeorol., 2,
537–557, <a href="https://doi.org/10.1175/1525-7541(2001)002&lt;0537:AYCDOT&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1525-7541(2001)002&lt;0537:AYCDOT&gt;2.0.CO;2</a>, 2001.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Buizert et al.(2018)Buizert, Sigl, Severi, Markle, Wettstein,
McConnell, Pedro, Sodemann, Goto-Azuma, Kawamura, Fujita, Motoyama,
Hirabayashi, Uemura, Stenni, Parrenin, He, Fudge, and Steig</label><mixed-citation>
      
Buizert, C., Sigl, M., Severi, M., Markle, B., Wettstein, J., McConnell, J.,
Pedro, J., Sodemann, H., Goto-Azuma, K., Kawamura, K., Fujita, S., Motoyama,
H., Hirabayashi, M., Uemura, R., Stenni, B., Parrenin, F., He, F., Fudge, T.,
and Steig, E. J.: Abrupt ice-age shifts in southern westerly winds and
Antarctic climate forced from the north, Nature, 563, 681–685, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Dirmeyer and Brubaker(1999)</label><mixed-citation>
      
Dirmeyer, P. A. and Brubaker, K. L.: Contrasting evaporative moisture sources
during the drought of 1988 and the flood of 1993, J. Geophys. Res., 104,
19383–19397, <a href="https://doi.org/10.1029/1999JD900222" target="_blank">https://doi.org/10.1029/1999JD900222</a>,
1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Dominguez et al.(2016)Dominguez, Miguez-Macho, and
Hu</label><mixed-citation>
      
Dominguez, F., Miguez-Macho, G., and Hu, H.: WRF with Water Vapor Tracers: A
Study of Moisture Sources for the North American Monsoon, Journal of
Hydrometeorology, 17, 1915–1927, <a href="https://doi.org/10.1175/JHM-D-15-0221.1" target="_blank">https://doi.org/10.1175/JHM-D-15-0221.1</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Dominguez et al.(2020)Dominguez, Hu, and Martinez</label><mixed-citation>
      
Dominguez, F., Hu, H., and Martinez, J. A.: Two-Layer Dynamic Recycling Model
(2L-DRM): Learning from Moisture Tracking Models of Different Complexity,
Journal of Hydrometeorology, 21, 3 – 16, <a href="https://doi.org/10.1175/JHM-D-19-0101.1" target="_blank">https://doi.org/10.1175/JHM-D-19-0101.1</a>,
2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Dütsch et al.(2018)Dütsch, Pfahl, Meyer, and
Wernli</label><mixed-citation>
      
Dütsch, M., Pfahl, S., Meyer, M., and Wernli, H.: Lagrangian process attribution of isotopic variations in near-surface water vapour in a 30-year regional climate simulation over Europe, Atmos. Chem. Phys., 18, 1653–1669, <a href="https://doi.org/10.5194/acp-18-1653-2018" target="_blank">https://doi.org/10.5194/acp-18-1653-2018</a>, 2018.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Eltahir and Bras(1994)</label><mixed-citation>
      
Eltahir, E. A. B. and Bras, R. L.: Precipitation recycling in the Amazon
basin, Q. J. Roy. Meteor. Soc., 120, 861–880,
<a href="https://doi.org/10.1002/qj.49712051806" target="_blank">https://doi.org/10.1002/qj.49712051806</a>, 1994.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Eltahir and Bras(1996)</label><mixed-citation>
      
Eltahir, E. A. B. and Bras, R. L.: Precipitation recycling, Reviews of
Geophysics, 34, 367–378, <a href="https://doi.org/10.1029/96RG01927" target="_blank">https://doi.org/10.1029/96RG01927</a>, 1996.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Fernández-Alvarez et al.(2022)Fernández-Alvarez, Pérez-Alarcón,
Nieto, and Gimeno</label><mixed-citation>
      
Fernández-Alvarez, J. C., Pérez-Alarcón, A., Nieto, R., and Gimeno, L.:
TROVA: TRansport Of water VApor, SoftwareX, 20, 101228,
<a href="https://doi.org/10.1016/j.softx.2022.101228" target="_blank">https://doi.org/10.1016/j.softx.2022.101228</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Flatau et al.(1992)Flatau, Walko, and Cotton</label><mixed-citation>
      
Flatau, P. J., Walko, R. L., and Cotton, W. R.: Polynomial Fits to Saturation
Vapor Pressure, Journal of Applied Meteorology and Climatology, 31, 1507–1513, <a href="https://doi.org/10.1175/1520-0450(1992)031&lt;1507:PFTSVP&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1520-0450(1992)031&lt;1507:PFTSVP&gt;2.0.CO;2</a>, 1992.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Fremme and Sodemann(2019)</label><mixed-citation>
      
Fremme, A. and Sodemann, H.: The role of land and ocean evaporation on the variability of precipitation in the Yangtze River valley, Hydrol. Earth Syst. Sci., 23, 2525–2540, <a href="https://doi.org/10.5194/hess-23-2525-2019" target="_blank">https://doi.org/10.5194/hess-23-2525-2019</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Fremme et al.(2023)Fremme, Hezel, Seland, and Sodemann</label><mixed-citation>
      
Fremme, A., Hezel, P. J., Seland, Ø., and Sodemann, H.: Model-simulated hydroclimate in the East Asian summer monsoon region during past and future climate: a pilot study with a moisture source perspective, Weather Clim. Dynam., 4, 449–470, <a href="https://doi.org/10.5194/wcd-4-449-2023" target="_blank">https://doi.org/10.5194/wcd-4-449-2023</a>, 2023.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Gimeno et al.(2021)Gimeno, Eiras-Barca, Durán-Quesada, Dominguez,
van der Ent, Sodemann, Sánchez-Murillo, Nieto, and Kirchner</label><mixed-citation>
      
Gimeno, L., Eiras-Barca, J., Durán-Quesada, A. M., Dominguez, F., van der
Ent, R., Sodemann, H., Sánchez-Murillo, R., Nieto, R., and Kirchner,
J. W.: The residence time of water vapour in the atmosphere, Nature Reviews
Earth &amp; Environment, 2, 558–569, <a href="https://doi.org/10.1038/s43017-021-00181-9" target="_blank">https://doi.org/10.1038/s43017-021-00181-9</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Gustafsson et al.(2010)Gustafsson, Rayner, and Chen</label><mixed-citation>
      
Gustafsson, M., Rayner, D., and Chen, D.: Extreme rainfall events in southern
Sweden: where does the moisture come from?, Tellus A, 62, 605–616,
<a href="https://doi.org/10.1111/j.1600-0870.2010.00456.x" target="_blank">https://doi.org/10.1111/j.1600-0870.2010.00456.x</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Hirdman et al.(2010)Hirdman, Sodemann, Eckhardt, Burkhart, Jefferson,
Mefford, Quinn, Sharma, Ström, and Stohl</label><mixed-citation>
      
Hirdman, D., Sodemann, H., Eckhardt, S., Burkhart, J. F., Jefferson, A., Mefford, T., Quinn, P. K., Sharma, S., Ström, J., and Stohl, A.: Source identification of short-lived air pollutants in the Arctic using statistical analysis of measurement data and particle dispersion model output, Atmos. Chem. Phys., 10, 669–693, <a href="https://doi.org/10.5194/acp-10-669-2010" target="_blank">https://doi.org/10.5194/acp-10-669-2010</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Hofsteenge et al.(2025)Hofsteenge, Cullen, Sodemann, and
Katurji</label><mixed-citation>
      
Hofsteenge, M. G., Cullen, N. J., Sodemann, H., and Katurji, M.: Synoptic
Drivers and Moisture Sources of Snowfall in Coastal Victoria Land,
Antarctica, Journal of Geophysical Research: Atmospheres, 130,
e2024JD042021, <a href="https://doi.org/10.1029/2024JD042021" target="_blank">https://doi.org/10.1029/2024JD042021</a>, 2025.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Holgate et al.(2020)Holgate, Van Dijk, Evans, and
Pitman</label><mixed-citation>
      
Holgate, C. M., Van Dijk, A. I. J. M., Evans, J. P., and Pitman, A. J.: Local
and Remote Drivers of Southeast Australian Drought, Geophysical Research
Letters, 47, e2020GL090238, <a href="https://doi.org/10.1029/2020GL090238" target="_blank">https://doi.org/10.1029/2020GL090238</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Johnsen et al.(1989)Johnsen, Dansgaard, and White</label><mixed-citation>
      
Johnsen, S. J., Dansgaard, W., and White, J. W. C.: The origin of Arctic
precipitation under present and glacial conditions, Tellus B, 41B, 452–468,
<a href="https://doi.org/10.1111/j.1600-0889.1989.tb00321.x" target="_blank">https://doi.org/10.1111/j.1600-0889.1989.tb00321.x</a>, 1989.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Keune et al.(2022)Keune, Schumacher, and Miralles</label><mixed-citation>
      
Keune, J., Schumacher, D. L., and Miralles, D. G.: A unified framework to estimate the origins of atmospheric moisture and heat using Lagrangian models, Geosci. Model Dev., 15, 1875–1898, <a href="https://doi.org/10.5194/gmd-15-1875-2022" target="_blank">https://doi.org/10.5194/gmd-15-1875-2022</a>, 2022.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Laederach(2016)</label><mixed-citation>
      
Laederach, A.: Characteristic scales of atmospheric moisture transport, Ph.D.
thesis, ETH Zurich, Diss ETH No. 23586, <a href="https://doi.org/10.3929/ethz-a-010741025" target="_blank">https://doi.org/10.3929/ethz-a-010741025</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Laederach and Sodemann(2016)</label><mixed-citation>
      
Laederach, A. and Sodemann, H.: A revised picture of the atmospheric residence
time of water vapour, Geophys. Res. Lett., 43, 924–933,
<a href="https://doi.org/10.1002/2015GL067449" target="_blank">https://doi.org/10.1002/2015GL067449</a>, 2016.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Martius et al.(2012)Martius, Sodemann, Joos, Pfahl, Winschall,
Croci-Maspoli, Graf, Madonna, Mueller, Schemm, Sedlacek, Sprenger, and
Wernli</label><mixed-citation>
      
Martius, O., Sodemann, H., Joos, H., Pfahl, S., Winschall, A., Croci-Maspoli,
M., Graf, M., Madonna, E., Mueller, B., Schemm, S., Sedlacek, J., Sprenger,
M., and Wernli, H.: The role of upper-level dynamics and surface processes
for the Pakistan flood in July 2010, Q. J. Roy. Meteor. Soc.,
<a href="https://doi.org/10.1002/qj.2082" target="_blank">https://doi.org/10.1002/qj.2082</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Masson-Delmotte et al.(2011)Masson-Delmotte, Buiron, Ekaykin,
Frezzotti, Gallée, Jouzel, Krinner, Landais, Motoyama, Oerter, Pol, Pollard,
Ritz, Schlosser, Sime, Sodemann, Stenni, R., and
Vimeux</label><mixed-citation>
      
Masson-Delmotte, V., Buiron, D., Ekaykin, A., Frezzotti, M., Gallée, H., Jouzel, J., Krinner, G., Landais, A., Motoyama, H., Oerter, H., Pol, K., Pollard, D., Ritz, C., Schlosser, E., Sime, L. C., Sodemann, H., Stenni, B., Uemura, R., and Vimeux, F.: A comparison of the present and last interglacial periods in six Antarctic ice cores, Clim. Past, 7, 397–423, <a href="https://doi.org/10.5194/cp-7-397-2011" target="_blank">https://doi.org/10.5194/cp-7-397-2011</a>, 2011.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Miltenberger et al.(2013)Miltenberger, Pfahl, and
Wernli</label><mixed-citation>
      
Miltenberger, A. K., Pfahl, S., and Wernli, H.: An online trajectory module (version 1.0) for the nonhydrostatic numerical weather prediction model COSMO, Geosci. Model Dev., 6, 1989–2004, <a href="https://doi.org/10.5194/gmd-6-1989-2013" target="_blank">https://doi.org/10.5194/gmd-6-1989-2013</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>Moerman et al.(2013)Moerman, Cobb, Adkins, Sodemann, Clark, and
Tuen</label><mixed-citation>
      
Moerman, J. W., Cobb, K. M., Adkins, J. F., Sodemann, H., Clark, B., and Tuen,
A. A.: Diurnal to interannual rainfall δ<sup>18</sup>O variations in northern Borneo
driven by regional hydrology, Earth and Planetary Science Letters, 369–370,
108–119, <a href="https://doi.org/10.1016/j.epsl.2013.03.014" target="_blank">https://doi.org/10.1016/j.epsl.2013.03.014</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Numaguti(1999)</label><mixed-citation>
      
Numaguti, A.: Origin and recycling processes of precipitating water over the
Eurasian continent: Experiments using an atmospheric general circulation
model, J. Geophys. Res., 104, 1957–1972,
<a href="https://doi.org/10.1029/1998JD200026" target="_blank">https://doi.org/10.1029/1998JD200026</a>, 1999.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Osman et al.(2021)Osman, Smith, Trusel, Das, McConnell, Chellman,
Arienzo, and Sodemann</label><mixed-citation>
      
Osman, M. B., Smith, B. E., Trusel, L. D., Das, S. B., McConnell, J. R.,
Chellman, N., Arienzo, M., and Sodemann, H.: Abrupt Common Era hydroclimate
shifts drive west Greenland ice cap change, Nature Geoscience, 14, 756–761,
<a href="https://doi.org/10.1038/s41561-021-00818-w" target="_blank">https://doi.org/10.1038/s41561-021-00818-w</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>Pfahl and Sodemann(2014)</label><mixed-citation>
      
Pfahl, S. and Sodemann, H.: What controls deuterium excess in global precipitation?, Clim. Past, 10, 771–781, <a href="https://doi.org/10.5194/cp-10-771-2014" target="_blank">https://doi.org/10.5194/cp-10-771-2014</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>Pisso et al.(2019)Pisso, Sollum, Grythe, Kristiansen, Cassiani,
Eckhardt, Arnold, Morton, Thompson, Groot Zwaaftink, Evangeliou, Sodemann,
Haimberger, Henne, Brunner, Burkhart, Fouilloux, Brioude, Philipp, Seibert,
and Stohl</label><mixed-citation>
      
Pisso, I., Sollum, E., Grythe, H., Kristiansen, N. I., Cassiani, M., Eckhardt, S., Arnold, D., Morton, D., Thompson, R. L., Groot Zwaaftink, C. D., Evangeliou, N., Sodemann, H., Haimberger, L., Henne, S., Brunner, D., Burkhart, J. F., Fouilloux, A., Brioude, J., Philipp, A., Seibert, P., and Stohl, A.: The Lagrangian particle dispersion model FLEXPART version 10.4, Geosci. Model Dev., 12, 4955–4997, <a href="https://doi.org/10.5194/gmd-12-4955-2019" target="_blank">https://doi.org/10.5194/gmd-12-4955-2019</a>, 2019.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>Salati et al.(1979)Salati, Dall'Olio, Matsui, and Gat</label><mixed-citation>
      
Salati, E., Dall'Olio, A., Matsui, E., and Gat, J. R.: Recycling of water in
the Amazon Basin: An isotopic study, Water Resources Research, 15,
1250–1258, <a href="https://doi.org/10.1029/WR015i005p01250" target="_blank">https://doi.org/10.1029/WR015i005p01250</a>, 1979.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>Singh et al.(2017)Singh, Bitz, Donohoe, and Rasch</label><mixed-citation>
      
Singh, H. K. A., Bitz, C. M., Donohoe, A., and Rasch, P. J.: A
Source–Receptor Perspective on the Polar Hydrologic Cycle: Sources,
Seasonality, and Arctic–Antarctic Parity in the Hydrologic Cycle Response
to CO2 Doubling, Journal of Climate, 30, 9999–10017,
<a href="https://doi.org/10.1175/JCLI-D-16-0917.1" target="_blank">https://doi.org/10.1175/JCLI-D-16-0917.1</a>, 2017.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib42"><label>Sodemann(2020)</label><mixed-citation>
      
Sodemann, H.: Beyond turnover time: Constraining the lifetime distribution of
water vapor from simple and complex approaches, Journal of the Atmospheric
Sciences, 77, 413–433, <a href="https://doi.org/10.1175/JAS-D-18-0336.1" target="_blank">https://doi.org/10.1175/JAS-D-18-0336.1</a>, 2020.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib43"><label>Sodemann(2025a)</label><mixed-citation>
      
Sodemann, H.: Source code of the Lagrangian moisture source and transport
diagnostic WaterSip V3.2.1, Zenodo [code], <a href="https://doi.org/10.5281/zenodo.15068065" target="_blank">https://doi.org/10.5281/zenodo.15068065</a>,
2025a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib44"><label>Sodemann(2025b)</label><mixed-citation>
      
Sodemann, H.: Particle position output from the FLEXPART dispersion model for a
test case for use with the WaterSip moisture source diagnostic, Zenodo [data set],
<a href="https://doi.org/10.5281/zenodo.14836548" target="_blank">https://doi.org/10.5281/zenodo.14836548</a>, 2025b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib45"><label>Sodemann and Stohl(2009)</label><mixed-citation>
      
Sodemann, H. and Stohl, A.: Asymmetries in the moisture origin of Antarctic
precipitation, Geophys. Res. Lett., 36, L22803,
<a href="https://doi.org/10.1029/2009GL040242" target="_blank">https://doi.org/10.1029/2009GL040242</a>, 2009.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib46"><label>Sodemann and Zubler(2010)</label><mixed-citation>
      
Sodemann, H. and Zubler, E.: Seasonal and inter-annual variability of the
moisture sources for Alpine precipitation during 1995-2002, Int. J.
Climatol., 30, 947–961, <a href="https://doi.org/10.1002/joc.1932" target="_blank">https://doi.org/10.1002/joc.1932</a>, 2010.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib47"><label>Sodemann et al.(2008a)Sodemann, Masson-Delmotte,
Schwierz, Vinther, and Wernli</label><mixed-citation>
      
Sodemann, H., Masson-Delmotte, V., Schwierz, C., Vinther, B. M., and Wernli,
H.: Interannual variability of Greenland winter precipitation sources: 2.
Effects of North Atlantic Oscillation variability on stable isotopes in
precipitation, J. Geophys. Res., 113, D12111,
<a href="https://doi.org/10.1029/2007JD009416" target="_blank">https://doi.org/10.1029/2007JD009416</a>, 2008a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib48"><label>Sodemann et al.(2008b)Sodemann, Schwierz, and
Wernli</label><mixed-citation>
      
Sodemann, H., Schwierz, C., and Wernli, H.: Interannual variability of
Greenland winter precipitation sources: Lagrangian moisture diagnostic and
North Atlantic Oscillation influence, J. Geophys. Res., 113, D03107,
<a href="https://doi.org/10.1029/2007JD008503" target="_blank">https://doi.org/10.1029/2007JD008503</a>, 2008b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib49"><label>Sprenger and Wernli(2015)</label><mixed-citation>
      
Sprenger, M. and Wernli, H.: The LAGRANTO Lagrangian analysis tool – version 2.0, Geosci. Model Dev., 8, 2569–2586, <a href="https://doi.org/10.5194/gmd-8-2569-2015" target="_blank">https://doi.org/10.5194/gmd-8-2569-2015</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib50"><label>Steen-Larsen et al.(2015)Steen-Larsen, Sveinbjörnsdottir, Jonsson,
Ritter, Bonne, Masson-Delmotte, Sodemann, Blunier, Dahl-Jensen, and
Vinther</label><mixed-citation>
      
Steen-Larsen, H. C., Sveinbjörnsdottir, A. E., Jonsson, T., Ritter, F., Bonne,
J.-L., Masson-Delmotte, V., Sodemann, H., Blunier, T., Dahl-Jensen, D., and
Vinther, B. M.: Moisture sources and synoptic to seasonal variability of
North Atlantic water vapor isotopic composition, J. Geophys. Res., 120,
5757–5774, <a href="https://doi.org/10.1002/2015JD023234" target="_blank">https://doi.org/10.1002/2015JD023234</a>, 2015.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib51"><label>Stohl(1998)</label><mixed-citation>
      
Stohl, A.: Computation, accuracy and applications of trajectories–A review
and bibliography, Atmos. Environ., 32, 947–966,
ISSN 1352-2310, <a href="https://doi.org/10.1016/S1352-2310(97)00457-3" target="_blank"/>,
1998.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib52"><label>Stohl(2006)</label><mixed-citation>
      
Stohl, A.: Characteristics of atmospheric transport into the Arctic
troposphere, Journal of Geophysical Research: Atmospheres, 111,
<a href="https://doi.org/10.1029/2005JD006888" target="_blank">https://doi.org/10.1029/2005JD006888</a>, 2006.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib53"><label>Stohl and James(2004)</label><mixed-citation>
      
Stohl, A. and James, P.: A Lagrangian analysis of the atmospheric branch of
the global water cycle. Part I: Method description, validation, and
demonstration for the August 2002 flooding in Central Europe, J.
Hydrometeorol., 5, 656–678,
<a href="https://doi.org/10.1175/1525-7541(2004)005&lt;0656:ALAOTA&gt;2.0.CO;2" target="_blank">https://doi.org/10.1175/1525-7541(2004)005&lt;0656:ALAOTA&gt;2.0.CO;2</a>, 2004.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib54"><label>Stohl and James(2005)</label><mixed-citation>
      
Stohl, A. and James, P.: A Lagrangian analysis of the atmospheric branch of
the global water cycle. Part II: Moisture transports between earth’s ocean
basins and river catchments, J. Hydrometeorol., 6, 961–984,
<a href="https://doi.org/10.1175/JHM470.1" target="_blank">https://doi.org/10.1175/JHM470.1</a>, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib55"><label>Stohl et al.(2005)Stohl, Forster, Frank, Seibert, and
Wotawa</label><mixed-citation>
      
Stohl, A., Forster, C., Frank, A., Seibert, P., and Wotawa, G.: Technical note: The Lagrangian particle dispersion model FLEXPART version 6.2, Atmos. Chem. Phys., 5, 2461–2474, <a href="https://doi.org/10.5194/acp-5-2461-2005" target="_blank">https://doi.org/10.5194/acp-5-2461-2005</a>, 2005.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib56"><label>Terpstra et al.(2021)Terpstra, Gorodetskaya, and
Sodemann</label><mixed-citation>
      
Terpstra, A., Gorodetskaya, I. V., and Sodemann, H.: Linking Sub-Tropical
Evaporation and Extreme Precipitation Over East Antarctica: An Atmospheric
River Case Study, Journal of Geophysical Research: Atmospheres, 126,
e2020JD033617, <a href="https://doi.org/10.1029/2020JD033617" target="_blank">https://doi.org/10.1029/2020JD033617</a>,  2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib57"><label>Trenberth et al.(2007)Trenberth, Smith, Qian, Dai, and
Fasullo</label><mixed-citation>
      
Trenberth, K. E., Smith, L., Qian, T., Dai, A., and Fasullo, J.: Estimates of
the Global Water Budget and Its Annual Cycle Using Observational and Model
Data, Journal of Hydrometeorology, 8, 758–769, <a href="https://doi.org/10.1175/JHM600.1" target="_blank">https://doi.org/10.1175/JHM600.1</a>,
2007.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib58"><label>van der Ent et al.(2013)van der Ent, Tuinenburg, Knoche, Kunstmann,
and Savenije</label><mixed-citation>
      
van der Ent, R. J., Tuinenburg, O. A., Knoche, H.-R., Kunstmann, H., and Savenije, H. H. G.: Should we use a simple or complex model for moisture recycling and atmospheric moisture tracking?, Hydrol. Earth Syst. Sci., 17, 4869–4884, <a href="https://doi.org/10.5194/hess-17-4869-2013" target="_blank">https://doi.org/10.5194/hess-17-4869-2013</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib59"><label>van der Ent et al.(2014)van der Ent, Wang-Erlandsson, Keys, and
Savenije</label><mixed-citation>
      
van der Ent, R. J., Wang-Erlandsson, L., Keys, P. W., and Savenije, H. H. G.: Contrasting roles of interception and transpiration in the hydrological cycle – Part 2: Moisture recycling, Earth Syst. Dynam., 5, 471–489, <a href="https://doi.org/10.5194/esd-5-471-2014" target="_blank">https://doi.org/10.5194/esd-5-471-2014</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib60"><label>Škerlak et al.(2014)Škerlak, Sprenger, and
Wernli</label><mixed-citation>
      
Škerlak, B., Sprenger, M., and Wernli, H.: A global climatology of stratosphere–troposphere exchange using the ERA-Interim data set from 1979 to 2011, Atmos. Chem. Phys., 14, 913–937, <a href="https://doi.org/10.5194/acp-14-913-2014" target="_blank">https://doi.org/10.5194/acp-14-913-2014</a>, 2014.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib61"><label>Wang et al.(2013)Wang, Sodemann, Hou, Masson-Delmotte, Jouzel, and
Pang</label><mixed-citation>
      
Wang, Y., Sodemann, H., Hou, S., Masson-Delmotte, V., Jouzel, J., and Pang, H.:
Snow accumulation and its moisture origin over Dome Argus, Antarctica,
Climate Dynamics, 40, 731–742, <a href="https://doi.org/10.1007/s00382-012-1398-9" target="_blank">https://doi.org/10.1007/s00382-012-1398-9</a>, 2013.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib62"><label>Weng et al.(2021)Weng, Johannessen, and Sodemann</label><mixed-citation>
      
Weng, Y., Johannessen, A., and Sodemann, H.: High-resolution stable isotope signature of a land-falling atmospheric river in southern Norway, Weather Clim. Dynam., 2, 713–737, <a href="https://doi.org/10.5194/wcd-2-713-2021" target="_blank">https://doi.org/10.5194/wcd-2-713-2021</a>, 2021.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib63"><label>Winkler et al.(2012)Winkler, Landais, Sodemann, Dümbgen, Priéa,
Masson-Delmotte, Stenni, and Jouzel</label><mixed-citation>
      
Winkler, R., Landais, A., Sodemann, H., Dümbgen, L., Prié, F., Masson-Delmotte, V., Stenni, B., and Jouzel, J.: Deglaciation records of <sup>17</sup>O-excess in East Antarctica: reliable reconstruction of oceanic normalized relative humidity from coastal sites, Clim. Past, 8, 1–16, <a href="https://doi.org/10.5194/cp-8-1-2012" target="_blank">https://doi.org/10.5194/cp-8-1-2012</a>, 2012.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib64"><label>Winschall et al.(2014a)Winschall, Pfahl, Sodemann, and
Wernli</label><mixed-citation>
      
Winschall, A., Pfahl, S., Sodemann, H., and Wernli, H.: Comparison of Eulerian and Lagrangian moisture source diagnostics – the flood event in eastern Europe in May 2010, Atmos. Chem. Phys., 14, 6605–6619, <a href="https://doi.org/10.5194/acp-14-6605-2014" target="_blank">https://doi.org/10.5194/acp-14-6605-2014</a>, 2014a.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib65"><label>Winschall et al.(2014b)Winschall, Sodemann, Pfahl, and
Wernli</label><mixed-citation>
      
Winschall, A., Sodemann, H., Pfahl, S., and Wernli, H.: How important is
intensified evaporation for Mediterranean precipitation extremes?, J.
Geophys. Res., 119, 5240–5256, <a href="https://doi.org/10.1002/2013JD021175" target="_blank">https://doi.org/10.1002/2013JD021175</a>,
2014b.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib66"><label>Yoshimura et al.(2004)Yoshimura, Oki, Ohte, and
Kanae</label><mixed-citation>
      
Yoshimura, K., Oki, T., Ohte, N., and Kanae, S.: Colored Moisture Analysis
Estimates of Variations in 1998 Asian Monsoon Water Sources, Journal of the
Meteorological Society of Japan, 82, 1315–1329,
<a href="https://doi.org/10.2151/jmsj.2004.1315" target="_blank">https://doi.org/10.2151/jmsj.2004.1315</a>, 2004.

    </mixed-citation></ref-html>
<ref-html id="bib1.bib67"><label>Zannoni et al.(2022)Zannoni, Steen-Larsen, Peters, Wahl, Sodemann,
and Sveinbjörnsdóttir</label><mixed-citation>
      
Zannoni, D., Steen-Larsen, H. C., Peters, A. J., Wahl, S., Sodemann, H., and
Sveinbjörnsdóttir, A. E.: Non-Equilibrium Fractionation Factors for D/H and
<sup>18</sup>O/<sup>16</sup>O During Oceanic Evaporation in the North-West Atlantic Region, Journal
of Geophysical Research: Atmospheres, 127, e2022JD037076,
<a href="https://doi.org/10.1029/2022JD037076" target="_blank">https://doi.org/10.1029/2022JD037076</a>,  2022.

    </mixed-citation></ref-html>--></article>
