<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing with OASIS Tables v3.0 20080202//EN" "journalpub-oasis3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:oasis="http://docs.oasis-open.org/ns/oasis-exchange/table" xml:lang="en" dtd-version="3.0">
  <front>
    <journal-meta><journal-id journal-id-type="publisher">BG</journal-id><journal-title-group>
    <journal-title>Biogeosciences</journal-title>
    <abbrev-journal-title abbrev-type="publisher">BG</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Biogeosciences</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1726-4189</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/bg-15-5015-2018</article-id><title-group><article-title>Basic and extensible post-processing of eddy covariance<?xmltex \hack{\break}?>
flux data with REddyProc</article-title><alt-title>REddyProc</alt-title>
      </title-group><?xmltex \runningtitle{REddyProc}?><?xmltex \runningauthor{T. Wutzler et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Wutzler</surname><given-names>Thomas</given-names></name>
          <email>twutz@bgc-jena.mpg.de</email>
        <ext-link>https://orcid.org/0000-0003-4159-5445</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2 aff3">
          <name><surname>Lucas-Moffat</surname><given-names>Antje</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-1307-2065</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Migliavacca</surname><given-names>Mirco</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-3546-8407</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Knauer</surname><given-names>Jürgen</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-4947-7067</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Sickel</surname><given-names>Kerstin</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-4369-8635</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff4">
          <name><surname>Šigut</surname><given-names>Ladislav</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-1951-4100</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff5">
          <name><surname>Menzer</surname><given-names>Olaf</given-names></name>
          
        <ext-link>https://orcid.org/0000-0002-7297-1899</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Reichstein</surname><given-names>Markus</given-names></name>
          
        </contrib>
        <aff id="aff1"><label>1</label><institution>Max Planck Institute for Biogeochemistry, Hans-Knöll-Straße 10,
07745 Jena, Germany</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>German Meteorological Service, Centre for
Agrometeorological Research, Bundesallee 33, 38116 Braunschweig, Germany</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>Thuenen Institute of Climate-Smart Agriculture, Bundesallee 65, 38116
Braunschweig, Germany</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>Global Change Research Institute CAS, Bělidla 986/4a, 60300
Brno, Czech Republic</institution>
        </aff>
        <aff id="aff5"><label>5</label><institution>Department of Geography, University of California, Santa
Barbara, CA 93106-4060, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Thomas Wutzler (twutz@bgc-jena.mpg.de)</corresp></author-notes><pub-date><day>23</day><month>August</month><year>2018</year></pub-date>
      
      <volume>15</volume>
      <issue>16</issue>
      <fpage>5015</fpage><lpage>5030</lpage>
      <history>
        <date date-type="received"><day>30</day><month>January</month><year>2018</year></date>
           <date date-type="rev-request"><day>12</day><month>February</month><year>2018</year></date>
           <date date-type="rev-recd"><day>6</day><month>August</month><year>2018</year></date>
           <date date-type="accepted"><day>7</day><month>August</month><year>2018</year></date>
      </history>
      <permissions>
        
        
      <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://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018.html">This article is available from https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018.html</self-uri><self-uri xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018.pdf">The full text article is available as a PDF file from https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018.pdf</self-uri>
      <abstract>
    <p id="d1e173">With the eddy covariance (EC) technique, net fluxes of carbon dioxide
(<inline-formula><mml:math id="M1" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) and other trace gases as well as water and energy fluxes can be
measured at the ecosystem level. These flux measurements are a main source
for understanding biosphere–atmosphere interactions and feedbacks through
cross-site analysis, model–data integration, and upscaling. The raw fluxes
measured with the EC technique require extensive and laborious data
processing. While there are standard
tools<fn id="Ch1.Footn1"><p id="d1e187"><ext-link xlink:href="http://fluxnet.fluxdata.org/2017/10/10/toolbox-a-rolling-list-of-softwarepackages-for-flux-related-data-processing/">http://fluxnet.fluxdata.org/2017/10/10/toolbox-a-rolling-list-of-softwarepackages-for-flux-related-data-processing/</ext-link>,
last access: 17 August 2018</p></fn> available in an open-source environment for
processing high-frequency (10 or 20 Hz) data into half-hourly
quality-checked fluxes, there is a need for more usable and extensible tools
for the subsequent post-processing steps. We tackled this need by developing
the <monospace>REddyProc</monospace> package in the cross-platform language R that provides
standard <inline-formula><mml:math id="M2" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>-focused post-processing routines for reading
(half-)hourly data from different formats, estimating the <inline-formula><mml:math id="M3" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
threshold, as well as gap-filling, flux-partitioning, and visualizing the
results. In addition to basic processing, the functions are extensible
and allow easier integration in extended analysis than current tools. New
features include cross-year processing and a better treatment of
uncertainties. A comparison of <monospace>REddyProc</monospace> routines with other
state-of-the-art tools resulted in no significant differences in monthly and
annual fluxes across sites. Lower uncertainty estimates of both <inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> and
resulting gap-filled fluxes by 50 % with the presented tool were achieved
by an improved treatment of seasons during the bootstrap analysis. Higher
estimates of uncertainty in daytime partitioning (about twice as high)
resulted from a better accounting for the uncertainty in estimates of
temperature sensitivity of respiration. The provided routines can be easily
installed, configured, and used. Hence, the eddy covariance community will
benefit from the <monospace>REddyProc</monospace> package, allowing easier integration of
standard post-processing with extended analysis.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p id="d1e243">The availability of ecosystem-level observations of net ecosystem exchange
(NEE) of carbon dioxide (<inline-formula><mml:math id="M5" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) and other gases and latent heat (LE)
and sensible heat (<inline-formula><mml:math id="M6" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula>) fluxes measured by the eddy covariance (EC) method
<xref ref-type="bibr" rid="bib1.bibx1" id="paren.1"/> greatly advanced ecosystem understanding at site to global
scales <xref ref-type="bibr" rid="bib1.bibx3" id="paren.2"/>. The EC method provides half-hourly or hourly
records of turbulent fluxes between an entire ecosystem and the atmosphere.
These data are derived from high-frequency measurements (10 or 20 Hz) of
wind speed and direction together with measurements of air scalar
characteristics such as <inline-formula><mml:math id="M7" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and water vapor concentration, and
temperature. Methods to compute fluxes from high-frequency measurements,
methods for the quality checks and quality assessment (QA/QC), and methods
for the storage corrections have been consolidated in recent decades
(<xref ref-type="bibr" rid="bib1.bibx29" id="altparen.3"/>; <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx12" id="altparen.4"/><?xmltex \hack{\egroup}?>; <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx2" id="altparen.5"/><?xmltex \hack{\egroup}?>)
and are available as open-source
software<fn id="Ch1.Footn2"><p id="d1e295"><ext-link xlink:href="http://fluxnet.fluxdata.org/2017/10/10/toolbox-a-rolling-list-of-softwarepackages-for-flux-related-data-processing">http://fluxnet.fluxdata.org/2017/10/10/toolbox-a-rolling-list-of-softwarepackages-for-flux-related-data-processing</ext-link>,
last access: 17 August 2018</p></fn>. Although measured continuously, the
(half-)hourly EC data contain gaps due to instrument malfunctioning or
records which are not representative of the ecosystem because of
micrometeorological conditions under which the assumptions of the EC
technique are not met <xref ref-type="bibr" rid="bib1.bibx10 bib1.bibx11 bib1.bibx12 bib1.bibx14" id="paren.6"><named-content content-type="pre">details in e.g.,</named-content></xref>. Hence, (half-)hourly records are marked with different quality
flags and need further extensive post-processing as described by
<xref ref-type="bibr" rid="bib1.bibx26" id="text.7"/>.</p>
      <p id="d1e310">NEE records from periods with low friction velocity (<inline-formula><mml:math id="M8" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>) <xref ref-type="bibr" rid="bib1.bibx2" id="paren.8"/>
need to be detected and filtered
out to avoid systematic biases in nighttime NEE <xref ref-type="bibr" rid="bib1.bibx26" id="paren.9"/>. The
screened flux time series with gaps need to be filled <xref ref-type="bibr" rid="bib1.bibx30" id="paren.10"/>
using the available flux data and meteorological measurements. Additional
information can be obtained from NEE thanks to flux-partitioning methods that
provide model estimates of gross primary production (GPP) and ecosystem
respiration (R<inline-formula><mml:math id="M9" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>) <xref ref-type="bibr" rid="bib1.bibx30" id="paren.11"/>. These gross fluxes are
important to understand land–atmosphere interactions.</p>
      <p id="d1e346">All these post-processing steps need to be performed routinely for EC data.
Hence, it is desirable to have automated and reproducible post-processing
tools available that can be easily used, extended, and integrated into
researchers' own workflow. For this purpose we have compiled all routines for the
important <inline-formula><mml:math id="M10" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>-focused post-processing steps in the
<monospace>REddyProc</monospace> package in the free and cross-platform R language. The
<monospace>REddyProc</monospace> package loads time series of quality-checked and storage-corrected fluxes and the basic set of meteorological variables and provides a
software environment to perform <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold detection and filtering, gap filling, and partitioning. Furthermore, a series of other functionalities like
data import routines and data visualization are provided.</p>
      <p id="d1e377">The objectives of the paper are to
<list list-type="order"><list-item>
      <p id="d1e382">provide a reference that describes the methodology of the processing
used in the <monospace>REddyProc</monospace> package, and</p></list-item><list-item>
      <p id="d1e389">show that the obtained results do not differ systematically from results
obtained with standard post-processing implemented in the FLUXNET community
<xref ref-type="bibr" rid="bib1.bibx26 bib1.bibx30 bib1.bibx17 bib1.bibx27" id="paren.12"><named-content content-type="pre">based on</named-content></xref>.</p></list-item></list></p>
      <p id="d1e398">Appendix <xref ref-type="sec" rid="App1.Ch1.S3"/> explains abbreviations used. The first part of
the paper (Sect. <xref ref-type="sec" rid="Ch1.S2"/>) describes the post-processing methods.
The second part (Sect. <xref ref-type="sec" rid="Ch1.S3"/>) presents the benchmarks of
the <monospace>REddyProc</monospace> implementation with standard post-processing tools. It
details differences in the implementations and possible consequences in
obtained results and aggregated fluxes. Appendices A–B provide an overview
of the package with the general design, an example of the post-processing,
and links to resources that get readers started with post-processing their
own data.</p>
</sec>
<?pagebreak page5016?><sec id="Ch1.S2">
  <title>Methods of post-processing</title>
      <p id="d1e416">The post-processing relies on half-hourly or hourly measurements of NEE and
ancillary meteorological data of <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>, global radiation (Rg), air or soil
temperature (Tair, Tsoil), and vapor pressure deficit (VPD). The fluxes
should be quality-checked and, if applicable, storage-corrected before their
use in the package.</p>
      <p id="d1e430">The post-processing follows a specific workflow:
<list list-type="order"><list-item>
      <p id="d1e435">determination and filtering of periods with low turbulent mixing
(<inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering),</p></list-item><list-item>
      <p id="d1e450">replacement of missing data in the half-hourly/hourly records
(gap filling), and</p></list-item><list-item>
      <p id="d1e454">partitioning of NEE into the gross fluxes GPP and R<inline-formula><mml:math id="M14" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>
(flux partitioning).</p></list-item></list></p>
      <p id="d1e466">Usage of the <monospace>REddyProc</monospace> package follows this data post-processing
workflow (Fig. <xref ref-type="fig" rid="Ch1.F1"/>). The following sections explain the steps
in more detail.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><caption><p id="d1e476">The workflow starts with importing the half-hourly (or hourly) data,
in this example the year 1998 of the DE-Tha site. Next, a probability
distribution of <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold is estimated for each season. Gap filling and
flux partitioning are performed for several quantiles of this distribution for
an estimate of uncertainty. Finally the results are
exported.</p></caption>
        <?xmltex \igopts{width=184.942913pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-f01.pdf"/>

      </fig>

<sec id="Ch1.S2.SS1">
  <?xmltex \opttitle{$u_{*}$ filtering}?><title><inline-formula><mml:math id="M16" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering</title>
      <p id="d1e513">Determining periods with low turbulent mixing is a critical step in the EC
data post-processing. Standard steady-state and integral turbulence
characteristics tests in the initial processing exclude the most problematic
records of <inline-formula><mml:math id="M17" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula>, LE, and <inline-formula><mml:math id="M18" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> fluxes
<xref ref-type="bibr" rid="bib1.bibx10" id="paren.13"/>. However, it is well known <xref ref-type="bibr" rid="bib1.bibx2" id="paren.14"><named-content content-type="pre">summarized
in</named-content><named-content content-type="post">chap. 5</named-content></xref>, that such a quality-checking strategy is not
sufficient, especially in the case of <inline-formula><mml:math id="M19" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. Stable stratification that
is present often during the nighttime dampens turbulence and leads to an
underestimation of the nighttime NEE, i.e., the ecosystem respiration
<xref ref-type="bibr" rid="bib1.bibx35" id="paren.15"/>. <xref ref-type="bibr" rid="bib1.bibx19" id="text.16"/> proposed that unfavorable conditions
could be detected by inspecting the relationship of nighttime NEE versus
<inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>. Within a similar time period and similar environmental conditions
respiration should not be dependent on the <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>. At low <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> values, a
negatively biased respiration is measured. A heuristic class of methods,
which is widely accepted, assumes that a threshold of <inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> can be
established above which nighttime fluxes are considered valid. Hence, the
<inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold is the minimum <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> above which respiration reaches a
plateau (Fig. <xref ref-type="fig" rid="Ch1.F2"/>). This threshold is specific for each season
of a site year. Uncertainties in the <inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimate represent one
of the largest uncertainty components in the post-processing of NEE.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><caption><p id="d1e644">Concept of the <inline-formula><mml:math id="M27" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
filter: nighttime NEE at low <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> is biased towards lower NEE values
compared to cases with higher <inline-formula><mml:math id="M29" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>. Unbiased NEE should scatter around the
same plateau because environmental conditions are similar. The <inline-formula><mml:math id="M30" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
threshold (dashed line), i.e., the value below which this bias is considered
significant, is estimated by a moving point method on <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> bins (crosses)
across half-hourly records (circles). The example uses a subset of data from
DE-Tha.</p></caption>
          <?xmltex \igopts{width=312.980315pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-f02.pdf"/>

        </fig>

      <?pagebreak page5017?><p id="d1e708">There are at least two methods of estimating the <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold: the moving
point method (<xref ref-type="bibr" rid="bib1.bibx32" id="altparen.17"/>; <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx26" id="altparen.18"/><?xmltex \hack{\egroup}?>), which is
currently more routinely used, and the breakpoint detection method
<xref ref-type="bibr" rid="bib1.bibx4" id="paren.19"/>.</p>
<sec id="Ch1.S2.SS1.SSS1">
  <?xmltex \opttitle{Moving point method for $u_{*}$}?><title>Moving point method for <inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula></title>
      <p id="d1e750">The method of <xref ref-type="bibr" rid="bib1.bibx26" id="text.20"/> detects a plateau in the relationship of
nighttime NEE versus <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> among all records within a temperature subset by a
moving point test of records binned into different <inline-formula><mml:math id="M35" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> bins.</p>
      <p id="d1e778">The nighttime data (default: <inline-formula><mml:math id="M36" display="inline"><mml:mrow><mml:mi mathvariant="normal">Rg</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:mi mathvariant="normal">W</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><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:mrow></mml:math></inline-formula>) are split
into different times of year, here called seasons, to account for differing
surface roughness. Then the data of each season are split into default six
temperature subsets of equal size (according to quantiles). Within each
temperature subset, data are split into 20 about equally sized <inline-formula><mml:math id="M38" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> bins. The
default moving point method, called <monospace>Forward2</monospace>, determines the
threshold based on these <inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> bins. It checks for each bin if the mean NEE
is higher than 0.95 times the mean of the following 10 bins. If this also holds
true for the next bin, the mean <inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> of the bin is reported as the threshold. There are often subsets of data in which no clear threshold can be
detected. Hence, there are quality criteria for whether the estimate of a
given subset is used in subsequent aggregation. One quality criterion
specifies that temperature and <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> should not be correlated within the
temperature subset; another requires a minimum number of valid records within
a subset. Next, the <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> estimates for different temperature classes and
seasons (details in Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS1"/>) are aggregated to derive a
robust <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> estimate. Within one season, the median is taken across the
estimates of different temperature subsets. Within 1 year, the maximum is
taken across the associated seasons.</p>
      <p id="d1e882">Records during the nighttime with <inline-formula><mml:math id="M44" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> smaller than the estimated threshold are
flagged as invalid and are replaced in the subsequent gap-filling processing
step. In addition, each half hour after records with <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> smaller than the
threshold is flagged to be invalid.</p>
</sec>
<sec id="Ch1.S2.SS1.SSS2">
  <?xmltex \opttitle{Breakpoint detection method for $u_{*}$}?><title>Breakpoint detection method for <inline-formula><mml:math id="M46" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula></title>
      <p id="d1e924">Alternatively, breakpoint detection can be applied to the unbinned data,
which avoids the sensitivity of the moving point method to the specifics of
the binning schemes <xref ref-type="bibr" rid="bib1.bibx4" id="paren.21"/>. <monospace>REddyProc</monospace> provides this method
by estimating the breakpoint based on unbinned records within the
seasons/temperature subsets using the <monospace>segmented</monospace> R-package
<xref ref-type="bibr" rid="bib1.bibx24 bib1.bibx25" id="paren.22"/>. However, <monospace>REddyProc</monospace> differs from
<xref ref-type="bibr" rid="bib1.bibx4" id="text.23"/> by keeping the same aggregating scheme of seasonal/temperature
estimates to annual thresholds as with the moving point method.</p>
</sec>
<sec id="Ch1.S2.SS1.SSS3">
  <?xmltex \opttitle{Bootstrapping uncertainty of the $u_{*}$ threshold}?><title>Bootstrapping uncertainty of the <inline-formula><mml:math id="M47" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold</title>
      <p id="d1e964">Estimates of the <inline-formula><mml:math id="M48" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold are often sensitive to the specifics of the
combination of methods and the data, e.g., the binning, minimum number of
records within a season or temperature subset, and criteria in aggregation.
Therefore, a bootstrap (resampling with replacement) is applied to generate
200 artificial replicates of the dataset, and for each replicate the
threshold is estimated <xref ref-type="bibr" rid="bib1.bibx8 bib1.bibx6" id="paren.24"/>. The 5th, 50th, and 95th
percentile of the estimates are reported as a range of threshold estimates.
The subsequent post-processing steps of gap filling and partitioning are then
repeated using those different thresholds to propagate the uncertainty of
<inline-formula><mml:math id="M49" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimation to derived quantities such as annual NEE, GPP, and
R<inline-formula><mml:math id="M50" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS2">
  <title>Gap-filling methods</title>
      <?pagebreak page5018?><p id="d1e1008">After quality checks and <inline-formula><mml:math id="M51" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering, the dataset of half-hourly NEE
fluxes may contain up to 50 % gaps (sometimes this fraction is even
higher, depending on the site conditions). For the benchmark datasets used in
this paper, the percentage of gaps before <inline-formula><mml:math id="M52" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering was on average
32 % and after <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering 60 % and 48 % for upper and lower
<inline-formula><mml:math id="M54" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimates, respectively. Filling of gaps in half-hourly NEE
data is necessary to obtain complete time series for the calculation of daily
averages or balances such as monthly or seasonal sums. The following three
gap-filling methods are implemented in <monospace>REddyProc</monospace>.</p>
<sec id="Ch1.S2.SS2.SSS1">
  <title>Look-up tables</title>
      <p id="d1e1063">In the look-up table (LUT) approach, the fluxes are binned by the
meteorological conditions within a certain time window. Within the chosen
time window and respective bin, each meteorological variable deviates less
than a fixed margin to ensure similar meteorological conditions. The missing
value of the flux is then calculated as the average value of the binned
records and its uncertainty estimated from their standard deviation.</p>
      <p id="d1e1066">The original LUT of <xref ref-type="bibr" rid="bib1.bibx9" id="text.25"/> consisted of fixed periods over a year,
while in <monospace>REddyProc</monospace> the meteorological conditions are sampled with a
moving window around the gap to be filled.</p>
</sec>
<sec id="Ch1.S2.SS2.SSS2">
  <title>Mean diurnal course</title>
      <p id="d1e1081">NEE fluxes have a mean diurnal course (MDC) that follows the course of the
sun with only respiration during nighttime and a combination of respiration
and photosynthesis during daytime. This autocorrelation of the fluxes is
exploited by taking the average value at the same time of day within a moving
time window of adjacent days (Falge et al., 2001). In <monospace>REddyProc</monospace> the
same time of day also includes the fluxes of the adjacent hour (<inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> h).</p>
      <p id="d1e1097">Though the MDC method only showed a medium performance in the gap-filling
comparison for net carbon fluxes by <xref ref-type="bibr" rid="bib1.bibx23" id="text.26"/>, it has the advantage
that this approach can be used even if no meteorological information is
available.</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S2.SS2.SSS3">
  <title>Marginal distribution sampling</title>
      <p id="d1e1110">The so-called marginal distribution sampling (MDS) by
<?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx31" id="text.27"/><?xmltex \hack{\egroup}?> exploits the covariation of the fluxes with the
meteorological variables and their temporal autocorrelation based on the two
methods LUT and MDC described above.</p>
      <p id="d1e1118">The filling of each half-hourly NEE with the MDS algorithm depends on the
availability of the meteorological data of Rg, Tair, and VPD. (1) If all three meteorological
variables are available, LUT will be used with default margins of
50 <inline-formula><mml:math id="M56" display="inline"><mml:mrow><mml:mi mathvariant="normal">W</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:mrow></mml:math></inline-formula>, 2.5 <inline-formula><mml:math id="M57" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C, and 5.0 <inline-formula><mml:math id="M58" display="inline"><mml:mi mathvariant="normal">hPa</mml:mi></mml:math></inline-formula>, respectively.
(2) If Tair or VPD are missing, only the variable Rg will be used. (3) If no
meteorology is available, the gaps are filled with MDC. Following a specific
sampling procedure, the MDS algorithm increases the number of days in the
vicinity of the gap until there are enough data points (at least two) for gap
filling. A more detailed description with a flow diagram is provided in the
Supplement.</p>
      <p id="d1e1154">The MDS algorithm is optimized for carbon dioxide and water fluxes and can
also be used to estimate the uncertainty of the half-hourly fluxes. In the
comparison of gap-filling methods by <xref ref-type="bibr" rid="bib1.bibx23" id="text.28"/>, the MDS algorithm
performed well for different artificial gap scenarios ranging from single
half-hours to several days. Due to its flexibility in dealing with missing
meteorological input data and its fast and highly automated routines
available as an online tool (BGC16,
Sect. <xref ref-type="sec" rid="Ch1.S3"/>), the MDS gap-filling method has been widely
used.</p>
</sec>
</sec>
<sec id="Ch1.S2.SS3">
  <title>Flux-partitioning methods</title>
      <p id="d1e1169">The gross fluxes of GPP into the land system and R<inline-formula><mml:math id="M59" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> out of the
land system are the two opposing parts of NEE: <inline-formula><mml:math id="M60" display="inline"><mml:mrow><mml:mi mathvariant="normal">NEE</mml:mi><mml:mo>=</mml:mo><mml:msub><mml:mi mathvariant="normal">R</mml:mi><mml:mi mathvariant="normal">eco</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi mathvariant="normal">GPP</mml:mi></mml:mrow></mml:math></inline-formula>. Availability of GPP and
R<inline-formula><mml:math id="M61" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> is pivotal as they are the two biggest terms of the carbon
cycle <xref ref-type="bibr" rid="bib1.bibx5 bib1.bibx15" id="paren.29"><named-content content-type="pre">e.g.,</named-content></xref>. Moreover, understanding their
sensitivity to environmental drivers (e.g.,<?pagebreak page5019?> radiation, temperature, and soil
moisture) is important to interpret land–atmosphere interactions and to
improve earth system models <xref ref-type="bibr" rid="bib1.bibx33" id="paren.30"/>. Therefore several methods
were developed to partition NEE into these two components
(<?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx32" id="altparen.31"/><?xmltex \hack{\egroup}?>; <xref ref-type="bibr" rid="bib1.bibx17" id="altparen.32"/>;
<?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx22" id="altparen.33"/><?xmltex \hack{\egroup}?>; <xref ref-type="bibr" rid="bib1.bibx36" id="altparen.34"/>; <xref ref-type="bibr" rid="bib1.bibx7" id="altparen.35"/>;
<xref ref-type="bibr" rid="bib1.bibx34" id="altparen.36"/>).</p>
      <p id="d1e1241">The two most widely used methods are the so-called nighttime partitioning and
daytime partitioning <xref ref-type="bibr" rid="bib1.bibx33" id="paren.37"/>. The nighttime partitioning
<xref ref-type="bibr" rid="bib1.bibx32" id="paren.38"/> relies on the temperature response function of nighttime
NEE fluxes that are representative of R<inline-formula><mml:math id="M62" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>. It assumes that this
relationship is also applicable to daytime data. The relationship is then
used to predict R<inline-formula><mml:math id="M63" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> from measured temperature and GPP is
computed as a difference between R<inline-formula><mml:math id="M64" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> and NEE. This method is
currently the most widely used approach. Alternatively, the daytime
partitioning <xref ref-type="bibr" rid="bib1.bibx17" id="paren.39"/> fits a model to observations of daytime NEE
and global radiation, accounting for the effects of radiation and VPD on GPP
as well as the effects of temperature on R<inline-formula><mml:math id="M65" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>.</p>
<sec id="Ch1.S2.SS3.SSS1">
  <title>Nighttime flux partitioning</title>
      <p id="d1e1295">The method of <xref ref-type="bibr" rid="bib1.bibx32" id="text.40"/> estimates a temporally varying
respiration–temperature relationship from nighttime data. First nighttime
data are selected by a threshold of <inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:mi mathvariant="normal">Rg</mml:mi><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M67" display="inline"><mml:mrow><mml:mi mathvariant="normal">W</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:mrow></mml:math></inline-formula>,
which is congruent with the BGC online tool (BGC16,
Sect. <xref ref-type="sec" rid="Ch1.S3"/>), but differs from the 20 <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:mi mathvariant="normal">W</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><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:mrow></mml:math></inline-formula>
reported in <xref ref-type="bibr" rid="bib1.bibx32" id="text.41"/>. Additionally, nighttime data are
constrained between computed sunset and sunrise.</p>
      <p id="d1e1353">Next, temperature sensitivity, <inline-formula><mml:math id="M69" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, of the <xref ref-type="bibr" rid="bib1.bibx18" id="text.42"/> relationship
(Eq. <xref ref-type="disp-formula" rid="Ch1.E1"/>) is estimated by fitting the model to successive 15-day
periods of nighttime data, and the resulting <inline-formula><mml:math id="M70" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> series is aggregated to
an annual estimate.</p>
      <p id="d1e1383"><disp-formula id="Ch1.E1" content-type="numbered"><mml:math id="M71" display="block"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">eco</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>exp</mml:mtext><mml:mfenced close="]" open="["><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mi>T</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M72" 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> is kept constant at <inline-formula><mml:math id="M73" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>46.02 <inline-formula><mml:math id="M74" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C <xref ref-type="bibr" rid="bib1.bibx18" id="paren.43"/> and
where the reference temperature <inline-formula><mml:math id="M75" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> is 15 <inline-formula><mml:math id="M76" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C, which is
congruent with the BGC online tool (BGC16, Sect. <xref ref-type="sec" rid="Ch1.S3"/>),
but differs from the 10 <inline-formula><mml:math id="M77" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C reported in <xref ref-type="bibr" rid="bib1.bibx32" id="text.44"/>. For
robustness each fit is repeated on a trimmed dataset excluding records with
residuals outside the 5 %–95 % residual distribution. The annual
aggregate is the mean across the three valid estimates with the lowest
uncertainty in the fit. Single estimates of <inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> are considered valid if
there were a minimum of six records, temperature ranged across at least
5 <inline-formula><mml:math id="M79" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C, and estimates were inside the range of 30 to 450 <inline-formula><mml:math id="M80" display="inline"><mml:mi mathvariant="normal">K</mml:mi></mml:math></inline-formula>.</p>
      <p id="d1e1549">Subsequently, the respiration at reference temperature, <inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, is
re-estimated from nighttime data using the annual <inline-formula><mml:math id="M82" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> temperature
sensitivity estimate for 7-day windows shifted consecutively for 4 days. The
estimated value is then assigned to the central time point of the 4-day
period and linearly interpolated between periods. Hence, the obtained
respiration–temperature relationship varies across time.</p>
      <p id="d1e1575">Finally, R<inline-formula><mml:math id="M83" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> is estimated for both day- and nighttime from the
temporarily varying R<inline-formula><mml:math id="M84" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>–temperature relationship, and daytime
GPP is computed as R<inline-formula><mml:math id="M85" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>–NEE.</p>
</sec>
<sec id="Ch1.S2.SS3.SSS2">
  <title>Daytime flux partitioning</title>
      <p id="d1e1611">The method of <xref ref-type="bibr" rid="bib1.bibx17" id="text.45"/> models NEE using the common rectangular
hyperbolic light-response curve (LRC) <xref ref-type="bibr" rid="bib1.bibx9" id="paren.46"/>:</p>
      <p id="d1e1620"><disp-formula id="Ch1.E2" content-type="numbered"><mml:math id="M86" display="block"><mml:mrow><mml:mi mathvariant="normal">NEE</mml:mi><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:mi mathvariant="italic">β</mml:mi><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">g</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi mathvariant="italic">β</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:mi mathvariant="italic">γ</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M87" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="M88" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">J</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 the canopy light
utilization efficiency and represents the initial slope of the light-response
curve, <inline-formula><mml:math id="M89" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> (<inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><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">s</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 the maximum
<inline-formula><mml:math id="M91" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> uptake rate of the canopy at infinite Rg, and <inline-formula><mml:math id="M92" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula>
(<inline-formula><mml:math id="M93" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><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">s</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 a term accounting for ecosystem
respiration. The hyperbolic light-response curve is modified to account for
the temperature dependency of respiration after <xref ref-type="bibr" rid="bib1.bibx13" id="text.47"/> by setting
respiration <inline-formula><mml:math id="M94" display="inline"><mml:mi mathvariant="italic">γ</mml:mi></mml:math></inline-formula> to the Lloyd and Taylor respiration model
<xref ref-type="bibr" rid="bib1.bibx18" id="paren.48"/> (Eq. <xref ref-type="disp-formula" rid="Ch1.E1"/>). Further, the constant parameter
<inline-formula><mml:math id="M95" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> in Eq. (<xref ref-type="disp-formula" rid="Ch1.E2"/>) is replaced by an exponential
decreasing function <xref ref-type="bibr" rid="bib1.bibx16" id="paren.49"/> at higher VPD values
(Eq. <xref ref-type="disp-formula" rid="Ch1.E3"/>).</p>
      <p id="d1e1818"><disp-formula id="Ch1.E3" content-type="numbered"><mml:math id="M96" display="block"><mml:mrow><mml:mi mathvariant="italic">β</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="{" close=""><mml:mtable rowspacing="0.2ex" columnspacing="1em" class="cases" columnalign="left" framespacing="0em"><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mtext>exp</mml:mtext><mml:mfenced open="[" close="]"><mml:mrow><mml:mo>-</mml:mo><mml:mi>k</mml:mi><mml:mo>(</mml:mo><mml:mi mathvariant="normal">VPD</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi mathvariant="normal">VPD</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><mml:mtext> if VPD</mml:mtext><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">hPa</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mtext> otherwise</mml:mtext></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mfenced><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where the <inline-formula><mml:math id="M97" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="normal">VPD</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> threshold is 10 <inline-formula><mml:math id="M98" display="inline"><mml:mi mathvariant="normal">hPa</mml:mi></mml:math></inline-formula> in accordance with
earlier findings at the leaf level <xref ref-type="bibr" rid="bib1.bibx16" id="paren.50"/>, ignoring potential
vegetation specific differences.</p>
      <p id="d1e1905">Parameter <inline-formula><mml:math id="M99" 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> in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>) was fixed as in the nighttime
partitioning (Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS1"/>). Parameter
<inline-formula><mml:math id="M100" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> was fixed in each window to the median temperature within
the window. The other parameters (<inline-formula><mml:math id="M101" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>k</mml:mi></mml:mrow></mml:math></inline-formula>)
of the model are estimated by the following steps. (1) A time-varying
temperature sensitivity <inline-formula><mml:math id="M102" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> is estimated from nighttime data for a window
shifted by 2 days. (2) The <inline-formula><mml:math id="M103" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> estimates are smoothed across successive
windows by fitting a Gaussian process <xref ref-type="bibr" rid="bib1.bibx28 bib1.bibx20" id="paren.51"/> using the
<monospace>mlegp</monospace> R-package that also estimates uncertainty of the smoothed
<inline-formula><mml:math id="M104" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. Next, a prior respiration, <inline-formula><mml:math id="M105" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, for reference temperature
<inline-formula><mml:math id="M106" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">15</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M107" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C is re-estimated from nighttime data for each
window with smoothed <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>. (3) Parameters of the rectangular hyperbolic
light-response curve (<inline-formula><mml:math id="M109" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M110" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M111" display="inline"><mml:mrow><mml:msub><mml:mi mathvariant="italic">β</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M112" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>) are fitted
using only daytime data and the previously determined temperature sensitivity
(<inline-formula><mml:math id="M113" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>) for each window. (4) Finally, for each NEE record, GPP and
R<inline-formula><mml:math id="M114" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> are estimated with the parameter set of the previous valid
window and the parameters of the next valid window, and the two results are
interpolated linearly by the time difference to the window centers.<?pagebreak page5020?> The
Supplement reports necessary technical details about these steps.</p>
      <p id="d1e2112">Note, that contrary to the nighttime-based flux partitioning, both GPP and
R<inline-formula><mml:math id="M115" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> are model predictions and do not add up exactly to observed
NEE.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S3">
  <?xmltex \opttitle{Benchmarking \texttt{REddyProc}~ post-processing steps}?><title>Benchmarking <monospace>REddyProc</monospace>  post-processing steps</title>
      <p id="d1e2136">The post-processing steps' implementations of <monospace>REddyProc</monospace> were
benchmarked with the post-processing tools widely used in the FLUXNET
processing. Specifically, <monospace>REddyProc</monospace> (version 0.8.1) <inline-formula><mml:math id="M116" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>-filtering
results were compared with results by a C implementation from Dario Papale
<xref ref-type="bibr" rid="bib1.bibx26" id="paren.52"/>, referred to here as DP06. Results of <monospace>REddyProc</monospace>
(version 1.1.3) gap filling and flux partitioning were compared with results
obtained by the 2016 version web-based tool provided by the Max Planck
Institute for Biogeochemistry, Jena, best described in <xref ref-type="bibr" rid="bib1.bibx30" id="text.53"/>.
The tool was accessed in 2016 (29 July 2016) and is hereafter referred to as
BGC16. Here, annually and monthly aggregated values refer to the mean across
all valid values in a month or a year, which can differ from real annual or
monthly budgets in the presence of large gaps. The first section describes
the dataset used for benchmarking for each processing step implemented in the
package. Within each of the following sections for the processing steps,
subsections describe differences in the code, report the results of
benchmarking, and discuss them. The Supplement, additionally, provides more
detailed results and statistics.</p>
<sec id="Ch1.S3.SS1">
  <title> Dataset used for benchmarking</title>
      <p id="d1e2171">Data of 25 sites of the LaThuile FLUXNET dataset<fn id="Ch1.Footn3"><p id="d1e2174"><uri>http://www.fluxdata.org</uri>, last
access: 17 August 2018</p></fn>, which have an open data policy, were used for benchmarking. The sites are located in
different climate zones and belong to a variety of plant functional types
(Table <xref ref-type="table" rid="Ch1.T1"/>) to guarantee testing of different conditions
(i.e., presence of snow, management such as cuts and crop rotation, sites
disturbed) and ecosystem types (e.g., deciduous versus evergreen forests,
grasslands and croplands). For each site the following variables were used:
NEE already filtered for quality flags <xref ref-type="bibr" rid="bib1.bibx10" id="paren.54"/>, despiked and
<inline-formula><mml:math id="M117" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>-filtered <xref ref-type="bibr" rid="bib1.bibx26" id="paren.55"/>, random error of NEE computed as described by
<xref ref-type="bibr" rid="bib1.bibx30" id="text.56"/>, Tair, Tsoil, Rg, and VPD. Moreover, NEE time series
before the <inline-formula><mml:math id="M118" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering and the <inline-formula><mml:math id="M119" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> data were downloaded from AMERIFLUX
and the European Flux Database to test the <inline-formula><mml:math id="M120" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimation.
Finally, time series of gap-filled NEE (NEE<inline-formula><mml:math id="M121" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">f</mml:mi></mml:msub></mml:math></inline-formula>) and GPP partitioned
with the nighttime-based method (GPP<inline-formula><mml:math id="M122" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">NT</mml:mi></mml:msub></mml:math></inline-formula>) <xref ref-type="bibr" rid="bib1.bibx30" id="paren.57"/>
were downloaded from the LaThuile dataset, while GPP partitioned with the
daytime method (GPP<inline-formula><mml:math id="M123" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">DT</mml:mi></mml:msub></mml:math></inline-formula>) was computed with BGC16.</p>

<?xmltex \floatpos{t}?><table-wrap id="Ch1.T1"><caption><p id="d1e2270">Description of sites and times used for benchmarking
<monospace>REddyProc</monospace>.</p></caption><oasis:table frame="topbot"><?xmltex \begin{scaleboxenv}{.92}[.92]?><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">Site</oasis:entry>
         <oasis:entry colname="col2">Year</oasis:entry>
         <oasis:entry colname="col3">Lat</oasis:entry>
         <oasis:entry colname="col4">Long</oasis:entry>
         <oasis:entry colname="col5">Land cover<inline-formula><mml:math id="M126" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col6">Climate<inline-formula><mml:math id="M127" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula></oasis:entry>
       </oasis:row>
     </oasis:thead>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1">CA-NS7</oasis:entry>
         <oasis:entry colname="col2">2004</oasis:entry>
         <oasis:entry colname="col3">56.64</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M128" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>99.95</oasis:entry>
         <oasis:entry colname="col5">OSH</oasis:entry>
         <oasis:entry colname="col6">Dfc</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">CA-TP3</oasis:entry>
         <oasis:entry colname="col2">2005</oasis:entry>
         <oasis:entry colname="col3">42.71</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M129" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>80.35</oasis:entry>
         <oasis:entry colname="col5">ENF</oasis:entry>
         <oasis:entry colname="col6">Dfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">CH-Oe2</oasis:entry>
         <oasis:entry colname="col2">2004</oasis:entry>
         <oasis:entry colname="col3">47.29</oasis:entry>
         <oasis:entry colname="col4">7.73</oasis:entry>
         <oasis:entry colname="col5">CRO</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">DE-Hai</oasis:entry>
         <oasis:entry colname="col2">2002</oasis:entry>
         <oasis:entry colname="col3">51.08</oasis:entry>
         <oasis:entry colname="col4">10.45</oasis:entry>
         <oasis:entry colname="col5">DBF</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">DE-Tha</oasis:entry>
         <oasis:entry colname="col2">1998</oasis:entry>
         <oasis:entry colname="col3">50.96</oasis:entry>
         <oasis:entry colname="col4">13.57</oasis:entry>
         <oasis:entry colname="col5">ENF</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">DK-Sor</oasis:entry>
         <oasis:entry colname="col2">2006</oasis:entry>
         <oasis:entry colname="col3">55.49</oasis:entry>
         <oasis:entry colname="col4">11.65</oasis:entry>
         <oasis:entry colname="col5">DBF</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ES-ES1</oasis:entry>
         <oasis:entry colname="col2">2000</oasis:entry>
         <oasis:entry colname="col3">39.35</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M130" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>0.32</oasis:entry>
         <oasis:entry colname="col5">ENF</oasis:entry>
         <oasis:entry colname="col6">Csa</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">ES-VDA</oasis:entry>
         <oasis:entry colname="col2">2005</oasis:entry>
         <oasis:entry colname="col3">42.15</oasis:entry>
         <oasis:entry colname="col4">1.45</oasis:entry>
         <oasis:entry colname="col5">GRA</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FI-Hyy</oasis:entry>
         <oasis:entry colname="col2">1998</oasis:entry>
         <oasis:entry colname="col3">61.85</oasis:entry>
         <oasis:entry colname="col4">24.29</oasis:entry>
         <oasis:entry colname="col5">ENF</oasis:entry>
         <oasis:entry colname="col6">Dfc</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FI-Kaa</oasis:entry>
         <oasis:entry colname="col2">2001</oasis:entry>
         <oasis:entry colname="col3">69.14</oasis:entry>
         <oasis:entry colname="col4">27.30</oasis:entry>
         <oasis:entry colname="col5">WET</oasis:entry>
         <oasis:entry colname="col6">Dfc</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FR-Gri</oasis:entry>
         <oasis:entry colname="col2">2006</oasis:entry>
         <oasis:entry colname="col3">48.84</oasis:entry>
         <oasis:entry colname="col4">1.95</oasis:entry>
         <oasis:entry colname="col5">CRO</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FR-Hes</oasis:entry>
         <oasis:entry colname="col2">1998</oasis:entry>
         <oasis:entry colname="col3">48.67</oasis:entry>
         <oasis:entry colname="col4">7.06</oasis:entry>
         <oasis:entry colname="col5">DBF</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FR-Lq1</oasis:entry>
         <oasis:entry colname="col2">2006</oasis:entry>
         <oasis:entry colname="col3">45.64</oasis:entry>
         <oasis:entry colname="col4">2.74</oasis:entry>
         <oasis:entry colname="col5">GRA</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FR-Lq2</oasis:entry>
         <oasis:entry colname="col2">2006</oasis:entry>
         <oasis:entry colname="col3">45.64</oasis:entry>
         <oasis:entry colname="col4">2.74</oasis:entry>
         <oasis:entry colname="col5">GRA</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">FR-Pue</oasis:entry>
         <oasis:entry colname="col2">2003</oasis:entry>
         <oasis:entry colname="col3">43.74</oasis:entry>
         <oasis:entry colname="col4">3.60</oasis:entry>
         <oasis:entry colname="col5">EBF</oasis:entry>
         <oasis:entry colname="col6">Csa</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">IE-Dri</oasis:entry>
         <oasis:entry colname="col2">2004</oasis:entry>
         <oasis:entry colname="col3">51.99</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M131" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>8.75</oasis:entry>
         <oasis:entry colname="col5">GRA</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">IL-Yat</oasis:entry>
         <oasis:entry colname="col2">2005</oasis:entry>
         <oasis:entry colname="col3">31.34</oasis:entry>
         <oasis:entry colname="col4">35.05</oasis:entry>
         <oasis:entry colname="col5">ENF</oasis:entry>
         <oasis:entry colname="col6">BSh</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">IT-Amp</oasis:entry>
         <oasis:entry colname="col2">2004</oasis:entry>
         <oasis:entry colname="col3">41.90</oasis:entry>
         <oasis:entry colname="col4">13.61</oasis:entry>
         <oasis:entry colname="col5">GRA</oasis:entry>
         <oasis:entry colname="col6">Cfa</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">IT-MBo</oasis:entry>
         <oasis:entry colname="col2">2005</oasis:entry>
         <oasis:entry colname="col3">46.02</oasis:entry>
         <oasis:entry colname="col4">11.05</oasis:entry>
         <oasis:entry colname="col5">GRA</oasis:entry>
         <oasis:entry colname="col6">Cfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">IT-SRo</oasis:entry>
         <oasis:entry colname="col2">2001</oasis:entry>
         <oasis:entry colname="col3">43.73</oasis:entry>
         <oasis:entry colname="col4">10.28</oasis:entry>
         <oasis:entry colname="col5">ENF</oasis:entry>
         <oasis:entry colname="col6">Csa</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">PT-Esp</oasis:entry>
         <oasis:entry colname="col2">2004</oasis:entry>
         <oasis:entry colname="col3">38.64</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M132" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>8.60</oasis:entry>
         <oasis:entry colname="col5">EBF</oasis:entry>
         <oasis:entry colname="col6">Csa</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">RU-Cok</oasis:entry>
         <oasis:entry colname="col2">2004</oasis:entry>
         <oasis:entry colname="col3">70.62</oasis:entry>
         <oasis:entry colname="col4">147.88</oasis:entry>
         <oasis:entry colname="col5">OSH</oasis:entry>
         <oasis:entry colname="col6">Dfc</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">SE-Nor</oasis:entry>
         <oasis:entry colname="col2">1997</oasis:entry>
         <oasis:entry colname="col3">60.09</oasis:entry>
         <oasis:entry colname="col4">17.48</oasis:entry>
         <oasis:entry colname="col5">ENF</oasis:entry>
         <oasis:entry colname="col6">Dfb</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">US-Ton</oasis:entry>
         <oasis:entry colname="col2">2004</oasis:entry>
         <oasis:entry colname="col3">38.43</oasis:entry>
         <oasis:entry colname="col4"><inline-formula><mml:math id="M133" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>120.97</oasis:entry>
         <oasis:entry colname="col5">WSA</oasis:entry>
         <oasis:entry colname="col6">Csa</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">VU-Coc</oasis:entry>
         <oasis:entry colname="col2">2002</oasis:entry>
         <oasis:entry colname="col3"><inline-formula><mml:math id="M134" display="inline"><mml:mo>-</mml:mo></mml:math></inline-formula>15.44</oasis:entry>
         <oasis:entry colname="col4">167.19</oasis:entry>
         <oasis:entry colname="col5">EBF</oasis:entry>
         <oasis:entry colname="col6">Af</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup><?xmltex \end{scaleboxenv}?></oasis:table><?xmltex \begin{scaleboxenv}{.92}[.92]?><table-wrap-foot><p id="d1e2276"><inline-formula><mml:math id="M124" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">a</mml:mi></mml:msup></mml:math></inline-formula> Abbreviations for land cover type
from International Geosphere-Biosphere Programme (IGBP) classification: CRO:
cropland, DBF: deciduous broadleaf forest, EBF: evergreen broadleaf forest,
ENF: evergreen needleleaf forest, GRA: grassland, OSH: open shrubland, WET:
permanent wetland, WSA: woody savanna. <inline-formula><mml:math id="M125" display="inline"><mml:msup><mml:mi/><mml:mi mathvariant="normal">b</mml:mi></mml:msup></mml:math></inline-formula> Abbreviations for
climate from Köppen–Geiger classification: Af: equatorial, rainforest; BSh:
hot arid steppe; Cfa: humid, warm temperate, hot summer; Cfb: humid, warm
temperate, warm summer; Csa: summer dry, warm temperate, hot summer; Dfb:
cold, humid, warm summer; Dfc: cold, humid, cold summer.</p></table-wrap-foot><?xmltex \end{scaleboxenv}?></table-wrap>

<?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S3.SS2">
  <?xmltex \opttitle{$u_{*}$ filtering: benchmarking with DP06}?><title><inline-formula><mml:math id="M135" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering: benchmarking with DP06</title>
      <p id="d1e2973">Estimation of the <inline-formula><mml:math id="M136" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold by <monospace>REddyProc</monospace> using the default moving
point method (Sect. <xref ref-type="sec" rid="Ch1.S2.SS1.SSS1"/>) was benchmarked to estimation
based on Papale's DP06 C implementation <?xmltex \hack{\mbox\bgroup}?><xref ref-type="bibr" rid="bib1.bibx26" id="paren.58"/><?xmltex \hack{\egroup}?>. The
benchmark applied a bootstrap sample of size 60 and recorded lower, median,
and upper quantiles of 10 %, 50 %, and 90 % instead of the default
5 % and 95 % based on a larger sample size to save computing time.</p>
      <p id="d1e2997">The different estimates of the <inline-formula><mml:math id="M137" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold have potential consequences for
the inferred fluxes. To explore these consequences, we used the different
resulting thresholds to mark gaps, gap-fill the data, and compute the annual
NEE based on the gap-filled time series. NEE uncertainty was estimated by the
difference between NEE based on the lower quantile
<inline-formula><mml:math id="M138" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> and NEE based on the upper quantile <inline-formula><mml:math id="M139" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> estimate.</p>
<sec id="Ch1.S3.SS2.SSS1">
  <title>Differences in code</title>
      <p id="d1e3038">The biggest difference of <monospace>REddyProc</monospace> compared to DP06 is that
<monospace>REddyProc</monospace> by default employs seasons that can span across years.
With the <italic>within a year</italic> classification<?pagebreak page5021?> option, which is also employed by DP06,
records of December are associated with the same season as January and
February of the <italic>same</italic> year. With the default <italic>continuous</italic>
classification, seasons start the same as in DP06 by default in March, June,
September, and December. However, December is treated in the same season as
January and February of the <italic>next</italic> year to avoid discontinuities at
year boundaries. The annual <inline-formula><mml:math id="M140" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold is then applied according to
those continuous seasons spanning year boundaries. For example, the
processing of 2014 data would by default use data from winter 2014 (starting
in December 2013) to autumn 2014 (ending in November 2014).
<monospace>REddyProc</monospace> also allows more flexibility with the
<italic>user-specified</italic> classification into seasons as explained below.</p>
      <p id="d1e3077">There are further slight differences between <monospace>REddyProc</monospace> and DP06.
Both methods bin in a way such that the number of records in each bin is
similar. If there are numerically equal <inline-formula><mml:math id="M141" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> values, they are sorted into
the same bin, resulting in bins with unequal record numbers. In DP06
sometimes no records are sorted into the subsequent bins, hampering the
moving point detection. Conversely, the binning with <monospace>REddyProc</monospace>
ensures that there are a minimum number of records in all bins. This often
results in fewer bins. Moreover, differing from DP06, <monospace>REddyProc</monospace>
employs several more quality criteria. First, when comparing the threshold
bin to NEE in the following bins, it makes sure that there are least three
bins to infer a plateau in NEE. Next, when aggregating the thresholds of
different temperature classes to season, it ensures that a threshold was
found in at least 20 % of the temperature classes. For those seasons
during which no threshold could be determined, the annual estimate is used.
When there are too few records within a year, a single season comprising all records is used for threshold
estimation.</p>
      <p id="d1e3100">Differently to DP06, <monospace>REddyProc</monospace> only resamples data within seasons instead of across the entire year during the bootstrap,
in order to protect periods of a similar <inline-formula><mml:math id="M142" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>–NEE relationship and to avoid
seasonal biases in resampling.</p>
</sec>
<sec id="Ch1.S3.SS2.SSS2">
  <title>Benchmark results</title>
      <p id="d1e3123">The general relationship in the estimation of the <inline-formula><mml:math id="M143" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold was
retained between the two methods (Fig. <xref ref-type="fig" rid="Ch1.F3"/>),
although individual threshold estimates differed. The exceptionally high
threshold value of <inline-formula><mml:math id="M144" display="inline"><mml:mrow><mml:mo>&gt;</mml:mo><mml:mn mathvariant="normal">0.6</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M145" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> for site FR-Pue was very
probably an overestimate by DP06. However, one has to remember that each
estimate has a high uncertainty, and the differences between the two methods
were in the range of this uncertainty (Supplement). The estimate of the
uncertainty of the <inline-formula><mml:math id="M146" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> thresholds with <monospace>REddyProc</monospace> was, however,
only half of the uncertainty range estimated by DP06 (Supplement). This
increased precision was mainly due to the modified bootstrapping scheme,
which respects the <inline-formula><mml:math id="M147" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> seasons.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><caption><p id="d1e3194"><inline-formula><mml:math id="M148" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> thresholds derived using different methods deviate for single
sites. The relationship across site years is retained as indicated by a
regression (solid line with shaded uncertainty bound) close to the 1 : 1
line (dashed).</p></caption>
            <?xmltex \igopts{width=184.942913pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-f03.pdf"/>

          </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><caption><p id="d1e3215">Strong correspondence in NEE based on the <inline-formula><mml:math id="M149" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimated by
<monospace>REddyProc</monospace> and NEE based on the <inline-formula><mml:math id="M150" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimated by DP06 across
site years. </p></caption>
            <?xmltex \igopts{width=184.942913pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-f04.pdf"/>

          </fig>

      <p id="d1e3250"><?xmltex \hack{\newpage}?>When propagating the differences in <inline-formula><mml:math id="M151" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> to differences in annual NEE, there
was no bias and decreased scatter across sites between all the methods
(Fig. <xref ref-type="fig" rid="Ch1.F4"/>), despite the differences in <inline-formula><mml:math id="M152" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
threshold. The absolute differences in annual NEE between the methods were
small (mostly <inline-formula><mml:math id="M153" display="inline"><mml:mrow><mml:mo>&lt;</mml:mo><mml:mn mathvariant="normal">20</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M154" display="inline"><mml:mrow><mml:mi mathvariant="normal">gC</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">yr</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>), and mostly lower than half
of the uncertainty range estimated from the bootstrap (Supplement).
<monospace>REddyProc</monospace>  estimates <inline-formula><mml:math id="M155" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> thresholds with roughly double the
precision compared to DP06, due to its protecting of seasons during bootstrap
(Supplement).</p>
</sec>
<sec id="Ch1.S3.SS2.SSS3">
  <?xmltex \opttitle{Discussion of $u_{*}$ threshold estimation}?><title>Discussion of <inline-formula><mml:math id="M156" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimation</title>
      <?pagebreak page5022?><p id="d1e3348">The agreement between NEE based on <inline-formula><mml:math id="M157" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> estimates of
<monospace>REddyProc</monospace> moving point implementation and current FLUXNET standard
post-processing (DP06) (Fig. <xref ref-type="fig" rid="Ch1.F4"/>) indicates that the
sensitivity of NEE to the <inline-formula><mml:math id="M158" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimate in the inferred ranges is
low, which also explains the large uncertainty of the <inline-formula><mml:math id="M159" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold
estimate. One reason for the missing effect could be site selection of this
study without many sites affected by advection, which show limited saturation
of the NEE–<inline-formula><mml:math id="M160" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> dependence. Since in such cases the filtering
does not work properly anyway, it should not change the conclusions for NEE.
Hence, we infer that <inline-formula><mml:math id="M161" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> estimates of both DP06 and <monospace>REddyProc</monospace> are
appropriate due to the negligible effect on NEE sums. The agreement implies
that both methods can be interchanged in studies that are based on aggregated
values, such as annual carbon budgets or for upscaling, without the need to
reprocess data.</p>
      <p id="d1e3415">However, the increase in estimated precision, i.e., lower standard deviation,
of the <inline-formula><mml:math id="M162" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimate also yields an increase in estimated
precision of the annual NEE by 50 % (Supplement). This will lead to
improved accuracy and usability of EC measurements and any downstream,
post-processed data products in model–data integration studies.</p>
      <p id="d1e3429">While the default seasons and their aggregation are in line with previous
approaches, <monospace>REddyProc</monospace> allows site-specific knowledge to be used to
derive better threshold estimates. For example, if there is a disturbance
such as harvest, the <inline-formula><mml:math id="M163" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold is expected to change and a different
threshold should be applied for filtering before and after the disturbance.
In this case the user can define a season change at the harvest date and use
season-specific threshold estimates instead of the annually aggregated
estimate (Sect. <xref ref-type="sec" rid="App1.Ch1.S2.SS7"/> in Appendix B).</p>
</sec>
</sec>
<sec id="Ch1.S3.SS3">
  <title>Gap filling: benchmark with BGC16</title>
      <p id="d1e3455">The gap-filling implementation of <monospace>REddyProc</monospace> was benchmarked with the
BGC online tool (BGC16, Sect. <xref ref-type="sec" rid="Ch1.S3"/>), which used
pvWave code developed by <xref ref-type="bibr" rid="bib1.bibx32" id="text.59"/>.</p>
<sec id="Ch1.S3.SS3.SSS1">
  <title>Differences in code</title>
      <p id="d1e3471">Compared to the BGC16, the new implementation of the MDS algorithm in
<monospace>REddyProc</monospace> was not limited to single years, but it filled the gaps with a
window moving continuously over all years in the input data. This had the
advantage of smoother gap filling over the end of the year, and this will especially be
of interest for sites in which vegetation is not dormant during this time.
This new feature led to different, probably more realistic gap-filled NEE
values at the beginning and end of the year.</p>
      <p id="d1e3477">There were also slight differences in the sequence of window sizes between
<monospace>REddyProc</monospace> and BGC16. For MDC, the window size with BGC16 had a few
more intermediate day steps than <monospace>REddyProc</monospace>, which
affected longer gaps with missing meteorology. The default
meteorological variables and margins for LUT (see Sect. 4.2.2 above) were the
same in both implementations.</p>
      <p id="d1e3486">While <monospace>REddyProc</monospace> restricts gap filling to the interpolation of gaps,
BGC16 also restricted missing
records in periods without measurements.</p>
</sec>
<sec id="Ch1.S3.SS3.SSS2">
  <title>Benchmark results and discussion for gap filling</title>
      <p id="d1e3498">In the benchmark, <monospace>REddyProc</monospace> gap filling was run using the same
measured NEE as input that passed the QA/QC routines and <inline-formula><mml:math id="M164" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering. The
annually aggregated values comprised both filled gaps and originally valid
records.</p>
      <p id="d1e3515"><monospace>REddyProc</monospace> gap-filling results agreed with the results of BGC16. A
few discrepancies at a half-hourly timescale were found mostly during longer
gaps due to the usage of fewer window sizes, as shown for the DE-Tha case
(Fig. <xref ref-type="fig" rid="Ch1.F5"/>a). At an annually aggregated
timescale, the agreement between methods was strong (<inline-formula><mml:math id="M165" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.99</mml:mn></mml:mrow></mml:math></inline-formula>)
(Fig. <xref ref-type="fig" rid="Ch1.F5"/>b). The outlier of site RU-Cok
is due to the availability of only a few months of data for the whole year.
While <monospace>REddyProc</monospace> filled gaps in the time period with available data,
BGC16 extrapolated into the time before and
after this period. The seasonal cycle was well
reproduced at each site (Supplement).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><caption><p id="d1e3544">Predictions of NEE by <monospace>REddyProc</monospace> after gap filling agree
with BGC16 both at half-hourly values <bold>(a)</bold>, shown for the DE-Tha 1998
case, and annual means across sites <bold>(b)</bold>. Larger quality flags are
associated with larger window
sizes.</p></caption>
            <?xmltex \igopts{width=199.169291pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-f05.pdf"/>

          </fig>

      <p id="d1e3562">The good agreement between NEE based on gap filling by <monospace>REddyProc</monospace> and
gap filling by BGC16 (Fig. <xref ref-type="fig" rid="Ch1.F5"/>) implies
that both gap-filling tools can be used interchangeably without the need to
reprocess data.</p>
</sec>
</sec>
<sec id="Ch1.S3.SS4">
  <title>Nighttime flux partitioning: benchmark BGC16</title>
      <p id="d1e3578">The nighttime-based flux partitioning was benchmarked to BGC16, which used
pvWave code developed by <xref ref-type="bibr" rid="bib1.bibx32" id="text.60"/>.</p><?xmltex \hack{\newpage}?>
<?pagebreak page5023?><sec id="Ch1.S3.SS4.SSS1">
  <title>Differences in code</title>
      <p id="d1e3590">The main features of the <monospace>REddyProc</monospace> implementation of the
nighttime-based partitioning algorithm were very similar to BGC16,
using a reference temperature of 15 <inline-formula><mml:math id="M166" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C and trimming the estimates of temperature
sensitivity <inline-formula><mml:math id="M167" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> before aggregating them
(Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS1"/>). <monospace>REddyProc</monospace> differed from
BGC16 in computing the potential radiation that is used in subsetting the
nighttime data to derive <inline-formula><mml:math id="M168" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> and R<inline-formula><mml:math id="M169" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:math></inline-formula> (<xref ref-type="bibr" rid="bib1.bibx32" id="altparen.61"/>).
While <monospace>REddyProc</monospace> used the exact solar time for the calculation of the
potential radiation, where the sun culminates exactly at noon, BGC16 used the
local winter time, which differs from the solar time depending on the
location within the time zone.</p>
</sec>
<sec id="Ch1.S3.SS4.SSS2">
  <title>Benchmark results and discussion for nighttime
flux partitioning</title>
      <p id="d1e3654">Annual aggregated values of R<inline-formula><mml:math id="M170" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> predicted by <monospace>REddyProc</monospace>
were in very good agreement (<inline-formula><mml:math id="M171" display="inline"><mml:mrow><mml:msup><mml:mi>R</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.99</mml:mn></mml:mrow></mml:math></inline-formula>; slope <inline-formula><mml:math id="M172" display="inline"><mml:mrow><mml:mo>≈</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>) with BGC16 as
shown in Fig. <xref ref-type="fig" rid="Ch1.F6"/> and in the
Supplement.</p>
      <p id="d1e3696">In order to evaluate the effects of the differences introduced in the code
described above, we also computed R<inline-formula><mml:math id="M173" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> by prescribing either
<inline-formula><mml:math id="M174" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>, or a selection of nighttime data, or both from BGC16 output in
<monospace>REddyProc</monospace>. Results are reported in the Supplement and showed that
the most important factor affecting the R<inline-formula><mml:math id="M175" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula> computed with
<monospace>REddyProc</monospace> was the different selection of nighttime data, though the
differences were almost negligible at an annual timescale.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><caption><p id="d1e3736">Predictions of annually aggregated ecosystem respiration,
R<inline-formula><mml:math id="M176" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>, from <monospace>REddyProc</monospace> nighttime partitioning agree with
the predictions by BGC16.</p></caption>
            <?xmltex \igopts{width=184.942913pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-f06.pdf"/>

          </fig>

      <p id="d1e3757">The two implementations agreed very
well for most sites at an annual timescale. Because of no systematic
deviations across sites, the spatial upscaling of fluxes should not be
affected by <monospace>REddyProc</monospace> implementation. However, for some sites, such
as IT-Amp, the relative errors that are quite large indicate problems related
to the selection of nighttime data and problems due to large gaps in the
dataset.</p><?xmltex \hack{\newpage}?>
</sec>
</sec>
<sec id="Ch1.S3.SS5">
  <title>Daytime flux partitioning: benchmark with BGC16</title>
      <p id="d1e3771">The daytime flux partitioning was benchmarked with results of the BGC online
tool (BGC16, Sect. <xref ref-type="sec" rid="Ch1.S3"/>), which is based on pvWave code
developed by <xref ref-type="bibr" rid="bib1.bibx17" id="text.62"/> and used in the processing of the 2015 FLUXNET
release (<xref ref-type="bibr" rid="bib1.bibx27" id="altparen.63"/>).</p>
<sec id="Ch1.S3.SS5.SSS1">
  <title>Differences in code</title>
      <p id="d1e3787">BGC16 differed from <monospace>REddyProc</monospace> (Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS2"/>),
mainly in aspects of separation of nighttime data, estimation of temperature
sensitivity from nighttime data, uncertainty estimation, treatment of
missing values, and optimization library code.</p>
      <p id="d1e3795">While for separating nighttime data <monospace>REddyProc</monospace> used the exact solar
time, where the sun culminates exactly at noon, BGC16 used the local winter time.</p>
      <p id="d1e3801">For the estimation of temperature sensitivity <inline-formula><mml:math id="M177" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> from nighttime data,
BGC16 used a reference temperature of 15 <inline-formula><mml:math id="M178" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C, instead of the median
temperature inside the window. Hence, it estimated stronger correlations
between parameters for windows with a different temperature range. Moreover,
it omitted smoothing of the estimated <inline-formula><mml:math id="M179" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> across time, often leading to
large fluctuations of the <inline-formula><mml:math id="M180" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> estimates across a few days (Supplement),
larger estimates of its uncertainty, and differences in subsequent estimation
of LRC parameters.</p>
      <p id="d1e3846">For uncertainty estimation, BGC16 relied on the curvature of the LRC fit's
optimum instead of a bootstrap procedure. Hence, it could not take into
account the uncertainty of <inline-formula><mml:math id="M181" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> estimated from nighttime data before the
daytime LRC fit. Moreover, during interpolation of fluxes based on previous
and subsequent valid estimates, the distance weights differed. While
<monospace>REddyProc</monospace> assigned the estimates to the time of the mean of valid
record in a window, BGC16 assigned it to the start of the third day, also if
there were only valid data for the first day in the window.</p>
      <p id="d1e3864">For weighting the records in the LRC fit, BGC16 used the raw estimated NEE
uncertainty of each record. It did not check for high leverage of spurious
low NEE uncertainty estimates. Its estimates, therefore, were in some windows
very strongly influenced by a few records, and failed if a NEE uncertainty
estimate of zero was provided. Moreover, when there were missing values or
values below zero in a given NEE uncertainty, it set all uncertainty to 1, while <monospace>REddyProc</monospace> filled the
gaps by setting the missing uncertainty to the maximum of 20 % of
respective NEE but at least 0.7 <inline-formula><mml:math id="M182" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><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 width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula>.</p>
      <p id="d1e3904">Treatment of missing values was not considered by BGC16 and assumed to be
handled prior to the processing. Hence, it did
not handle missing VPD values and did not retry the LRC fit without
the VPD effect in order to also use records with missing VPD.
Moreover, as described above, when there were missing values of NEE
uncertainty, weighting records in the LRC fit were omitted.</p>
      <?pagebreak page5024?><p id="d1e3907"><?xmltex \hack{\newpage}?>For compatibility with BGC16, the above code differences can be disabled in
<monospace>REddyProc</monospace>. But differences in optimization library code and
specifically the conditions of non-convergence on scattered data could not be
eliminated, which led to differences in results as shown in the following
section.</p>
</sec>
<sec id="Ch1.S3.SS5.SSS2">
  <title>Benchmark results for daytime partitioning</title>
      <p id="d1e3920">Annually GPP predictions of both implementations showed no significant bias
across the test sites (Fig. <xref ref-type="fig" rid="Ch1.F7"/>),
although there was some scatter among individual predictions. Similar scatter
was observed when comparing the predictions of the default <monospace>REddyProc</monospace>
options to the predictions with compatibility options. Most of the
differences were caused by decreasing the unreasonable high influence of NEE
records with small NEE uncertainty (Supplement).</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7"><caption><p id="d1e3930">Prediction of annually aggregated GPP from <monospace>REddyProc</monospace>
daytime partitioning agree with BGC16 across
sites.</p></caption>
            <?xmltex \igopts{width=184.942913pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-f07.pdf"/>

          </fig>

      <p id="d1e3942">The largest differences in aggregated fluxes between implementations were due
to the extrapolation of fitted parameters to periods where no parameter fits
were obtained. In many of these cases, there were fits at the boundaries of
these periods, whose validity was questionable. Whether these fits passed the
quality check or not had a large influence on the extrapolation and hence on
the aggregated values. For example, at RU-Cok parameter estimates for valid
periods agreed between implementations. However, no valid parameters could be
obtained for winter months. While <monospace>REddyProc</monospace> reported missing values,
BGC16 also reported GPP values based on summer parameterizations for periods further away from
summer, which in turn led to higher annual GPP estimates.</p>
      <p id="d1e3948">Uncertainty estimates of gross fluxes approximately doubled with
<monospace>REddyProc</monospace> due to the accounting for uncertainty in temperature
sensitivity estimates from nighttime data (Supplement).</p><?xmltex \hack{\newpage}?>
</sec>
<sec id="Ch1.S3.SS5.SSS3">
  <title>Discussion of daytime flux partitioning</title>
      <p id="d1e3961">Agreement between aggregated fluxes predicted by the daytime method and
absence of bias for the test sites
(Fig. <xref ref-type="fig" rid="Ch1.F7"/>) suggest that the
methods can be used interchangeably for upscaling, although differences in
results of influential sites can potentially propagate to differences in
upscaled estimates. <monospace>REddyProc</monospace> provides a quality flag for the
results of the daytime partitioning, which allows less reliable
data to be excluded in upscaling studies. For the results associated with good quality
flags, we have greater confidence in the <monospace>REddyProc</monospace>-based estimates.</p>
      <p id="d1e3972">The daytime flux partitioning is quite sensitive to the details of the LRC
fit. Small changes in treatment of extreme or missing NEE uncertainty
estimates or changes in pre-processing and treatment of missing values cause
different estimates of LRC parameters and propagate to predicted fluxes of
GPP and R<inline-formula><mml:math id="M183" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>. Although we put much effort in trying to reproduce
the results of BGC16, we were not able to eliminate all differences,
especially in the subtle details in the parameter optimization library codes.
The differences in predicted half-hourly fluxes, however, average out across
sites and across time (Supplement), making this issue less severe at larger
scales.</p>
      <p id="d1e3984">The estimated uncertainties are even more sensitive. Both implementations
occasionally produce unreasonably high outliers that affect the aggregated
values. <monospace>REddyProc</monospace>, in general, estimates higher uncertainties of
predicted fluxes because it accounts for uncertainty in temperature
sensitivity. Note that the uncertainty introduced to annually aggregated
fluxes due to flux partitioning is smaller than uncertainty due to an uncertain
<inline-formula><mml:math id="M184" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimate. Hence, differences or difficulties in uncertainty
estimation caused by flux partitioning do affect conclusions of the overall
uncertainty estimates to a lesser extent.</p>
</sec>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <title>Conclusions</title>
      <p id="d1e4009">The <monospace>REddyProc</monospace> software provides a set of tools for the
<inline-formula><mml:math id="M185" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>-focussed post-processing of eddy covariance flux data including
<inline-formula><mml:math id="M186" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering, gap filling, and flux partitioning, and propagation of the
uncertainty from the <inline-formula><mml:math id="M187" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering to the gap-filled NEE and partitioned
GPP and R<inline-formula><mml:math id="M188" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>.</p>
      <p id="d1e4057">The freely available R-package enables researchers to integrate the flux data
processing into their own offline environment or work stream without the
need of uploading data. This seamless integration allows overall
workflow to be improved, processing routines to be sped up, and ultimately cleaner,
reproducible scientific results to be generated.</p>
      <p id="d1e4060">The compatibility of the implemented methods with the available standard tools
provides continuity of the data analysis when adopting
<monospace>REddyProc</monospace> for processing EC data. <monospace>REddyProc</monospace> can closely
reproduce results of the widely used BGC online tool (BGC16,
Sect. <xref ref-type="sec" rid="Ch1.S3"/>).</p>
      <?pagebreak page5025?><p id="d1e4071"><?xmltex \hack{\newpage}?>A number of enhancements provide more flexibility to the user in the
processing of their data. For instance, the new processing allows
multi-year data to be treated without breaks at annual boundaries that can significantly
affect sites in the Southern Hemisphere or sites characterized by vegetation
activity in winter. Another new feature of <monospace>REddyProc</monospace> is the
flexibility to define different seasons for the application of the
<inline-formula><mml:math id="M189" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>-filtering and gap-filling routines, which is important for sites with
discontinuous surface cover associated with snowmelt, dry seasons, or
harvest.</p>
      <p id="d1e4090">Sensitivity of the results to subtle details of the implementation, however,
calls for caution when interpreting results. This is especially true for <inline-formula><mml:math id="M190" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
threshold estimation and the daytime flux partitioning, and especially for
data with long gaps.</p>
      <p id="d1e4104"><?xmltex \hack{\newpage}?>Continued integration of new methodological developments into the package
will support research using EC data. We strive to provide new developments in
a basic and extensible manner, while paying attention to compatibility with
results of reference implementations.</p>
      <p id="d1e4108">In summary, research using (half-)hourly eddy covariance data can benefit
from building blocks for standardized and extensible post-processing provided
by <monospace>REddyProc</monospace>.</p>
</sec>

      
      </body>
    <back><notes notes-type="codedataavailability">

      <p id="d1e4119"><monospace>REddyProc</monospace> version 1.1.3 is available at
<ext-link xlink:href="https://doi.org/10.5281/zenodo.1171248" ext-link-type="DOI">10.5281/zenodo.1171248</ext-link> <xref ref-type="bibr" rid="bib1.bibx37" id="paren.64"/>. Access of benchmark data
and tools is described in Sect. 3.</p>
  </notes><?xmltex \hack{\clearpage}?><app-group>

<?pagebreak page5026?><app id="App1.Ch1.S1">
  <?xmltex \opttitle{The \texttt{REddyProc}~package}?><title>The <monospace>REddyProc</monospace> package</title>
      <p id="d1e4143">The <monospace>REddyProc</monospace> processing tool is freely available in two options:
(a) online as a web
service<fn id="App1.Ch1.Footn1"><p id="d1e4149"><uri>http://www.bgc-jena.mpg.de/bgi/index.php/Services/REddyProcWeb</uri>,
last access: 17 August 2018</p></fn> with a smaller range of user options, and (b) as
a package of the open-source R environment with a larger set of user options
and with each of the steps and methods available independently.</p>
      <p id="d1e4155">The <monospace>REddyProc</monospace> package can be installed by typing the following at the R-terminal.
<?xmltex \hack{\newline}?><monospace>install.packages("REddyProc")<?xmltex \hack{\newline}?> library(REddyProc)<?xmltex \hack{\newline}?> ?REddyProc</monospace><?xmltex \hack{\newline}?>
Alternatively, there is an automatically built docker image
<xref ref-type="bibr" rid="bib1.bibx21" id="paren.65"/> at the docker hub that allows RStudio to be run with
REddyProc from a browser without any other installations besides the docker.
Regarding installation issues and docker images, we refer the reader to the
GitHub project homepage<fn id="App1.Ch1.Footn2"><p id="d1e4173"><uri>http://github.com/bgctw/REddyProc</uri>,
last access: 17 August 2018</p></fn>.</p>
      <p id="d1e4179">Some general principles and choices in the design of <monospace>REddyProc</monospace> that
lead to trade-offs between robustness and flexibility are explained in the
Supplement.</p>
</app>

<app id="App1.Ch1.S2">
  <title>Example application</title>
      <p id="d1e4191">This section reports an example R session using <monospace>REddyProc</monospace>. Code is
shown in a shaded area and corresponding output with monospace font.</p>
<sec id="App1.Ch1.S2.SS1">
  <title>Importing the half-hourly
data</title>
      <p id="d1e4202">The workflow starts with importing the half-hourly data. The example reads a
text file with data of the year 1998 from the DE-Tha site and converts the
separate decimal columns year, day, and hour to a POSIX timestamp column.
Next, it initializes the
<monospace>sEddyProc</monospace> class.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g01.pdf"/></p>
</sec>
<sec id="App1.Ch1.S2.SS2">
  <?xmltex \opttitle{Estimating the $u_{*}$ threshold
distribution}?><title>Estimating the <inline-formula><mml:math id="M191" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold
distribution</title>
      <p id="d1e4232">The second step is the estimation of the distribution of <inline-formula><mml:math id="M192" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
thresholds to identify periods of low friction velocity (<inline-formula><mml:math id="M193" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>), where
NEE is biased low. Discarding periods with low <inline-formula><mml:math id="M194" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> is one of the
largest sources of uncertainty in aggregated fluxes. Hence, several
quantiles of the distribution of the uncertain <inline-formula><mml:math id="M195" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold are
estimated by a bootstrap.</p>
      <p id="d1e4279">The friction velocity, <inline-formula><mml:math id="M196" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>, needs to be in a column of the input dataset
named
“Ustar”.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g02.pdf"/></p>
      <p id="d1e4299">The output reports <inline-formula><mml:math id="M197" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> estimates of 0.42 for the original data and 0.37,
0.44, 0.62 for lower, median, and upper quantiles of the estimated
distribution. The threshold can vary between periods of different
surface roughness, e.g., before and after harvest. Therefore, there are
estimates for different time periods of the year, called seasons, reported as
different rows. These season estimates can be aggregated to entire years
or to a single value across years, reported by rows with corresponding
aggregation mode.</p>
      <p id="d1e4313">The subsequent post-processing steps will be repeated using the three
quantiles of the <inline-formula><mml:math id="M198" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> distribution. They require a
<inline-formula><mml:math id="M199" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold to be specified for each season as well as a suffix to distinguish the outputs
related to different thresholds.</p>
      <p id="d1e4339">For this example of an evergreen forest site, the same annually aggregated
<inline-formula><mml:math id="M200" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimate will be chosen for each of the seasons within a
year. In order to distinguish the automatically generated columns, the column
names of the estimation results are written for the variable
<monospace>uStarSuffixes</monospace>.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g03.pdf"/></p>
</sec>
<sec id="App1.Ch1.S2.SS3">
  <title>Gap filling</title>
      <?pagebreak page5027?><p id="d1e4368">The second post-processing step is filling the gaps using information from
the valid data. In this case, the same annual <inline-formula><mml:math id="M201" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimate is
used for each season, as described above, and the uncertainty will also be
computed for valid records
(<monospace>FillAll</monospace>).<?xmltex \hack{\newpage}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g04.pdf"/></p>
      <p id="d1e4391">The screen output (not shown here) already shows that the <inline-formula><mml:math id="M202" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> filtering and
gap filling was repeated for each given estimate of the <inline-formula><mml:math id="M203" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold, i.e., column in <monospace>uStarThAnnual</monospace>, with marking 22 % to 38 % of
the data as a gap.</p>
      <p id="d1e4419">For each of the different <inline-formula><mml:math id="M204" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimates, a separate set of output
columns of filled NEE and its uncertainty is generated, distinguished by the
suffixes given with <monospace>uStarSuffixes</monospace>. Suffix “_f” denotes the filled
value and “_fsd” the estimated standard deviation of its
uncertainty.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g05.pdf"/></p>
</sec>
<sec id="App1.Ch1.S2.SS4">
  <?xmltex \opttitle{Partitioning net flux into GPP and
R${}_{\mathrm{eco}}$}?><title>Partitioning net flux into GPP and
R<inline-formula><mml:math id="M205" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula></title>
      <p id="d1e4458">The third post-processing step is partitioning the net flux (NEE) into its
gross components GPP and R<inline-formula><mml:math id="M206" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula>. The partitioning algorithm needs a
precise criterion between nighttime and daytime. Therefore, geographical
coordinates and the time zone need to be provided to allow the exact solar
time of sunrise and sunset to be computed. Further, missing values in the
meteorological data used need to be
filled.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g06.pdf"/></p>
      <p id="d1e4476">Now we are ready to invoke the partitioning, here by the nighttime approach,
for each of the several filled NEE
columns.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g07.pdf"/></p>
      <p id="d1e4485">The results are stored in columns <monospace>Reco</monospace> and <monospace>GPP_f</monospace>, modified
by the respective <inline-formula><mml:math id="M207" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold
suffix.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g08.pdf"/></p>
      <p id="d1e4511">The visualizations of the results in a fingerprint plot give a compact
overview.<?xmltex \hack{\newpage}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g09.pdf"/></p>
</sec>
<sec id="App1.Ch1.S2.SS5">
  <title>Estimating the uncertainty of aggregated
results</title>
      <p id="d1e4526">First, the mean of the GPP across all the years is computed for each
<inline-formula><mml:math id="M208" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>-scenario and converted from <inline-formula><mml:math id="M209" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><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">s</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> to
<inline-formula><mml:math id="M210" display="inline"><mml:mrow><mml:mi mathvariant="normal">gC</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><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 width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">yr</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>.
<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g10.pdf"/></p>
      <p id="d1e4606">The difference between these aggregated values is a first estimate of the
uncertainty range in GPP due to uncertainty of the <inline-formula><mml:math id="M211" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>
threshold.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g11.pdf"/></p>
      <p id="d1e4626">In this run of the example a relative error of about 4.7 % is inferred.</p>
      <p id="d1e4629">For a better but more time-consuming uncertainty estimate, specify a larger
sample of <inline-formula><mml:math id="M212" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold values, repeat the post-processing for each, and
compute statistics from the larger sample of resulting GPP columns. This can
be achieved by specifying a larger sequence of quantiles when calling
<monospace>sEstUstarThresholdDistribution</monospace> in
Sect. <xref ref-type="sec" rid="App1.Ch1.S2.SS2"/>.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g12.pdf"/></p><?xmltex \hack{\newpage}?>
</sec>
<?pagebreak page5028?><sec id="App1.Ch1.S2.SS6">
  <title>Storing the results in a
csv file</title>
      <p id="d1e4661">The results still reside inside the <monospace>sEddyProc</monospace> class. To export them
to an R Data.frame, the newly generated columns need to be appended to the
columns with the original input data. Then this data.frame is written to a
text file in a temporary
directory.<?xmltex \hack{\newline}?><?xmltex \hack{\noindent}?><?xmltex \igopts{width=207.705118pt}?><inline-graphic xlink:href="https://bg.copernicus.org/articles/15/5015/2018/bg-15-5015-2018-g13.pdf"/></p>
</sec>
<sec id="App1.Ch1.S2.SS7">
  <?xmltex \opttitle{Specifying seasons where the $u_{*}$ threshold differs}?><title>Specifying seasons where the <inline-formula><mml:math id="M213" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold differs</title>
      <p id="d1e4691">With changing surface roughness, e.g., during harvest or leaf fall, the
<inline-formula><mml:math id="M214" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula>–NEE relationship can also change. Therefore the <inline-formula><mml:math id="M215" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold needs to be
re-estimated at different times of the year, called seasons. The default uses
continuous seasons; for details see Sect. <xref ref-type="sec" rid="Ch1.S3.SS2.SSS1"/>. In order to
yield results corresponding to DP06, the user can specify
<monospace>seasonFactor.v = usCreateSeasonFactorMonthWithinYear( EddyData.C$sDATA$sDateTime, startMonth= c(3,6,9,12))</monospace> as an argument to
the routine <monospace>sEstUstarThreshold</monospace>. By default the annual aggregate of the
season thresholds, i.e., maximum across seasons, is used to identify
unfavorable conditions, but the seasonal estimates can also be used instead.</p>
      <p id="d1e4724">Moreover, the users can also specify other user-defined seasons, e.g., when
harvest dates are known (see package vignette DEGebExample). They can create
a grouping by specifying exact starting days of the periods by the function
<monospace>usCreateSeasonFactorYdayYear</monospace>, or they can provide a column with the
data that indicate, e.g., the same group for two wet seasons. Each season is
associated with the year corresponding to the center day between the first and last
day of the season.</p>
      <p id="d1e4730">With all methods, there is a required minimum number of 160 records within a
season. If there are too few records, the data of the seasons within a year
are combined and the <inline-formula><mml:math id="M216" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold for these seasons is set to the estimate
obtained for the data of the entire year.</p><?xmltex \hack{\newpage}?>
</sec>
</app>

<app id="App1.Ch1.S3">
  <title>Abbreviations used repeatedly in the paper</title>
      <p id="d1e4752"><table-wrap id="Taba" position="anchor"><oasis:table><oasis:tgroup cols="2">
     <oasis:colspec colnum="1" colname="col1" align="left"/>
     <oasis:colspec colnum="2" colname="col2" align="justify" colwidth="184.942913pt"/>
     <oasis:tbody>
       <oasis:row>
         <oasis:entry colname="col1"><bold>Symbol</bold></oasis:entry>
         <oasis:entry colname="col2"><bold>Description</bold></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">EC</oasis:entry>
         <oasis:entry colname="col2">eddy covariance</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M217" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">carbon dioxide</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">NEE</oasis:entry>
         <oasis:entry colname="col2">net ecosystem exchange towards the atmosphere in <inline-formula><mml:math id="M218" display="inline"><mml:mrow><mml:mi mathvariant="normal">µ</mml:mi><mml:mi mathvariant="normal">mol</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mspace linebreak="nobreak" width="0.125em"/><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 width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> (aggregated in <inline-formula><mml:math id="M219" display="inline"><mml:mrow><mml:mi mathvariant="normal">gC</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><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 width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">yr</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:row>
       <oasis:row>
         <oasis:entry colname="col1">GPP</oasis:entry>
         <oasis:entry colname="col2">gross primary productivity (same units as NEE)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">R<inline-formula><mml:math id="M220" display="inline"><mml:msub><mml:mi/><mml:mi mathvariant="normal">eco</mml:mi></mml:msub></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">ecosystem respiration (same units as NEE)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M221" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula>, LE</oasis:entry>
         <oasis:entry colname="col2">sensible and latent heat flux in <inline-formula><mml:math id="M222" display="inline"><mml:mrow><mml:mi mathvariant="normal">W</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><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:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M223" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">friction velocity in <inline-formula><mml:math id="M224" display="inline"><mml:mrow><mml:mi mathvariant="normal">m</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi mathvariant="normal">s</mml:mi><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Rg</oasis:entry>
         <oasis:entry colname="col2">shortwave incoming global radiation in <inline-formula><mml:math id="M225" display="inline"><mml:mrow><mml:mi mathvariant="normal">W</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:mrow></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Tair</oasis:entry>
         <oasis:entry colname="col2">air temperature in <inline-formula><mml:math id="M226" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">Tsoil</oasis:entry>
         <oasis:entry colname="col2">soil temperature in <inline-formula><mml:math id="M227" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">VPD</oasis:entry>
         <oasis:entry colname="col2">vapor pressure deficit in <inline-formula><mml:math id="M228" display="inline"><mml:mi mathvariant="normal">hPa</mml:mi></mml:math></inline-formula></oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">LUT</oasis:entry>
         <oasis:entry colname="col2">look-up table (Sect. <xref ref-type="sec" rid="Ch1.S2.SS2.SSS1"/>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MDC</oasis:entry>
         <oasis:entry colname="col2">mean diurnal course (Sect. <xref ref-type="sec" rid="Ch1.S2.SS2.SSS2"/>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">MDS</oasis:entry>
         <oasis:entry colname="col2">marginal distribution sampling (Sect. <xref ref-type="sec" rid="Ch1.S2.SS2.SSS3"/>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M229" display="inline"><mml:mrow><mml:msub><mml:mi>E</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">temperature sensitivity parameter in Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1"><inline-formula><mml:math id="M230" display="inline"><mml:mrow><mml:msub><mml:mi>R</mml:mi><mml:mi mathvariant="normal">Ref</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula></oasis:entry>
         <oasis:entry colname="col2">respiration at reference temperature parameter Eq. (<xref ref-type="disp-formula" rid="Ch1.E1"/>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">LRC</oasis:entry>
         <oasis:entry colname="col2">light-response curve (Sect. <xref ref-type="sec" rid="Ch1.S2.SS3.SSS2"/>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">DP06</oasis:entry>
         <oasis:entry colname="col2">C implementation of the <inline-formula><mml:math id="M231" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mo>*</mml:mo></mml:msub></mml:mrow></mml:math></inline-formula> threshold estimation by Dario Papale (Sect. <xref ref-type="sec" rid="Ch1.S3"/>)</oasis:entry>
       </oasis:row>
       <oasis:row>
         <oasis:entry colname="col1">BGC16</oasis:entry>
         <oasis:entry colname="col2">2016 version of the online tool provided by the MPI-BGC in Jena (Sect. <xref ref-type="sec" rid="Ch1.S3"/>)</oasis:entry>
       </oasis:row>
     </oasis:tbody>
   </oasis:tgroup></oasis:table></table-wrap></p><?xmltex \hack{\clearpage}?><supplementary-material position="anchor"><p id="d1e5159"><bold>The Supplement related to this article is available online at <inline-supplementary-material xlink:href="https://doi.org/10.5194/bg-15-5015-2018-supplement" xlink:title="pdf">https://doi.org/10.5194/bg-15-5015-2018-supplement</inline-supplementary-material>.</bold></p></supplementary-material>
</app>
  </app-group><notes notes-type="authorcontribution">

      <p id="d1e5167">ALM designed the R-package REddyProc in consultation with MR,
based on his original pvWave algorithm. TW extended the functionality of the
package and maintained the code. MM and TW conducted the analysis and JK, KS,
LS, and OM contributed to the code and/or analysis. TW took the lead in
writing the manuscript with contributions from all authors.</p>
  </notes><notes notes-type="competinginterests">

      <p id="d1e5173">The authors declare that they have no conflict of
interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e5179">This work used eddy covariance data acquired and shared by the FLUXNET
community, including these networks: AmeriFlux, AfriFlux, AsiaFlux,
CarboAfrica, CarboEurope-IP, CarboItaly, CarboMont, ChinaFlux, FLUXNET Canada,
GreenGrass, ICOS, KoFlux, LBA, NECC, TERN OzFlux, TCOS-Siberia, and USCCC. The
ERA-Interim reanalysis data are provided by ECMWF and processed by LSCE. The
FLUXNET eddy covariance data processing and harmonization was carried out by
the European Fluxes Database Cluster, the AmeriFlux Management Project, and
the Fluxdata project of FLUXNET, with the support of CDIAC and the ICOS Ecosystem
Thematic Centre, and the OzFlux, ChinaFlux, and AsiaFlux offices.</p><p id="d1e5181">The authors acknowledge Dario Papale, Gilberto Pastorello, and
Trevor F. Keenan for the discussions on the benchmarking of REddyProc and
pvWave code. Mirco Migliavacca and Markus Reichstein acknowledge the
Alexander von Humboldt Foundation that funded part of this research activity
through the Max Planck Research Award to Markus Reichstein. Mirco Migliavacca
acknowledges the MSCA-ITN project TRUSTEE.</p><p id="d1e5183">Ladislav Šigut was supported by the Ministry of Education, Youth and
Sports of the Czech Republic within the CzeCOS program, grant number
LM2015061, and within the National Sustainability Program I (NPU I), grant
number LO1415.<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?> The article processing charges
for this open-access <?xmltex \hack{\newline}?> publication were covered by the Max
Planck Society.<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>Edited by: Paul
Stoy<?xmltex \hack{\newline}?> Reviewed by: three anonymous referees</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bibx1"><label>Aubinet et al.(2000)Aubinet, Grelle, Ibrom, Rannik, Moncrieff, Foken,
Kowalski, Martin, Berbigier, Bernhofer, Clement, Elbers, Granier, Grünwald,
Morgenstern, Pilegaard, Rebmann, Snijders, Valentini, and Vesala</label><mixed-citation>
Aubinet, M., Grelle, A., Ibrom, A., Rannik, U., Moncrieff, J., Foken, T.,
Kowalski, A. S., Martin, P. H., Berbigier, P., Bernhofer, C., Clement, R.,
Elbers, J., Granier, A., Grünwald, T., Morgenstern, K., Pilegaard, K.,
Rebmann, C., Snijders, W., Valentini, R., and Vesala, T.: Estimates of the
annual net carbon and water exchange of European forests: The EUROFLUX
methodology, Adv. Ecol. Res., 30, 114–177, 2000.</mixed-citation></ref>
      <ref id="bib1.bibx2"><label>Aubinet et al.(2012)Aubinet, Vesala, and Papale</label><mixed-citation>Aubinet, M., Vesala, T., and Papale, D. (Eds.): Eddy Covariance, Springer,
the
Netherlands, <ext-link xlink:href="https://doi.org/10.1007/978-94-007-2351-1" ext-link-type="DOI">10.1007/978-94-007-2351-1</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx3"><label>Baldocchi et al.(2017)Baldocchi, Chu, and Reichstein</label><mixed-citation>Baldocchi, D., Chu, H., and Reichstein, M.: Inter-annual variability of net
and
gross ecosystem carbon fluxes: A review, Agr. Forest Meteorol., 249,
520–533,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2017.05.015" ext-link-type="DOI">10.1016/j.agrformet.2017.05.015</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx4"><label>Barr et al.(2013)Barr, Richardson, Hollinger, Papale, Arain, Black,
Bohrer, Dragoni, Fischer, Gu et al.</label><mixed-citation>Barr, A., Richardson, A., Hollinger, D., Papale, D., Arain, M., Black, T.,
Bohrer, G., Dragoni, D., Fischer, M., Gu, L.,  Law, B. E.,  Margolis, H. A.,  McCaughey, J. H., Munger, J. W.,  Oechel,  W., and Schaeffer, K.: Use of change-point
detection for friction–velocity threshold evaluation in eddy-covariance
studies, Agr. Forest Meteorol., 171, 31–45,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2012.11.023" ext-link-type="DOI">10.1016/j.agrformet.2012.11.023</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx5"><label>Chapin et al.(2006)Chapin, Woodwell, Randerson, Rastetter, Lovett,
Baldocchi, Clark, Harmon, Schimel, Valentini, Wirth, Aber, Cole, Goulden,
Harden, Heimann, Howarth, Matson, McGuire, Melillo, Mooney, Neff, Houghton,
Pace, Ryan, Running, Sala, Schlesinger, and Schulze</label><mixed-citation>
Chapin, F. S., Woodwell, G. M., Randerson, J. T., Rastetter, E. B., Lovett,
G. M., Baldocchi, D. D., Clark, D. A., Harmon, M. E., Schimel, D. S.,
Valentini, R., Wirth, C., Aber, J. D., Cole, J. J., Goulden, M. L., Harden,
J. W., Heimann, M., Howarth, R. W., Matson, P. A., McGuire, A. D., Melillo,
J. M., Mooney, H. A., Neff, J. C., Houghton, R. A., Pace, M. L., Ryan, M. G.,
Running, S. W., Sala, O. E., Schlesinger, W. H., and Schulze, E. D.:
Reconciling carbon-cycle concepts, terminology, and methods, Ecosystems, 9,
1041–1050, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx6"><label>Davison and Hinkley(1997)</label><mixed-citation>
Davison, A. and Hinkley, D.: Bootstrap methods and their application,
Cambridge
University Press, Cambridge, 1997.</mixed-citation></ref>
      <ref id="bib1.bibx7"><label>Desai et al.(2008)Desai, Richardson, Moffat, Kattge, Hollinger, Barr,
Falge, Noormets, Papale, Reichstein, and Stauch</label><mixed-citation>Desai, A. R., Richardson, A. D., Moffat, A. M., Kattge, J., Hollinger, D. Y.,
Barr, A., Falge, E., Noormets, A., Papale, D., Reichstein, M., and Stauch,
V. J.: Cross-site evaluation of eddy covariance GPP and RE decomposition
techniques, Agr. Forest Meteorol., 148, 821–838,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2007.11.012" ext-link-type="DOI">10.1016/j.agrformet.2007.11.012</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx8"><label>Efron and Tibshirani(1986)</label><mixed-citation>
Efron, B. and Tibshirani, R.: Bootstrap methods for standard errors,
confidence intervals, and other measures of statistical accuracy,
Stat. Sci., 1, 54–75, 1986.</mixed-citation></ref>
      <ref id="bib1.bibx9"><label>Falge et al.(2001)Falge, Baldocchi, Olson, Anthoni, Aubinet,
Bernhofer, Burba, Ceulemans, Clement, Dolman, Granier, Gross, Grünwald,
Hollinger, Jensen, Katul, Keronen, Kowalski, Ta Lai, Law, Meyers, Moncrieff,
Moors, Munger, Pilegaard, Rannik, Rebmann, Suyker, Tenhunen, Tu, Verma,
Vesala, Wilson, and Wofsy</label><mixed-citation>
Falge, E., Baldocchi, D., Olson, R. J., Anthoni, P., Aubinet, M., Bernhofer,
C., Burba, G., Ceulemans, R., Clement, R., Dolman, H., Granier, A., Gross,
P., Grünwald, T., Hollinger, D., Jensen, N. O., Katul, G., Keronen, P.,
Kowalski, A., Ta Lai, C., Law, B. E., Meyers, T., Moncrieff, J., Moors, E.,
Munger, J. W., Pilegaard, K., Rannik, U., Rebmann, C., Suyker, A., Tenhunen,
J., Tu, K., Verma, S., Vesala, T., Wilson, K., and Wofsy, S.: Gap filling
strategies for defensible annual sums of net ecosystem exchange, Agr.
Forest
Meteorol., 107, 29–43, 2001.</mixed-citation></ref>
      <ref id="bib1.bibx10"><label>Foken and Wichura(1996)</label><mixed-citation>Foken, T. and Wichura, B.: Tools for quality assessment of surface-based flux
measurements, Agr. Forest Meteorol., 78, 83–105,
<ext-link xlink:href="https://doi.org/10.1016/0168-1923(95)02248-1" ext-link-type="DOI">10.1016/0168-1923(95)02248-1</ext-link>, 1996.</mixed-citation></ref>
      <ref id="bib1.bibx11"><label>Foken et al.(2004)Foken, Göockede, Mauder, Mahrt, Amiro, and
Munger</label><mixed-citation>
Foken, T., Göockede, M., Mauder, M., Mahrt, L., Amiro, B., and Munger,
W.:
Post-field data quality control, in: Handbook of micrometeorology, University of
Bayreuth,
181–208, Springer, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx12"><label>Foken et al.(2012)Foken, Leuning, Oncley, Mauder, and
Aubinet</label><mixed-citation>Foken, T., Leuning, R., Oncley, S. R., Mauder, M., and Aubinet, M.:
Corrections
and Data Quality Control,   85–131, Springer, Dordrecht, the Netherlands,
<ext-link xlink:href="https://doi.org/10.1007/978-94-007-2351-1_4" ext-link-type="DOI">10.1007/978-94-007-2351-1_4</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx13"><label>Gilmanov et al.(2003)Gilmanov, Johnson, and Saliendra</label><mixed-citation>Gilmanov, T. G., Johnson, D. A., and Saliendra, N. Z.: Growing season
<inline-formula><mml:math id="M232" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula>
fluxes in a sagebrush-steppe ecosystem in Idaho: bowen ratio/energy balance
measurements and modeling, Basic  Appl. Ecol., 4, 167–183,
<ext-link xlink:href="https://doi.org/10.1078/1439-1791-00144" ext-link-type="DOI">10.1078/1439-1791-00144</ext-link>, 2003.</mixed-citation></ref>
      <?pagebreak page5030?><ref id="bib1.bibx14"><label>Göckede et al.(2004)</label><mixed-citation>Göckede, M., Rebmann, C., and Foken, T.: A combination of quality
assessment
tools for eddy covariance measurements with footprint modelling for the
characterisation of complex sites, Agr. Forest Meteorol., 127,
175–188, <ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2004.07.012" ext-link-type="DOI">10.1016/j.agrformet.2004.07.012</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bibx15"><label>Jung et al.(2011)Jung, Reichstein, Margolis, Cescatti, Richardson,
Arain, Arneth, Bernhofer, Bonal, Chen, Gianelle, Gobron, Kiely, Kutsch,
Lasslop, Law, Lindroth, Merbold, Montagnani, Moors, Papale, Sottocornola,
Vaccari, and Williams</label><mixed-citation>Jung, M., Reichstein, M., Margolis, H. A., Cescatti, A., Richardson, A. D.,
Arain, M. A., Arneth, A., Bernhofer, C., Bonal, D., Chen, J., Gianelle, D.,
Gobron, N., Kiely, G., Kutsch, W., Lasslop, G., Law, B. E., Lindroth, A.,
Merbold, L., Montagnani, L., Moors, E. J., Papale, D., Sottocornola, M.,
Vaccari, F., and Williams, C.: Global patterns of land-atmosphere fluxes of
carbon dioxide, latent heat, and sensible heat derived from eddy covariance,
satellite, and meteorological observations, J. Geophys. Res.-Biogeo., 116,
G00J07,
<ext-link xlink:href="https://doi.org/10.1029/2010JG001566" ext-link-type="DOI">10.1029/2010JG001566</ext-link>,
2011.</mixed-citation></ref>
      <ref id="bib1.bibx16"><label>Körner(1995)</label><mixed-citation>Körner, C.: Leaf Diffusive Conductances in the Major Vegetation Types of
the Globe,  463–490, Springer,  Berlin, Heidelberg,
<ext-link xlink:href="https://doi.org/10.1007/978-3-642-79354-7_22" ext-link-type="DOI">10.1007/978-3-642-79354-7_22</ext-link>, 1995.</mixed-citation></ref>
      <ref id="bib1.bibx17"><label>Lasslop et al.(2010)Lasslop, Reichstein, Papale, Richardson, Arneth,
Barr, Stoy, and Wohlfahrt</label><mixed-citation>Lasslop, G., Reichstein, M., Papale, D., Richardson, A., Arneth, A., Barr,
A.,
Stoy, P., and Wohlfahrt, G.: Separation of net ecosystem exchange into
assimilation and respiration using a light response curve approach: critical
issues and global evaluation, Glob. Change Biol., 16, 187–208,
<ext-link xlink:href="https://doi.org/10.1111/j.1365-2486.2009.02041.x" ext-link-type="DOI">10.1111/j.1365-2486.2009.02041.x</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bibx18"><label>Lloyd and Taylor(1994)</label><mixed-citation>
Lloyd, J. and Taylor, J.: On the temperature dependence of soil
respiration,
Funct. Ecol., 8, 315–323, 1994.</mixed-citation></ref>
      <ref id="bib1.bibx19"><label>Massman and Lee(2002)</label><mixed-citation>
Massman, W. J. and Lee, X.: Eddy covariance flux corrections and
uncertainties
in long-term studies of carbon and energy exchanges, Agr. Forest
Meteorol., 113, 121–144, 2002.</mixed-citation></ref>
      <ref id="bib1.bibx20"><label>Menzer et al.(2013)Menzer, Moffat, Meiring, Lasslop,
Schukat-Talamazzini, and Reichstein</label><mixed-citation>Menzer, O., Moffat, A. M., Meiring, W., Lasslop, G., Schukat-Talamazzini,
E. G., and Reichstein, M.: Random errors in carbon and water vapor fluxes
assessed with Gaussian Processes, Agr. Forest Meteorol.,
178–179, 161–172, <ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2013.04.024" ext-link-type="DOI">10.1016/j.agrformet.2013.04.024</ext-link>, 2013.</mixed-citation></ref>
      <ref id="bib1.bibx21"><label>Metzger et al.(2017)Metzger, Durden, Sturtevant, Luo,
Pingintha-Durden, Sachs, Serafimovich, Hartmann, Li, Xu, and
Desai</label><mixed-citation>Metzger, S., Durden, D., Sturtevant, C., Luo, H., Pingintha-Durden, N.,
Sachs, T., Serafimovich, A., Hartmann, J., Li, J., Xu, K., and Desai, A. R.:
eddy4R 0.2.0: a DevOps model for community-extensible processing and analysis
of eddy-covariance data based on R, Git, Docker, and HDF5, Geosci. Model
Dev., 10, 3189–3206, <ext-link xlink:href="https://doi.org/10.5194/gmd-10-3189-2017" ext-link-type="DOI">10.5194/gmd-10-3189-2017</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx22"><label>Moffat(2012)</label><mixed-citation>
Moffat, A. M.: A new methodology to interpret high resolution measurements of
net carbon fluxes between terrestrial ecosystems and the atmosphere, PhD
thesis, Friedrich-Schiller-Universität Jena, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx23"><label>Moffat et al.(2007)Moffat, Papale, Reichstein, Hollinger, Richardson,
Barr, Beckstein, Braswell, Churkina, Desai et al.</label><mixed-citation>Moffat, A. M., Papale, D., Reichstein, M., Hollinger, D. Y., Richardson,
A. D.,
Barr, A. G., Beckstein, C., Braswell, B. H., Churkina, G., Desai, A. R.,
Falge, E., Gove, J. H., Heimann, M., Hui, D., Jarvis, A. J., Kattge, J., Noormets, A., and Stauch, V. J.: Comprehensive comparison of gap-filling techniques for eddy
covariance net carbon fluxes, Agr. Forest Meteorol., 147,
209–232, <ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2007.08.011" ext-link-type="DOI">10.1016/j.agrformet.2007.08.011</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx24"><label>Muggeo(2003)</label><mixed-citation>
Muggeo, V. M.: Estimating regression models with unknown break-points,
Stat. Med., 22, 3055–3071, 2003.</mixed-citation></ref>
      <ref id="bib1.bibx25"><label>Muggeo(2008)</label><mixed-citation>
Muggeo, V. M.: Segmented: An R package to fit regression models with
broken-line
relationships, R News, 8, 20–25, 2008.</mixed-citation></ref>
      <ref id="bib1.bibx26"><label>Papale et al.(2006)Papale, Reichstein, Aubinet, Canfora, Bernhofer,
Kutsch, Longdoz, Rambal, Valentini, Vesala, and et al.</label><mixed-citation>Papale, D., Reichstein, M., Aubinet, M., Canfora, E., Bernhofer, C., Kutsch,
W., Longdoz, B., Rambal, S., Valentini, R., Vesala, T., and Yakir, D.:
Towards a standardized processing of Net Ecosystem Exchange measured with
eddy covariance technique: algorithms and uncertainty estimation,
Biogeosciences, 3, 571–583, <ext-link xlink:href="https://doi.org/10.5194/bg-3-571-2006" ext-link-type="DOI">10.5194/bg-3-571-2006</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx27"><label>Pastorello et al.(2017)Pastorello, Papale, Chu, Trotta, Agarwal,
Canfora, Baldocchi, and Torn</label><mixed-citation>Pastorello, G., Papale, D., Chu, H., Trotta, C., Agarwal, D., Canfora, E.,
Baldocchi, D., and Torn, M.: The FLUXNET2015 dataset: The longest record of
global carbon, water, and energy fluxes is updated, EOS T. Am. Geophys.
Un., 98,
<ext-link xlink:href="https://doi.org/10.1029/2017EO071597" ext-link-type="DOI">10.1029/2017EO071597</ext-link>, 2017.</mixed-citation></ref>
      <ref id="bib1.bibx28"><label>Rasmussen and Williams(2006)</label><mixed-citation>
Rasmussen, C. E. and Williams, C. K. I.: Gaussian Processes for Machine
Learning, MIT Press, Cambridge, MA, USA, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx29"><label>Rebmann et al.(2012)Rebmann, Kolle, Heinesch, Queck, Ibrom, and
Aubinet</label><mixed-citation>Rebmann, C., Kolle, O., Heinesch, B., Queck, R., Ibrom, A., and Aubinet, M.:
Data Acquisition and Flux Calculations,  59–83, Springer,
Dordrecht, the Netherlands, <ext-link xlink:href="https://doi.org/10.1007/978-94-007-2351-1_3" ext-link-type="DOI">10.1007/978-94-007-2351-1_3</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx30"><label>Reichstein et al.(2005a)Reichstein, Falge, Baldocchi,
Papale, Aubinet, Berbigier, Bernhofer, Buchmann, Gilmanov, Granier
et al.</label><mixed-citation>Reichstein, M., Falge, E., Baldocchi, D., Papale, D., Aubinet, M., Berbigier,
P., Bernhofer, C., Buchmann, N., Gilmanov, T., Granier, A.,  Grünwald, T.,
Havrankova, K., Ilvesniemi, H., Janous, D., Knohl, A., Laurila, T., Lohila,
A., Loustau, D., Matteucci, G., Meyers, T., Miglietta, F., Ourcival, J.-M.,
Pumpanen, J., Rambal, S., Rotenberg, E., Sanz, M., Tenhunen, J., Seufert, G.,
Vaccari, F., Vesala, T., Yakir, D., and Valentini, R.: On the
separation of net ecosystem exchange into assimilation and ecosystem
respiration: review and improved algorithm, Glob. Change Biol., 11,
1424–1439, <ext-link xlink:href="https://doi.org/10.1111/j.1365-2486.2005.001002.x" ext-link-type="DOI">10.1111/j.1365-2486.2005.001002.x</ext-link>, 2005a.</mixed-citation></ref>
      <ref id="bib1.bibx31"><label>Reichstein et al.(2005b)Reichstein, Katterer, Andren,
Ciais, Schulze, Cramer, Papale, and Valentini</label><mixed-citation>Reichstein, M., Kätterer, T., Andrén, O., Ciais, P., Schulze, E.-D.,
Cramer, W., Papale, D., and Valentini, R.: Temperature sensitivity of
decomposition in relation to soil organic matter pools: critique and outlook,
Biogeosciences, 2, 317–321, <ext-link xlink:href="https://doi.org/10.5194/bg-2-317-2005" ext-link-type="DOI">10.5194/bg-2-317-2005</ext-link>, 2005b.</mixed-citation></ref>
      <ref id="bib1.bibx32"><label>Reichstein et al.(2005c)Reichstein, Subke, Angeli, and
Tenhunen</label><mixed-citation>
Reichstein, M., Subke, J. A., Angeli, A. C., and Tenhunen, J. D.: Does the
temperature sensitivity of decomposition of soil organic matter depend upon
water content, soil horizon, or incubation time?, Glob. Change Biol., 11,
1754–1767, 2005c.</mixed-citation></ref>
      <ref id="bib1.bibx33"><label>Reichstein et al.(2012)Reichstein, Stoy, Desai, Lasslop, and
Richardson</label><mixed-citation>Reichstein, M., Stoy, P. C., Desai, A. R., Lasslop, G., and Richardson,
A. D.:
Partitioning of Net Fluxes,   263–289, Springer, Dordrecht, the Netherlands,
<ext-link xlink:href="https://doi.org/10.1007/978-94-007-2351-1_9" ext-link-type="DOI">10.1007/978-94-007-2351-1_9</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bibx34"><label>Stoy et al.(2006)Stoy, Katul, Siqueira, Juang, Novick, Uebelherr, and
Oren</label><mixed-citation>Stoy, P. C., Katul, G. G., Siqueira, M. B., Juang, J.-Y., Novick, K. A.,
Uebelherr, J. M., and Oren, R.: An evaluation of models for partitioning eddy
covariance-measured net ecosystem exchange into photosynthesis and
respiration, Agr. Forest Meteorol., 141, 2–18,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2006.09.001" ext-link-type="DOI">10.1016/j.agrformet.2006.09.001</ext-link>, 2006.</mixed-citation></ref>
      <ref id="bib1.bibx35"><label>van Gorsel et al.(2007)van Gorsel, Leuning, Cleugh, Keith, and
Suni</label><mixed-citation>van Gorsel, E., Leuning, R., Cleugh, H. A., Keith, H., and Suni, T.:
Nocturnal carbon efflux: reconciliation of eddy covariance and chamber
measurements using an alternative to the <inline-formula><mml:math id="M233" display="inline"><mml:mrow><mml:mi>u</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:math></inline-formula>-threshold filtering technique,
Tellus B, 59, 397–403, 2007.</mixed-citation></ref>
      <ref id="bib1.bibx36"><label>Wehr and Saleska(2015)</label><mixed-citation>Wehr, R. and Saleska, S.: An improved isotopic method for partitioning net
ecosystem–atmosphere <inline-formula><mml:math id="M234" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CO</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> exchange, Agr. Forest Meteorol.,
214, 515–531, 2015.</mixed-citation></ref>
      <ref id="bib1.bibx37"><label>Wutzler et al.(2018)</label><mixed-citation>Wutzler, T., Lucas-Moffat, A., Migliavacca, M., Knauer, J., Sickel, K.,
Menzer, O., and Reichstein, M.: Bgctw/Reddyproc: Cran Version And
Biogeosciences Paper, Zenodo, <ext-link xlink:href="https://doi.org/10.5281/zenodo.1171248" ext-link-type="DOI">10.5281/zenodo.1171248</ext-link>, 2018.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Basic and extensible post-processing of eddy covariance flux data with REddyProc</article-title-html>
<abstract-html><p>With the eddy covariance (EC) technique, net fluxes of carbon dioxide
(CO<sub>2</sub>) and other trace gases as well as water and energy fluxes can be
measured at the ecosystem level. These flux measurements are a main source
for understanding biosphere–atmosphere interactions and feedbacks through
cross-site analysis, model–data integration, and upscaling. The raw fluxes
measured with the EC technique require extensive and laborious data
processing. While there are standard
tools<span class="note"><sup class="mark">1</sup><div class="note_content"><a href="http://fluxnet.fluxdata.org/2017/10/10/toolbox-a-rolling-list-of-softwarepackages-for-flux-related-data-processing/" target="_blank">http://fluxnet.fluxdata.org/2017/10/10/toolbox-a-rolling-list-of-softwarepackages-for-flux-related-data-processing/</a>,
last access: 17 August 2018</div></span> available in an open-source environment for
processing high-frequency (10 or 20&thinsp;Hz) data into half-hourly
quality-checked fluxes, there is a need for more usable and extensible tools
for the subsequent post-processing steps. We tackled this need by developing
the <span style="" class="text typewriter">REddyProc</span> package in the cross-platform language R that provides
standard CO<sub>2</sub>-focused post-processing routines for reading
(half-)hourly data from different formats, estimating the <i>u</i><sub>*</sub>
threshold, as well as gap-filling, flux-partitioning, and visualizing the
results. In addition to basic processing, the functions are extensible
and allow easier integration in extended analysis than current tools. New
features include cross-year processing and a better treatment of
uncertainties. A comparison of <span style="" class="text typewriter">REddyProc</span> routines with other
state-of-the-art tools resulted in no significant differences in monthly and
annual fluxes across sites. Lower uncertainty estimates of both <i>u</i><sub>*</sub> and
resulting gap-filled fluxes by 50&thinsp;% with the presented tool were achieved
by an improved treatment of seasons during the bootstrap analysis. Higher
estimates of uncertainty in daytime partitioning (about twice as high)
resulted from a better accounting for the uncertainty in estimates of
temperature sensitivity of respiration. The provided routines can be easily
installed, configured, and used. Hence, the eddy covariance community will
benefit from the <span style="" class="text typewriter">REddyProc</span> package, allowing easier integration of
standard post-processing with extended analysis.</p></abstract-html>
<ref-html id="bib1.bib1"><label>Aubinet et al.(2000)Aubinet, Grelle, Ibrom, Rannik, Moncrieff, Foken,
Kowalski, Martin, Berbigier, Bernhofer, Clement, Elbers, Granier, Grünwald,
Morgenstern, Pilegaard, Rebmann, Snijders, Valentini, and Vesala</label><mixed-citation>
Aubinet, M., Grelle, A., Ibrom, A., Rannik, U., Moncrieff, J., Foken, T.,
Kowalski, A. S., Martin, P. H., Berbigier, P., Bernhofer, C., Clement, R.,
Elbers, J., Granier, A., Grünwald, T., Morgenstern, K., Pilegaard, K.,
Rebmann, C., Snijders, W., Valentini, R., and Vesala, T.: Estimates of the
annual net carbon and water exchange of European forests: The EUROFLUX
methodology, Adv. Ecol. Res., 30, 114–177, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>Aubinet et al.(2012)Aubinet, Vesala, and Papale</label><mixed-citation>
Aubinet, M., Vesala, T., and Papale, D. (Eds.): Eddy Covariance, Springer,
the
Netherlands, <a href="https://doi.org/10.1007/978-94-007-2351-1" target="_blank">https://doi.org/10.1007/978-94-007-2351-1</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>Baldocchi et al.(2017)Baldocchi, Chu, and Reichstein</label><mixed-citation>
Baldocchi, D., Chu, H., and Reichstein, M.: Inter-annual variability of net
and
gross ecosystem carbon fluxes: A review, Agr. Forest Meteorol., 249,
520–533,
<a href="https://doi.org/10.1016/j.agrformet.2017.05.015" target="_blank">https://doi.org/10.1016/j.agrformet.2017.05.015</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>Barr et al.(2013)Barr, Richardson, Hollinger, Papale, Arain, Black,
Bohrer, Dragoni, Fischer, Gu et al.</label><mixed-citation>
Barr, A., Richardson, A., Hollinger, D., Papale, D., Arain, M., Black, T.,
Bohrer, G., Dragoni, D., Fischer, M., Gu, L.,  Law, B. E.,  Margolis, H. A.,  McCaughey, J. H., Munger, J. W.,  Oechel,  W., and Schaeffer, K.: Use of change-point
detection for friction–velocity threshold evaluation in eddy-covariance
studies, Agr. Forest Meteorol., 171, 31–45,
<a href="https://doi.org/10.1016/j.agrformet.2012.11.023" target="_blank">https://doi.org/10.1016/j.agrformet.2012.11.023</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>Chapin et al.(2006)Chapin, Woodwell, Randerson, Rastetter, Lovett,
Baldocchi, Clark, Harmon, Schimel, Valentini, Wirth, Aber, Cole, Goulden,
Harden, Heimann, Howarth, Matson, McGuire, Melillo, Mooney, Neff, Houghton,
Pace, Ryan, Running, Sala, Schlesinger, and Schulze</label><mixed-citation>
Chapin, F. S., Woodwell, G. M., Randerson, J. T., Rastetter, E. B., Lovett,
G. M., Baldocchi, D. D., Clark, D. A., Harmon, M. E., Schimel, D. S.,
Valentini, R., Wirth, C., Aber, J. D., Cole, J. J., Goulden, M. L., Harden,
J. W., Heimann, M., Howarth, R. W., Matson, P. A., McGuire, A. D., Melillo,
J. M., Mooney, H. A., Neff, J. C., Houghton, R. A., Pace, M. L., Ryan, M. G.,
Running, S. W., Sala, O. E., Schlesinger, W. H., and Schulze, E. D.:
Reconciling carbon-cycle concepts, terminology, and methods, Ecosystems, 9,
1041–1050, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>Davison and Hinkley(1997)</label><mixed-citation>
Davison, A. and Hinkley, D.: Bootstrap methods and their application,
Cambridge
University Press, Cambridge, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>Desai et al.(2008)Desai, Richardson, Moffat, Kattge, Hollinger, Barr,
Falge, Noormets, Papale, Reichstein, and Stauch</label><mixed-citation>
Desai, A. R., Richardson, A. D., Moffat, A. M., Kattge, J., Hollinger, D. Y.,
Barr, A., Falge, E., Noormets, A., Papale, D., Reichstein, M., and Stauch,
V. J.: Cross-site evaluation of eddy covariance GPP and RE decomposition
techniques, Agr. Forest Meteorol., 148, 821–838,
<a href="https://doi.org/10.1016/j.agrformet.2007.11.012" target="_blank">https://doi.org/10.1016/j.agrformet.2007.11.012</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>Efron and Tibshirani(1986)</label><mixed-citation>
Efron, B. and Tibshirani, R.: Bootstrap methods for standard errors,
confidence intervals, and other measures of statistical accuracy,
Stat. Sci., 1, 54–75, 1986.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>Falge et al.(2001)Falge, Baldocchi, Olson, Anthoni, Aubinet,
Bernhofer, Burba, Ceulemans, Clement, Dolman, Granier, Gross, Grünwald,
Hollinger, Jensen, Katul, Keronen, Kowalski, Ta Lai, Law, Meyers, Moncrieff,
Moors, Munger, Pilegaard, Rannik, Rebmann, Suyker, Tenhunen, Tu, Verma,
Vesala, Wilson, and Wofsy</label><mixed-citation>
Falge, E., Baldocchi, D., Olson, R. J., Anthoni, P., Aubinet, M., Bernhofer,
C., Burba, G., Ceulemans, R., Clement, R., Dolman, H., Granier, A., Gross,
P., Grünwald, T., Hollinger, D., Jensen, N. O., Katul, G., Keronen, P.,
Kowalski, A., Ta Lai, C., Law, B. E., Meyers, T., Moncrieff, J., Moors, E.,
Munger, J. W., Pilegaard, K., Rannik, U., Rebmann, C., Suyker, A., Tenhunen,
J., Tu, K., Verma, S., Vesala, T., Wilson, K., and Wofsy, S.: Gap filling
strategies for defensible annual sums of net ecosystem exchange, Agr.
Forest
Meteorol., 107, 29–43, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>Foken and Wichura(1996)</label><mixed-citation>
Foken, T. and Wichura, B.: Tools for quality assessment of surface-based flux
measurements, Agr. Forest Meteorol., 78, 83–105,
<a href="https://doi.org/10.1016/0168-1923(95)02248-1" target="_blank">https://doi.org/10.1016/0168-1923(95)02248-1</a>, 1996.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>Foken et al.(2004)Foken, Göockede, Mauder, Mahrt, Amiro, and
Munger</label><mixed-citation>
Foken, T., Göockede, M., Mauder, M., Mahrt, L., Amiro, B., and Munger,
W.:
Post-field data quality control, in: Handbook of micrometeorology, University of
Bayreuth,
181–208, Springer, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>Foken et al.(2012)Foken, Leuning, Oncley, Mauder, and
Aubinet</label><mixed-citation>
Foken, T., Leuning, R., Oncley, S. R., Mauder, M., and Aubinet, M.:
Corrections
and Data Quality Control,   85–131, Springer, Dordrecht, the Netherlands,
<a href="https://doi.org/10.1007/978-94-007-2351-1_4" target="_blank">https://doi.org/10.1007/978-94-007-2351-1_4</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>Gilmanov et al.(2003)Gilmanov, Johnson, and Saliendra</label><mixed-citation>
Gilmanov, T. G., Johnson, D. A., and Saliendra, N. Z.: Growing season
CO<sub>2</sub>
fluxes in a sagebrush-steppe ecosystem in Idaho: bowen ratio/energy balance
measurements and modeling, Basic  Appl. Ecol., 4, 167–183,
<a href="https://doi.org/10.1078/1439-1791-00144" target="_blank">https://doi.org/10.1078/1439-1791-00144</a>, 2003.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>Göckede et al.(2004)</label><mixed-citation>
Göckede, M., Rebmann, C., and Foken, T.: A combination of quality
assessment
tools for eddy covariance measurements with footprint modelling for the
characterisation of complex sites, Agr. Forest Meteorol., 127,
175–188, <a href="https://doi.org/10.1016/j.agrformet.2004.07.012" target="_blank">https://doi.org/10.1016/j.agrformet.2004.07.012</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>Jung et al.(2011)Jung, Reichstein, Margolis, Cescatti, Richardson,
Arain, Arneth, Bernhofer, Bonal, Chen, Gianelle, Gobron, Kiely, Kutsch,
Lasslop, Law, Lindroth, Merbold, Montagnani, Moors, Papale, Sottocornola,
Vaccari, and Williams</label><mixed-citation>
Jung, M., Reichstein, M., Margolis, H. A., Cescatti, A., Richardson, A. D.,
Arain, M. A., Arneth, A., Bernhofer, C., Bonal, D., Chen, J., Gianelle, D.,
Gobron, N., Kiely, G., Kutsch, W., Lasslop, G., Law, B. E., Lindroth, A.,
Merbold, L., Montagnani, L., Moors, E. J., Papale, D., Sottocornola, M.,
Vaccari, F., and Williams, C.: Global patterns of land-atmosphere fluxes of
carbon dioxide, latent heat, and sensible heat derived from eddy covariance,
satellite, and meteorological observations, J. Geophys. Res.-Biogeo., 116,
G00J07,
<a href="https://doi.org/10.1029/2010JG001566" target="_blank">https://doi.org/10.1029/2010JG001566</a>,
2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>Körner(1995)</label><mixed-citation>
Körner, C.: Leaf Diffusive Conductances in the Major Vegetation Types of
the Globe,  463–490, Springer,  Berlin, Heidelberg,
<a href="https://doi.org/10.1007/978-3-642-79354-7_22" target="_blank">https://doi.org/10.1007/978-3-642-79354-7_22</a>, 1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>Lasslop et al.(2010)Lasslop, Reichstein, Papale, Richardson, Arneth,
Barr, Stoy, and Wohlfahrt</label><mixed-citation>
Lasslop, G., Reichstein, M., Papale, D., Richardson, A., Arneth, A., Barr,
A.,
Stoy, P., and Wohlfahrt, G.: Separation of net ecosystem exchange into
assimilation and respiration using a light response curve approach: critical
issues and global evaluation, Glob. Change Biol., 16, 187–208,
<a href="https://doi.org/10.1111/j.1365-2486.2009.02041.x" target="_blank">https://doi.org/10.1111/j.1365-2486.2009.02041.x</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>Lloyd and Taylor(1994)</label><mixed-citation>
Lloyd, J. and Taylor, J.: On the temperature dependence of soil
respiration,
Funct. Ecol., 8, 315–323, 1994.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>Massman and Lee(2002)</label><mixed-citation>
Massman, W. J. and Lee, X.: Eddy covariance flux corrections and
uncertainties
in long-term studies of carbon and energy exchanges, Agr. Forest
Meteorol., 113, 121–144, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>Menzer et al.(2013)Menzer, Moffat, Meiring, Lasslop,
Schukat-Talamazzini, and Reichstein</label><mixed-citation>
Menzer, O., Moffat, A. M., Meiring, W., Lasslop, G., Schukat-Talamazzini,
E. G., and Reichstein, M.: Random errors in carbon and water vapor fluxes
assessed with Gaussian Processes, Agr. Forest Meteorol.,
178–179, 161–172, <a href="https://doi.org/10.1016/j.agrformet.2013.04.024" target="_blank">https://doi.org/10.1016/j.agrformet.2013.04.024</a>, 2013.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>Metzger et al.(2017)Metzger, Durden, Sturtevant, Luo,
Pingintha-Durden, Sachs, Serafimovich, Hartmann, Li, Xu, and
Desai</label><mixed-citation>
Metzger, S., Durden, D., Sturtevant, C., Luo, H., Pingintha-Durden, N.,
Sachs, T., Serafimovich, A., Hartmann, J., Li, J., Xu, K., and Desai, A. R.:
eddy4R 0.2.0: a DevOps model for community-extensible processing and analysis
of eddy-covariance data based on R, Git, Docker, and HDF5, Geosci. Model
Dev., 10, 3189–3206, <a href="https://doi.org/10.5194/gmd-10-3189-2017" target="_blank">https://doi.org/10.5194/gmd-10-3189-2017</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>Moffat(2012)</label><mixed-citation>
Moffat, A. M.: A new methodology to interpret high resolution measurements of
net carbon fluxes between terrestrial ecosystems and the atmosphere, PhD
thesis, Friedrich-Schiller-Universität Jena, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>Moffat et al.(2007)Moffat, Papale, Reichstein, Hollinger, Richardson,
Barr, Beckstein, Braswell, Churkina, Desai et al.</label><mixed-citation>
Moffat, A. M., Papale, D., Reichstein, M., Hollinger, D. Y., Richardson,
A. D.,
Barr, A. G., Beckstein, C., Braswell, B. H., Churkina, G., Desai, A. R.,
Falge, E., Gove, J. H., Heimann, M., Hui, D., Jarvis, A. J., Kattge, J., Noormets, A., and Stauch, V. J.: Comprehensive comparison of gap-filling techniques for eddy
covariance net carbon fluxes, Agr. Forest Meteorol., 147,
209–232, <a href="https://doi.org/10.1016/j.agrformet.2007.08.011" target="_blank">https://doi.org/10.1016/j.agrformet.2007.08.011</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>Muggeo(2003)</label><mixed-citation>
Muggeo, V. M.: Estimating regression models with unknown break-points,
Stat. Med., 22, 3055–3071, 2003.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>Muggeo(2008)</label><mixed-citation>
Muggeo, V. M.: Segmented: An R package to fit regression models with
broken-line
relationships, R News, 8, 20–25, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>Papale et al.(2006)Papale, Reichstein, Aubinet, Canfora, Bernhofer,
Kutsch, Longdoz, Rambal, Valentini, Vesala, and et al.</label><mixed-citation>
Papale, D., Reichstein, M., Aubinet, M., Canfora, E., Bernhofer, C., Kutsch,
W., Longdoz, B., Rambal, S., Valentini, R., Vesala, T., and Yakir, D.:
Towards a standardized processing of Net Ecosystem Exchange measured with
eddy covariance technique: algorithms and uncertainty estimation,
Biogeosciences, 3, 571–583, <a href="https://doi.org/10.5194/bg-3-571-2006" target="_blank">https://doi.org/10.5194/bg-3-571-2006</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>Pastorello et al.(2017)Pastorello, Papale, Chu, Trotta, Agarwal,
Canfora, Baldocchi, and Torn</label><mixed-citation>
Pastorello, G., Papale, D., Chu, H., Trotta, C., Agarwal, D., Canfora, E.,
Baldocchi, D., and Torn, M.: The FLUXNET2015 dataset: The longest record of
global carbon, water, and energy fluxes is updated, EOS T. Am. Geophys.
Un., 98,
<a href="https://doi.org/10.1029/2017EO071597" target="_blank">https://doi.org/10.1029/2017EO071597</a>, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>Rasmussen and Williams(2006)</label><mixed-citation>
Rasmussen, C. E. and Williams, C. K. I.: Gaussian Processes for Machine
Learning, MIT Press, Cambridge, MA, USA, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>Rebmann et al.(2012)Rebmann, Kolle, Heinesch, Queck, Ibrom, and
Aubinet</label><mixed-citation>
Rebmann, C., Kolle, O., Heinesch, B., Queck, R., Ibrom, A., and Aubinet, M.:
Data Acquisition and Flux Calculations,  59–83, Springer,
Dordrecht, the Netherlands, <a href="https://doi.org/10.1007/978-94-007-2351-1_3" target="_blank">https://doi.org/10.1007/978-94-007-2351-1_3</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>Reichstein et al.(2005a)Reichstein, Falge, Baldocchi,
Papale, Aubinet, Berbigier, Bernhofer, Buchmann, Gilmanov, Granier
et al.</label><mixed-citation>
Reichstein, M., Falge, E., Baldocchi, D., Papale, D., Aubinet, M., Berbigier,
P., Bernhofer, C., Buchmann, N., Gilmanov, T., Granier, A.,  Grünwald, T.,
Havrankova, K., Ilvesniemi, H., Janous, D., Knohl, A., Laurila, T., Lohila,
A., Loustau, D., Matteucci, G., Meyers, T., Miglietta, F., Ourcival, J.-M.,
Pumpanen, J., Rambal, S., Rotenberg, E., Sanz, M., Tenhunen, J., Seufert, G.,
Vaccari, F., Vesala, T., Yakir, D., and Valentini, R.: On the
separation of net ecosystem exchange into assimilation and ecosystem
respiration: review and improved algorithm, Glob. Change Biol., 11,
1424–1439, <a href="https://doi.org/10.1111/j.1365-2486.2005.001002.x" target="_blank">https://doi.org/10.1111/j.1365-2486.2005.001002.x</a>, 2005a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>Reichstein et al.(2005b)Reichstein, Katterer, Andren,
Ciais, Schulze, Cramer, Papale, and Valentini</label><mixed-citation>
Reichstein, M., Kätterer, T., Andrén, O., Ciais, P., Schulze, E.-D.,
Cramer, W., Papale, D., and Valentini, R.: Temperature sensitivity of
decomposition in relation to soil organic matter pools: critique and outlook,
Biogeosciences, 2, 317–321, <a href="https://doi.org/10.5194/bg-2-317-2005" target="_blank">https://doi.org/10.5194/bg-2-317-2005</a>, 2005b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>Reichstein et al.(2005c)Reichstein, Subke, Angeli, and
Tenhunen</label><mixed-citation>
Reichstein, M., Subke, J. A., Angeli, A. C., and Tenhunen, J. D.: Does the
temperature sensitivity of decomposition of soil organic matter depend upon
water content, soil horizon, or incubation time?, Glob. Change Biol., 11,
1754–1767, 2005c.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>Reichstein et al.(2012)Reichstein, Stoy, Desai, Lasslop, and
Richardson</label><mixed-citation>
Reichstein, M., Stoy, P. C., Desai, A. R., Lasslop, G., and Richardson,
A. D.:
Partitioning of Net Fluxes,   263–289, Springer, Dordrecht, the Netherlands,
<a href="https://doi.org/10.1007/978-94-007-2351-1_9" target="_blank">https://doi.org/10.1007/978-94-007-2351-1_9</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>Stoy et al.(2006)Stoy, Katul, Siqueira, Juang, Novick, Uebelherr, and
Oren</label><mixed-citation>
Stoy, P. C., Katul, G. G., Siqueira, M. B., Juang, J.-Y., Novick, K. A.,
Uebelherr, J. M., and Oren, R.: An evaluation of models for partitioning eddy
covariance-measured net ecosystem exchange into photosynthesis and
respiration, Agr. Forest Meteorol., 141, 2–18,
<a href="https://doi.org/10.1016/j.agrformet.2006.09.001" target="_blank">https://doi.org/10.1016/j.agrformet.2006.09.001</a>, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>van Gorsel et al.(2007)van Gorsel, Leuning, Cleugh, Keith, and
Suni</label><mixed-citation>
van Gorsel, E., Leuning, R., Cleugh, H. A., Keith, H., and Suni, T.:
Nocturnal carbon efflux: reconciliation of eddy covariance and chamber
measurements using an alternative to the <i>u</i>. -threshold filtering technique,
Tellus B, 59, 397–403, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>Wehr and Saleska(2015)</label><mixed-citation>
Wehr, R. and Saleska, S.: An improved isotopic method for partitioning net
ecosystem–atmosphere CO<sub>2</sub> exchange, Agr. Forest Meteorol.,
214, 515–531, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>Wutzler et al.(2018)</label><mixed-citation>
Wutzler, T., Lucas-Moffat, A., Migliavacca, M., Knauer, J., Sickel, K.,
Menzer, O., and Reichstein, M.: Bgctw/Reddyproc: Cran Version And
Biogeosciences Paper, Zenodo, <a href="https://doi.org/10.5281/zenodo.1171248" target="_blank">https://doi.org/10.5281/zenodo.1171248</a>, 2018.
</mixed-citation></ref-html>--></article>
