<?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-5473-2018</article-id><title-group><article-title>Eddy covariance flux errors due to random and systematic timing errors
during data acquisition</article-title><alt-title>Eddy covariance timing errors</alt-title>
      </title-group><?xmltex \runningtitle{Eddy covariance timing errors}?><?xmltex \runningauthor{G. Fratini et al.}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes" rid="aff1">
          <name><surname>Fratini</surname><given-names>Gerardo</given-names></name>
          <email>gerardo.fratini@licor.com</email>
        <ext-link>https://orcid.org/0000-0002-2311-8971</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Sabbatini</surname><given-names>Simone</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Ediger</surname><given-names>Kevin</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1">
          <name><surname>Riensche</surname><given-names>Brad</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff1 aff3">
          <name><surname>Burba</surname><given-names>George</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Nicolini</surname><given-names>Giacomo</given-names></name>
          
        </contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2">
          <name><surname>Vitale</surname><given-names>Domenico</given-names></name>
          
        <ext-link>https://orcid.org/0000-0003-1672-0072</ext-link></contrib>
        <contrib contrib-type="author" corresp="no" rid="aff2 aff4">
          <name><surname>Papale</surname><given-names>Dario</given-names></name>
          
        <ext-link>https://orcid.org/0000-0001-5170-8648</ext-link></contrib>
        <aff id="aff1"><label>1</label><institution>LI-COR Biosciences Inc., Lincoln, Nebraska 68504, USA</institution>
        </aff>
        <aff id="aff2"><label>2</label><institution>Dipartimento per la Innovazione nei sistemi Biologici, Agroalimentari
e Forestali – DIBAF, Università degli<?xmltex \hack{\break}?> Studi della Tuscia, Viterbo, 01100, Italy</institution>
        </aff>
        <aff id="aff3"><label>3</label><institution>R. B. Daugherty Water for Food Institute, School of Natural Resources,
University of Nebraska,<?xmltex \hack{\break}?> Lincoln, Nebraska 68583, USA</institution>
        </aff>
        <aff id="aff4"><label>4</label><institution>Centro Euro-Mediterraneo sui Cambiamenti Climatici – CMCC, Lecce,
73100, Italy</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Gerardo Fratini (gerardo.fratini@licor.com)</corresp></author-notes><pub-date><day>14</day><month>September</month><year>2018</year></pub-date>
      
      <volume>15</volume>
      <issue>17</issue>
      <fpage>5473</fpage><lpage>5487</lpage>
      <history>
        <date date-type="received"><day>9</day><month>April</month><year>2018</year></date>
           <date date-type="rev-request"><day>23</day><month>April</month><year>2018</year></date>
           <date date-type="rev-recd"><day>26</day><month>July</month><year>2018</year></date>
           <date date-type="accepted"><day>18</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/5473/2018/bg-15-5473-2018.html">This article is available from https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018.html</self-uri><self-uri xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018.pdf">The full text article is available as a PDF file from https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018.pdf</self-uri>
      <abstract>
    <p id="d1e168">Modern eddy covariance (EC) systems collect high-frequency data (10–20 Hz)
via digital outputs of instruments.
This is an important evolution with respect to the traditional and widely
used mixed analog/digital systems, as fully digital systems help overcome
the traditional limitations of transmission reliability, data quality, and
completeness of the datasets.</p>
    <p id="d1e171">However, fully digital acquisition introduces a new problem for guaranteeing
data synchronicity when the clocks of the involved devices themselves cannot
be synchronized, which is often the case with instruments providing data via
serial or Ethernet connectivity in a streaming mode. In this paper, we
suggest that, when assembling EC systems “in-house”, aspects related to
timing issues need to be carefully considered to avoid significant flux
biases.</p>
    <p id="d1e174">By means of a simulation study, we found that, in most cases, random timing
errors can safely be neglected, as they do not impact fluxes significantly.
At the same time, systematic timing errors potentially arising in
asynchronous systems can effectively act as filters leading to significant
flux underestimations, as large as 10 %, by means of attenuation of
high-frequency flux contributions. We characterized the transfer function of
such “filters” as a function of the error magnitude and found cutoff
frequencies as low as 1 Hz, implying that synchronization errors can
dominate high-frequency attenuations in open- and enclosed-path EC systems.
In most cases, such timing errors neither be detected nor characterized
a posteriori. Therefore, it is important to test the ability of traditional
and prospective EC data logging systems to assure the required synchronicity
and propose a procedure to implement such a test relying on readily
available equipment.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p id="d1e184">Eddy covariance (EC) is the most direct and defensible technique to measure
atmosphere–biosphere exchange fluxes of energy and matter to date (e.g., see
Aubinet et al., 2000, 2012; Baldocchi et al., 2001).  The
method is based on the Navier–Stokes equations for mass and momentum
conservation and relies on simplifying assumptions to describe the vertical
turbulent flux in terms of the covariance of the vertical wind component
(<inline-formula><mml:math id="M1" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>) and of the scalar of interest.</p>
      <p id="d1e194">Calculating EC fluxes of a gaseous species requires collecting synchronous
data of <inline-formula><mml:math id="M2" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> and of the concentration <inline-formula><mml:math id="M3" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula> of the gas, which is typically performed
using a 3-D ultrasonic anemometer and a gas analyzer operating at suitable
frequencies of 10 to 20 Hz. After proper data treatment and time alignment,
the covariance of the two time series is calculated, from which the flux is
derived (e.g., Foken et al., 2012). In this context, <italic>synchronicity</italic> means that <inline-formula><mml:math id="M4" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M5" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula> values
for any given timestamp (i.e., the data that are multiplied together in the
covariance) describe the properties of the same air parcel.</p>
      <p id="d1e228">Regardless of the level of integration and physical<?pagebreak page5474?> configuration of the
instruments within an EC system, wind and concentration data are measured by
two different instruments, an anemometer relying on the speed of sound
measurements between transducer pairs, and a gas analyzer relying on the
light transformation measurements in the sampling path. In addition, data
collection is performed by means of a variety of more or less engineered
data acquisition systems. Delays in the data flows, digital clock drifts,
required separation of the measuring devices, and artifacts in the data
acquisition strategy can lead to poor synchronicity, i.e., to <italic>misalignments</italic> of the time
series, such that <inline-formula><mml:math id="M6" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M7" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula> values assigned to a given timestamp refer to
properties of fully or partially different air parcels. If not addressed,
such misalignments can lead to significant flux errors of both a random and
systematic nature.</p>
      <p id="d1e248">Commercial solutions implementing sound engineering practices do exist for
well-established EC measurements of <inline-formula><mml:math id="M8" 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 <inline-formula><mml:math id="M9" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:math></inline-formula> fluxes to assure a
sufficient level of data synchronicity as per the requirements of the EC method,
for a select few anemometer–analyzer pairs. However, most of such solutions
are not scalable to other hardware models or gas species because the
required instrumentation does not necessarily support the same connectivity
technology and specifications. Therefore, it is generally very challenging,
for example, to simply replace a gas analyzer with another one from another
manufacturer and keep the same synchronization performance. Furthermore, it
is customary for many research groups to assemble EC systems “in-house”,
especially when addressing gas species that have not been popular enough to
grow strong commercial interest. Typically, in these systems, data
collection is performed with industrial data loggers or computers via serial
or Ethernet connectivity, using custom-built logging software. In such
cases, it is particularly important to verify that various types of data
misalignment are not being introduced by the data logging system and data
collection strategy to assure minimal or no bias in resulting fluxes.</p>
      <p id="d1e276">In this paper, we discuss the types and sources of misalignment that can
arise in poorly designed fully digital EC systems and quantify their effects
on resulting fluxes. In conjunction with site-specific characteristics, such
as the typical co-spectral shapes, this information can help design
appropriate data collection scheme for EC systems assembled “in-house”.
Users of most commercially available industrial-grade EC systems can
generally assume their systems to not be affected by significant timing
errors, although this can and should be verified case by case. We also
propose a strategy for evaluating prospective EC data collection systems
from the point of view of data synchronicity before they are used in routine
field activities.</p>
<sec id="Ch1.S1.SS1">
  <title>Analog vs. digital EC systems</title>
      <p id="d1e284">Traditionally, a combination of analog and digital transmission systems has
been used to collect EC data (Eugster and Plüss, 2010). For example,
analog signals from the gas analyzer were sent to an interface unit
responsible for digitizing the data before merging it with anemometric data,
itself coming from an A/D (analog/digital) converter into the interface unit, typically from
a sonic anemometer-thermometer (SAT). More recently, specular solutions,
with the analog data from the SAT sent to an interface unit residing in the
gas analyzer system, became available and were widely adopted. With both of
these approaches, the data were presented to the user for the flux
calculation as single files with wind and gas time series merged and
synchronized by the interface unit.</p>
      <p id="d1e287">Analog data output allows the data to easily cross clock domains. The clock
that is used to sample the original signal does not need to be synchronized
to the clock that samples the analog output. This makes it very convenient
to merge data from systems with unsynchronized clocks and risks of
misalignments are limited to small random errors that, as we will see later,
have no significant effects on fluxes.</p>
      <p id="d1e290">However, collecting data in analog form has several limitations and risks.
First, the number of analog channels available either as outputs from the
instruments or as inputs to the interface unit is typically limited to four or
six, which dramatically reduces the number of variables that can be collected.
In fact, historic EC raw datasets are comprised of six or maximum seven variables:
the three wind components (<inline-formula><mml:math id="M10" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M11" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:mi>w</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, the sonic temperature (<inline-formula><mml:math id="M13" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, and the
concentration of the gases of interest (<inline-formula><mml:math id="M14" display="inline"><mml:mi>c</mml:mi></mml:math></inline-formula>, traditionally <inline-formula><mml:math id="M15" 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
<inline-formula><mml:math id="M16" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:math></inline-formula>); more rarely, a diagnostic variable for the anemometric data was
also collected. Critical information such as the full diagnostics of both
instruments and their status (e.g., the temperature and pressure in the gas
analyzer cell or the signal strength) or the original raw measurement (speed
of sound, raw data counts etc.) are not collected in most analog systems,
limiting the means for quality screening and limiting the possibility of
future recomputation of the most fundamental raw measurements. Another
problem with analog data collection is that signals are subject to
degradation due to dissipation, electromagnetic noise, and ageing of cables
and connectors, which reduces the quality of collected data (Barnes, 1987).
In addition, although all raw measurements are analog in nature, they are
typically immediately digitized (<italic>native</italic> digital format provided by the
manufacturer) and then – in the case of analog data collection – they are
re-converted to analog, sent to the interface unit and there converted back
to digital; these A/D–D/A conversions potentially degrade the signal adding
noise and dampening high-frequency signal components (Eugster and Plüss,
2010). For these reasons, analog connectivity should nowadays be avoided
whenever possible in favor of fully digital solutions.</p>
      <p id="d1e365">In fully digital EC acquisition systems, both data streams are collected in
their respective <italic>native</italic> digital format, i.e., without additional A/D conversions
other than those implemented by the manufacturer to provide digital outputs.
Fully digital systems largely or completely overcome both problems with
mixed analog/digital systems, using more robust<?pagebreak page5475?> and less corruptible data
transmission protocols, and providing the possibility of collecting all
variables available from the individual instrument. However, combining
digital data streams from different instruments brings new challenges, most
notably with respect to data synchronization. While moving between clock
domains is trivial in an analog system, it can be much more challenging with
digital data when the involved clocks can be completely asynchronous to each
other.</p>
</sec>
<sec id="Ch1.S1.SS2">
  <title>The problem of clock synchronization in digital systems</title>
      <p id="d1e377">Different strategies exist for collecting data digitally. First, instruments
can perform the measurements according to their own scheduler or a trigger.
In the scheduler case, data can then be collected by polling the instrument
for the latest available data (polling mode) or by keeping an open channel
where data are streamed (streaming mode). In the trigger case, data are
usually made available after a fixed or somewhat variable delay to the
logging device. This delay is due to the acquisition time and could also
include a delay due to filtering. However, the timestamp for the acquired
data is assigned based on the occurrence of the trigger, therefore removing
any timing error due to that delay. All modes have advantages and
disadvantages. As described later, triggering and polling modes are less
susceptible to timing errors, but they require the instrumentation to be
designed for the particular triggering or polling system adopted. They are
therefore best suited for EC systems built with all components from the same
manufacturer. For the same reason, such systems are commonly not flexible
enough to accommodate third-party instrumentation. EC systems commercialized
by Campbell Scientific Inc. (Logan, UT, USA; “CSI” hereafter) are examples
of integrated systems using a data triggering strategy to collect data from
instruments designed ad hoc. Data communication in these systems is realized
via the synchronous devices for measurement (SDM) protocol (or its evolutions), which is a CSI proprietary
protocol, implemented only in CSI instruments and some <inline-formula><mml:math id="M17" 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:mo>/</mml:mo><mml:msub><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:math></inline-formula> gas analyzers
by LI-COR Biosciences Inc. (Lincoln, NE, USA; “LI-COR” hereafter). By
contrast, most instrumentation available for fast wind and gas measurements
only provide data transmission options in streaming mode. As a consequence,
most data logging solutions developed by the scientific community or by
commercial entities are designed to handle data provided in streaming mode
and are therefore flexible to accommodate a wide variety of instrumentation.
Examples of such logging systems developed by the community are PC-based
software such as Huskerflux (<uri>https://github.com/Flux-Dave/HuskerFlux</uri>, last access: 26 June 2018),
EddyMeas (Kolle and Rebmann, 2007), EdiSol (EdiSol User Guide V0.39b
<uri>https://epic.awi.de/29686/1/Mon2005d.pdf</uri>, last access: 26 June 2018), or the already
referenced system proposed by Eugster and Plüss (2010) for EC measurement
of methane. As for commercial solutions, LI-COR provides industrial-grade EC
systems based on the SmartFlux<sup>®</sup>  system, that can accommodate a
wide variety of instrumentation using the data-streaming approach.</p>
      <p id="d1e409">However, collecting data in streaming mode exposes the risk of introducing
significant timing errors, because of the number of asynchronous <italic>digital</italic> <italic>clocks</italic> involved.</p>
      <p id="d1e418">Digital clocks are electronic oscillator circuits that use the mechanical
resonance of a vibrating crystal of piezoelectric material to create an
electrical signal with a precise frequency, which is then used to keep track
of time. The number and quality of clocks involved in an EC system vary with
the data collection strategy and technology. In systems based on data
triggering or polling, there is only one critical clock (the one responsible
for the timing of the triggering or polling signal); therefore,
there is no significant risk of introducing systematic timing misalignments
between data from different instruments (see later). With these systems, the
risk is limited to random and/or constant misalignments. As we will see
later, random or constant misalignments do not entail large errors. For this
reason, in the remainder of this section we consider in more detail the
situation with systems based on data streaming.</p>
      <p id="d1e421">In such systems the potentially relevant clocks are, in general, the following.
<list list-type="bullet"><list-item>
      <p id="d1e426">The sampling clocks of the sensing instruments (the SAT and the gas analyzer in a typical EC system),
responsible for sampling data at the
prescribed rate with sufficient precision and accuracy;</p></list-item><list-item>
      <p id="d1e430">For systems that transmit data serially (RS-232 or RS-485), the serial clock
of the same sensing instrument, which may or may not be <italic>correlated</italic> to its sampling
clock;</p></list-item><list-item>
      <p id="d1e437">The clocks of the logging device(s) (data logger, PC, etc.), responsible for
attaching a timestamp to the data. If a single logging device is used, this
is usually also responsible for merging data streams from the different
instruments; in case dedicated logging systems are used for different
instruments, merging is performed in post-processing and the clocks of the
different loggers must, therefore, be aligned sufficiently frequently (e.g.,
every second, using a GPS signal).</p></list-item></list>
Typical open digital communication protocols used for EC instruments with
data-streaming instrumentation are serial (RS-232, RS-485) and packet-based
data protocols (Ethernet). In devices that transmit data via serial
communication, such as SATs, there are no means to synchronize the sampling
clock of the device to that of the data logger. With such devices, the best
that can be done is to assign a timestamp <italic>after</italic> transmission, based on the clock
of the data logger (this last step should be performed carefully to avoid
large inaccuracies due to serial port latencies, especially in PC-based
systems). In addition, devices implementing serial communication have an
asynchronous clock that drives those protocols (e.g., Dobkin et al., 2010).
If this clock is <italic>correlated</italic> with the device's sampling clock, the receiving data
logger can – at least in principle – reconstruct the sampling clock.
However, in devices that do not correlate sampling and serial clocks (such
as those that output data in a software thread that is independent of an
acquisition thread), the system scheduler then determines when data are
transmitted, thereby completely isolating the serial clock from the sampling
clock and making it impossible for the data logger to reconstruct the
sampling clock.</p>
      <p id="d1e448">Packet-based data communications such as Ethernet even further isolate the
sampling clock from the transmission clock. In devices using this protocol,
it is therefore impossible to reconstruct a sampling clock. However, for
Ethernet-based systems additional protocols are available, such as Network Time Protocol (NTP) or
Precision Time Protocol (PTP), to actually synchronize all system clocks. The synchronized system
clocks then allow the data to be correctly timestamped <italic>before</italic> transmission,
eliminating any synchronization issue, provided that downstream software can
align the various data streams based on their timestamps (e.g., Mahmood et
al., 2014).</p>
</sec>
<?pagebreak page5476?><sec id="Ch1.S1.SS3">
  <title>Types of timing errors</title>
      <p id="d1e460">In typical EC data acquisition setups, time series collected by different
instruments can show three distinct types of misalignments (Fig. 1).
<list list-type="bullet"><list-item>
      <p id="d1e465"><italic>Time lags</italic>: these are <italic>constant</italic> offsets in otherwise perfectly aligned time series. They can be
the result of constant electronic delays or of fixed delays due to digital
signal processing. More frequently, they result from a physical
separation of the sampling volumes or from the delay due to the time needed
for the passage of air in a sampling line.</p></list-item><list-item>
      <p id="d1e474"><italic>Random timing errors</italic> (RTEs in the following): occur when the timestamps assigned to the data
differ from the exact time dictated by the nominal sampling frequency, and
such differences are <italic>randomly</italic> <italic>distributed</italic> so that, on average, the actual frequency is equal to
the nominal one. In practice, in the EC context, it is more useful to
consider the random differences in the timestamps assigned to data from one
instrument with respect to that of the paired instrument. In fact, in the
hypothetical case in which the two instruments would have the exact same
sequence of random errors, that would not introduce any misalignment and
hence no flux bias.</p></list-item><list-item>
      <p id="d1e486"><italic>Systematic timing errors</italic> (STEs): occur when the timestamps assigned to the data differ from the exact
time dictated by the nominal sampling frequency, and such differences are
<italic>systematic</italic>, e.g., the actual time step is slightly longer or shorter than the nominal
one for time spans on the order of the flux averaging interval. Again, in EC
we are only concerned with systematic <italic>relative</italic> errors, for identical errors in the
two concerned instruments would entail no misalignment and hence no flux
bias.</p></list-item></list>
Instances of each type of misalignment can, and typically will, be present
at the same time to various degrees.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><caption><p id="d1e500">Schematic of the three types of misalignments common in EC data.
Given a reference time series (e.g., <inline-formula><mml:math id="M18" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>, blue), the ideal paired gas
concentration time series is perfectly aligned (green). The three red time
series exemplify (from left to right): a constant offset (time lag),
random variations around the perfect alignment (random error), and a
systematically larger time step (systematic error). Real data are typically
affected by a mix of all error types in varying amounts.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f01.png"/>

        </fig>

</sec>
<sec id="Ch1.S1.SS4">
  <title>Sources of misalignment and their effects on time series</title>
<sec id="Ch1.S1.SS4.SSS1">
  <title>Spatial separation between sampling volumes</title>
      <p id="d1e527">In a SAT, the <italic>sampling volume</italic> is the volume of air between the upper and lower sets of
transducers. Similarly, in an open-path gas analyzer such as the LI-7500
CO2/H2O analyzer and the LI-7700 CH4 analyzer (LI-COR Biosciences Inc.,
Lincoln, NE, USA), the sampling volume is the volume of air between the
upper and lower mirrors. In a closed- or enclosed-path gas analyzer such as
the LI-7000, the LI-7200 (LI-COR Biosciences Inc.), and the EC155 (Campbell
Scientific Inc., Logan, UT, USA), instead, the sampling volume<?pagebreak page5477?> can be
identified with the volume of the intake device, e.g., a rain cup.</p>
      <p id="d1e533">Even in the hypothetical situation of perfectly synchronized timestamps for
wind and gas data, if the respective instruments' sampling volumes have to
be spatially separated to avoid presently intractable flow distortion issues
in the anemometer, as is notably the case with open-path setups (see, for
example, Wyngaard, 1988; Frank et al., 2016; Grare et
al., 2016; Horst et al., 2016; and Huq et al., 2017), the corresponding time series will be
affected by misalignment, possibly to varying degrees. Indeed, assuming the
validity of Taylor's hypothesis of frozen turbulence, wind and concentration
data will be affected by a time lag (the time air takes to travel between
the two sampling volumes), which will be further modulated by wind intensity
and direction. Additionally, modification of turbulence structure
intervening while air parcels transit through the dislocated instrument
volumes may introduce further uncertainty in flux estimates (Cheng et al.,
2017). In the case of co-located sensors (e.g., Hydra-IV, CEH; IRGASON, Campbell
Scientific Inc.) this problem is not present but is replaced by the flow
distortion issues mentioned above and not addressed in the present study.</p>
</sec>
<sec id="Ch1.S1.SS4.SSS2">
  <title>Spatial separation between measuring volumes</title>
      <p id="d1e542">In a SAT, the sampling volume coincides with the measuring volume, i.e., wind
velocity is measured exactly where it is sampled. The same is true for
open-path gas analyzers. However, closed- and enclosed-path analyzers
take the sampled air into a measuring cell via a sampling line that can be
anywhere between 0.5 and 50 m long, with its inlet usually placed very
close to the SAT sampling volume. This implies a delay of the time series of
gas concentrations with respect to the wind time series. Such a delay can be
more or less constant in time depending on the possibility of actively
controlling the sampling line flow rate. In systems without flow
controllers, the flow rate may vary significantly in response to power
fluctuations or tube clogging and so would the corresponding time lags.</p>
</sec>
<sec id="Ch1.S1.SS4.SSS3">
  <title>Clock errors</title>
      <p id="d1e551">Quartz crystal clocks universally used in electronic devices are subject to
two main types of error: periodic jitter and frequency drift.</p>
</sec>
<sec id="Ch1.S1.SS4.SSSx1" specific-use="unnumbered">
  <title>Period jitter</title>
      <p id="d1e560">Period jitter in clock signals is the random error of the clock with respect
to its nominal frequency. It is typically caused by thermal noise, power
supply variations, loading conditions, device noise, and interference
coupled from nearby circuits. Jitter is a source of RTE in time series.
<?xmltex \hack{\newpage}?></p>
</sec>
<sec id="Ch1.S1.SS4.SSSx2" specific-use="unnumbered">
  <title>Frequency drift</title>
      <p id="d1e571">The oscillation frequency of a clock varies with temperature, leading to
<italic>drifts</italic> of the measured time and hence to STEs. The drift of a clock can be
expressed as the amount of time gained (or lost) as a result of the drift
per unit of time, with suitable units being <inline-formula><mml:math id="M19" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M20" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>. For example, a drift
of <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">30</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M22" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M23" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> means that a clock accumulates 30 <inline-formula><mml:math id="M24" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s of delay per
second, or about 2.6 s over the course of 1 day (<inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:mn mathvariant="normal">2.6</mml:mn><mml:mo>=</mml:mo><mml:mn mathvariant="normal">30</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:msup><mml:mo>×</mml:mo><mml:mfenced close=")" open="("><mml:mrow><mml:mn mathvariant="normal">24</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">60</mml:mn><mml:mo>×</mml:mo><mml:mn mathvariant="normal">60</mml:mn></mml:mrow></mml:mfenced><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>. The dependence of
a crystal oscillation frequency on temperature varies, even dramatically, with
the type and angle of crystal cut and can be modeled as quadratic (BT, CT,
DT cuts) or cubic (AT cuts) (Hewlett Packard, 1997). Figure 2 shows exemplary
drift curves for different crystal cuts. Typically, the nominal frequency
(e.g., 32 kHz) is specified at 20 or 25 <inline-formula><mml:math id="M26" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C. Apart from that
temperature, the frequency can vary, for example, according to (for a BT cut):
              <disp-formula id="Ch1.E1" content-type="numbered"><mml:math id="M27" display="block"><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mi>f</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi mathvariant="italic">α</mml:mi><mml:msup><mml:mfenced close=")" open="("><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:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>×</mml:mo><mml:msup><mml:mn mathvariant="normal">10</mml:mn><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">6</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
            where <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mfenced close=")" open="("><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mn mathvariant="normal">0</mml:mn></mml:msub><mml:mo>=</mml:mo><mml:mn mathvariant="normal">25</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup><mml:mi mathvariant="normal">C</mml:mi></mml:mrow></mml:mfenced></mml:mrow></mml:math></inline-formula> and typical values of
<inline-formula><mml:math id="M29" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> range between 0.035 and 0.040.</p>
      <p id="d1e778">Clocks in EC systems can be exposed to large variations in temperature
(day–night, seasonal cycles). Because we are concerned with <italic>relative</italic> drifts, we are
interested in <italic>differences</italic> in the temperatures experienced by the instruments'
sampling/logging clock as well as with differences in their temperature
responses. Clocks experiencing similar temperatures and with similar
temperature responses, would minimize relative drift. On the contrary,
clocks with opposite responses to temperature will result in relative drifts
that are close to the sum of the individual drifts, e.g., in the case of
AT-cut crystals with different angles of rotation at relatively high
temperatures (i.e., above 30 <inline-formula><mml:math id="M30" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C, see Fig. 2)</p>
      <p id="d1e796">It is also to be noted that temperature-compensated clocks do exist, which
have accuracies of around <inline-formula><mml:math id="M31" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">2</mml:mn></mml:mrow></mml:math></inline-formula> <inline-formula><mml:math id="M32" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M33" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>. As we will show later, such
drifts can be safely neglected, as long as clocks are synced sufficiently
often (e.g., once a day). For completeness, we note that clock drifts also
occur due to the ageing of components. However, the absolute values of
typical ageing rates (&lt; 1 <inline-formula><mml:math id="M34" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s year<inline-formula><mml:math id="M35" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>) are of no concern in EC
applications. Because STEs in EC systems are caused primarily or exclusively
by clock drifts, in the rest of the paper we will use the terms STE and
<italic>drift</italic> interchangeably.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2" specific-use="star"><caption><p id="d1e853">Exemplary temperature dependence curves for clocks with AT <bold>(a)</bold>, BT <bold>(b)</bold>,
CT <bold>(c)</bold>, and DT <bold>(d)</bold> cuts. In <bold>(a)</bold> the three curves refer to different angles
of rotations of the crystal. Reproduced and adjusted from Hewlett Packard (1997).</p></caption>
            <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f02.png"/>

          </fig>

</sec>
<sec id="Ch1.S1.SS4.SSS4">
  <title>Further sources of timing errors in digital asynchronous
systems</title>
</sec>
<sec id="Ch1.S1.SS4.SSSx3" specific-use="unnumbered">
  <title>Connectivity</title>
      <p id="d1e889">Ethernet connectivity available in commercial loggers and industrial PCs
(e.g., SmartFlux 2 and 3 by LI-COR Biosciences Inc., CR3000 and CR6 by
Campbell Scientific Inc.) can be used for data acquisition in EC systems.
The<?pagebreak page5478?> acquisition is usually done using the Transmission Control Protocol (TCP), a packet-based protocol specifically designed to preserve the
accuracy of the data during transmission. TCP, however, is not designed to
preserve the temporal aspect of the packets. The TCP receiving system must
buffer up packets and signal the sender if an error occurs in any packet.
This can cause packets to even arrive out of order, even though they are
always delivered to the application in order. Therefore, TCP-based systems
are subject to significant RTEs and, potentially, to STEs.</p>
      <p id="d1e892">Serial communication devices typically use a first-in-first-out (FIFO)
policy to buffer data, on both the sending and the receiving sides. The FIFO
increases the efficiency and throughput by reducing the number of interrupts
the CPU has to handle (e.g., Park et al., 2003). Without a FIFO buffer, the
CPU has to interrupt for every data unit. With a FIFO, the CPU is
interrupted only when a FIFO is full, or a programmed amount of data is
ready. However, the FIFO can become a problem on a system where it's desired
to correlate the serial clock to the sampling clock. If not properly
handled, the FIFO introduces timing jitter on both the transmitter and the
receiver, hence inducing RTEs in the system.</p>
</sec>
<sec id="Ch1.S1.SS4.SSSx4" specific-use="unnumbered">
  <title>Time response</title>
      <p id="d1e901">In a streaming-based system, an instrument with a time response
(irrespective of the supported output rate) slower than the sampling rate
will lead to RTEs even in the absence of any clock errors, because the
measurement cannot in general be performed at the required moment in time.
In the general case, such an instrument will be oversampled (i.e., the same
measured value will appear multiple times in the final time series). Eugster
and Plüss (2010) discuss in detail the consequences of such an occurrence
with a <inline-formula><mml:math id="M36" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CH</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> gas analyzer with a time response of 5.7 Hz in a system
sampling data at 20 Hz, concluding that the flux errors are negligible in
most applications.</p>
      <p id="d1e915">For completeness, we note that in virtually all EC instruments the native
measurement is time-discrete. For example, in a nondispersive infrared (NDIR)
gas analyzer, the presence of a rotating filter used to multiplex the
desired infrared bands makes the gas concentration measurement frequency
dependent on the wheel rotational frequency, which leads to RTEs.
Nonetheless, if the rotational speed is high enough (e.g., &gt; 100 Hz), the resulting errors are minimal.</p>
</sec>
</sec>
<sec id="Ch1.S1.SS5">
  <title>Dealing with timing errors in EC practice</title>
      <p id="d1e925">The fundamental difference between time lags on one side and RTE/STE on the
other side is that constant time lags can, at least in principle, be
addressed a posteriori during data processing. The topic of correctly estimating and
compensating time lags has long been discussed in the EC literature (Vickers
and Mahrt, 1997; Ibrom et al., 2007; Massman and Ibrom, 2008; Langford et
al., 2015), and corresponding algorithms are available in EC processing
software. We will therefore not further discuss time lags in this paper.</p>
      <p id="d1e928">Random and systematic timing errors, instead, are not identifiable and
therefore it is not possible to correct them. However, their effect on flux
estimates, as we will see, can become significant. For this reason, the only
viable strategy to reduce flux biases is to design the data acquisition
system in a way that prevents or minimizes the possibility of their
occurrence.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3" specific-use="star"><caption><p id="d1e933">Sketch of the timing error simulation via linear interpolation.
Green dots represent original <inline-formula><mml:math id="M37" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> data points, equally spaced at the
prescribed (nominal) time steps. In <bold>(b)</bold>, RTEs are simulated as
time steps randomly varying around the nominal value. In <bold>(a)</bold>,
STEs are simulated as a time step larger than the nominal one, whereby the
difference between the assigned and correct timestamps always increase in
time.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f03.png"/>

        </fig>

      <?pagebreak page5479?><p id="d1e959">The focus of this paper is, therefore, the quantification of flux
underestimations as a function of RTE and STE, so as to derive quantitative
specifications for a data acquisition system that minimizes EC flux losses.
We further propose a simple scheme for evaluating existing data acquisition
systems with respect to data synchronization.
<?xmltex \hack{\newpage}?></p>
</sec>
</sec>
<sec id="Ch1.S2">
  <title>Materials and methods</title>
<sec id="Ch1.S2.SS1">
  <title>Simulation design</title>
      <p id="d1e975">In order to accurately quantify how time-alignment errors affect flux
estimates, we performed a simulation study. As a reference, we used the
covariance estimated from high-frequency data of vertical wind speed (<inline-formula><mml:math id="M38" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>) and
sonic temperature (<inline-formula><mml:math id="M39" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> which are by definition perfectly synchronized
since they are computed starting from the same raw data (the trave
ling time
of sound signals between pairs of transducers in a SAT). We also assumed
that high-frequency time series are provided at perfectly constant time
steps of 0.1 (10 Hz) or 0.05 (20 Hz) seconds. Subsequently, we manipulated
the array of timestamps at which the sonic temperature data were sampled in
order to simulate realistic ranges of RTEs and STEs. Values of sonic
temperature in correspondence to the new simulated timestamps were
estimated by linearly interpolating the closest data points in the original
series (Fig. 3).</p>
      <p id="d1e998">Before calculating covariances, standard EC processing steps were applied
such as spike removal (Vickers and Mahrt, 1997), tilt correction by the double
rotation method (Wilczak et al., 2001), and fluctuation estimation via
block-averaging. Covariance estimates obtained with the new versions of
<inline-formula><mml:math id="M40" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> were then compared with the reference to quantify the effect of
simulated timing errors. Flux biases would be almost identical to biases in
covariances, weakly modulated by corrections intervening between covariance
and flux computation, such as spectral corrections and consideration of air
density fluctuation
effects (e.g., Fratini et al., 2012). The simulation study was implemented in
the source code of EddyPro v6.2.1 (LI-COR Biosciences Inc, Lincoln, NE;
Fratini and Mauder, 2014).</p>
      <p id="d1e1012">For the present analysis, we simulated RTEs ranging <inline-formula><mml:math id="M41" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> to <inline-formula><mml:math id="M42" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">100</mml:mn></mml:mrow></mml:math></inline-formula> ms; that is, up to the same order of the sampling interval. As an example,
with a simulated <inline-formula><mml:math id="M43" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">10</mml:mn></mml:mrow></mml:math></inline-formula> ms RTE using 10 Hz data (nominal time step <inline-formula><mml:math id="M44" display="inline"><mml:mo>=</mml:mo></mml:math></inline-formula> 100 ms), simulated time steps for <inline-formula><mml:math id="M45" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> varied randomly between 90 and 110 ms,
with an average of 100 ms. We note that RTEs of 10–100 ms will not usually be
caused by clock jitter, which is typically several orders of magnitude
smaller but can easily be caused by acquisition systems based on serial or
Ethernet communication not specifically designed to collect synchronous time
series, as described above.</p>
      <?pagebreak page5480?><p id="d1e1063">For STEs, we simulated relative drifts ranging from 10 to 180 <inline-formula><mml:math id="M46" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M47" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>
(specifically 10, 30, 60, 90, 120, 150, and 180 <inline-formula><mml:math id="M48" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M49" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>). For example, to
simulate a STE of 60 <inline-formula><mml:math id="M50" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M51" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> we kept the original <inline-formula><mml:math id="M52" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> time series (time step
equal to 100 ms) and modified the time step of <inline-formula><mml:math id="M53" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> to be 100.006 ms. This
may seem a negligible difference, which accumulates a difference of
108 ms between <inline-formula><mml:math id="M54" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M55" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> within 30 minutes and manifests itself as a
difference of one row in the length of the time series (i.e., 18 000 value for
<inline-formula><mml:math id="M56" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> and 17 999 for <inline-formula><mml:math id="M57" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> at 10 Hz). Similarly, systematic errors of
120 and 180 <inline-formula><mml:math id="M58" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M59" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> would lead to two and three row differences, respectively.</p>
      <p id="d1e1199">Systematic timing errors such as frequency drifts effectively act as
low-pass filters, which can be described by characterizing their transfer
function, provided that the drift is known, as in our simulation. Here, for
each 30 min period and for each STE amount, we calculated an in situ transfer
function as the frequency-wise ratio of drifted and original <inline-formula><mml:math id="M60" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M61" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
co-spectra:

                <disp-formula specific-use="align" content-type="numbered"><mml:math id="M62" display="block"><mml:mtable displaystyle="true"><mml:mtr><mml:mtd><mml:mrow><mml:mstyle displaystyle="true" class="stylechange"/><mml:msub><mml:mtext mathvariant="italic">TF</mml:mtext><mml:mi mathvariant="normal">EXP</mml:mi></mml:msub><mml:mfenced open="(" close=")"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo></mml:mrow></mml:mtd><mml:mtd><mml:mrow><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mtext>CO</mml:mtext><mml:mfenced close=")" open="("><mml:mrow><mml:mi>w</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msubsup><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mi mathvariant="normal">STE</mml:mi></mml:msubsup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="normal">|</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mtext>CO</mml:mtext><mml:mfenced close=")" open="("><mml:mrow><mml:mi>w</mml:mi><mml:mo>,</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi>T</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">|</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mlabeledtr id="Ch1.E2"><mml:mtd/><mml:mtd><mml:mstyle displaystyle="true" class="stylechange"/></mml:mtd><mml:mtd><mml:mrow><mml:mstyle class="stylechange" displaystyle="true"/><mml:mtext>for</mml:mtext><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mtext>STE</mml:mtext><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>=</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>[</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">…</mml:mi><mml:mo>,</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">180</mml:mn><mml:mo>]</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mi mathvariant="normal">µ</mml:mi><mml:mtext>s</mml:mtext><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mtext>s</mml:mtext><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:mtd></mml:mlabeledtr></mml:mtable></mml:math></disp-formula>

            where <inline-formula><mml:math id="M63" display="inline"><mml:mrow><mml:msubsup><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi><mml:mi mathvariant="normal">STE</mml:mi></mml:msubsup></mml:mrow></mml:math></inline-formula> (<inline-formula><mml:math id="M64" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula>) is the simulated sonic temperature for each STE
value, <inline-formula><mml:math id="M65" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Hz) is the natural frequency, and <italic>TF</italic><inline-formula><mml:math id="M66" display="inline"><mml:mrow><mml:msub><mml:mi/><mml:mi mathvariant="normal">EXP</mml:mi></mml:msub><mml:mo>(</mml:mo><mml:mi mathvariant="normal">STE</mml:mi><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> is the in situ transfer function for STE. We repeated this calculation for
a number of co-spectra ranging from 1000 to 2000 (depending on data availability).
The ensemble of all transfer functions so obtained and for each STE amount
was then fitted with the following function, which was found to reasonably
approximate the data obtained for all drifts at all sites in the most
relevant frequency range (0.01–5 Hz):
            <disp-formula id="Ch1.E3" content-type="numbered"><mml:math id="M67" display="block"><mml:mrow><mml:mtext mathvariant="italic">TF</mml:mtext><mml:mo>(</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">co</mml:mi></mml:msub><mml:mi mathvariant="normal">|</mml:mi><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mo>(</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>+</mml:mo><mml:mi mathvariant="italic">β</mml:mi><mml:mo>)</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>+</mml:mo><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="false"><mml:mfrac style="text"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">n</mml:mi></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">co</mml:mi></mml:msub></mml:mrow></mml:mfrac></mml:mstyle></mml:mfenced><mml:mi mathvariant="italic">α</mml:mi></mml:msup></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mi mathvariant="italic">β</mml:mi><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M68" display="inline"><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi mathvariant="normal">co</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> (Hz) is the transfer function cutoff frequency and <inline-formula><mml:math id="M69" display="inline"><mml:mi mathvariant="italic">α</mml:mi></mml:math></inline-formula> and
<inline-formula><mml:math id="M70" display="inline"><mml:mi mathvariant="italic">β</mml:mi></mml:math></inline-formula> are fitting parameters whose values were found to vary very little
around <inline-formula><mml:math id="M71" display="inline"><mml:mrow><mml:mi mathvariant="italic">α</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2.65</mml:mn></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M72" display="inline"><mml:mrow><mml:mi mathvariant="italic">β</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0.25</mml:mn></mml:mrow></mml:math></inline-formula>.</p>
</sec>
<sec id="Ch1.S2.SS2">
  <title>Datasets</title>
      <p id="d1e1535">We performed simulations on four datasets acquired from EC sites representative
of various ecosystem types and climatic regimes and characterized by the
different height of measurement and height of the canopy:
<list list-type="bullet"><list-item>
      <p id="d1e1540"><italic>IT-Ro2</italic>: a deciduous forest of Turkey Oak (<italic>Quercus cerris</italic> L.) in Italy. Eddy covariance
measurements were carried out from 2002 to 2013 and the period used for the
simulations was May 2013, when the canopy height was 15 m and the
measurement height 18 m (Rey et al., 2002).</p></list-item><list-item>
      <p id="d1e1549"><italic>IT-Ro4</italic>: located at about 1 km from IT-Ro2, is a rotation crop site where EC
measurements have been carried out from 2008 to 2014. Data used for the
simulations include 43 days in 2012 when crimson clover (<italic>Trifolium incarnatum</italic> L.) was cultivated
(maximum canopy height 60 cm, measurement height of 3.7 m).</p></list-item><list-item>
      <p id="d1e1558"><italic>DK-Sor</italic>: evergreen forest near Sorø, Denmark. EC measurements are performed since
1997: during the period used for the simulation (the entire 2015) the forest
was 25 m tall and the EC system placed at 60 m a.g.l. (Pilegaard et al.,
2011).</p></list-item><list-item>
      <p id="d1e1564"><italic>IT-CA3</italic>: fast-growing short-rotation coppice of poplar clones planted in
2010, located in Castel d'Asso, Viterbo, Italy. The EC tower was installed
at the end of 2011, and measurements were taken until mid-2015. The period
used for the simulation included 9 months over the period 2012–2015, with a
canopy height ranging 0–5.3 m, and the measurement height between 3 and 5.5 m (Sabbatini et al., 2016).</p></list-item></list></p>
</sec>
<sec id="Ch1.S2.SS3">
  <title>Validation of the simulation design</title>
      <p id="d1e1575">Although the proposed simulation design enables the evaluation of resulting
errors using readily available EC data, we note that interpolating data
sampled at 10 or 20 Hz frequency can potentially introduce artifacts (due to
the lack of information at higher frequencies) such as, for example, an
undue reduction of the sonic temperature variance, which would result in
artificial reduction of the <inline-formula><mml:math id="M73" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M74" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> covariance. In order to detect any such
effects, we preliminarily implemented a validation procedure, making use of
1 week of sonic data from a Gill HS-100 (Gill Instruments Ltd., Lymington, UK)
collected at 100 Hz. The validation involved the following steps:
<list list-type="order"><list-item>
      <p id="d1e1598">Subsampling at 10 Hz and simulating timing errors as described above,
i.e., interpolating starting from the subsampled data.</p></list-item><list-item>
      <p id="d1e1602">Subsampling at 10 Hz and simulating timing errors by interpolating the
original 100 Hz data.</p></list-item><list-item>
      <p id="d1e1606">Comparing <inline-formula><mml:math id="M75" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M76" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> covariances obtained in steps 1 and 2.</p></list-item></list>
The timing errors simulated interpolating the original 100 Hz measurements
(option 2 above) are much less prone to artifacts because interpolation
occurs between data that are 0.01 s apart, an interval too short for
any significant flux signal to occur. Using this procedure, we could verify
that there is no detectable difference between results obtained with 100
and 10 Hz data (not shown), which implies that the interpolation procedure
is not introducing significant artifacts in the estimation of variances and
covariances and therefore the simulation can be performed with virtually any
historic EC dataset using the available code.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4" specific-use="star"><caption><p id="d1e1630">Simulation of RTEs. Covariances <inline-formula><mml:math id="M77" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M78" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> obtained with a set of
simulated random errors of different amplitudes (<inline-formula><mml:math id="M79" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axes) are compared to the
covariances <inline-formula><mml:math id="M80" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M81" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed with the original time series (<inline-formula><mml:math id="M82" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axes), for the
four sites. All regressions had an offset equal to zero and <inline-formula><mml:math id="M83" display="inline"><mml:mrow><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> &gt; 0.99.</p></caption>
          <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f04.png"/>

        </fig>

</sec>
</sec>
<sec id="Ch1.S3">
  <title>Results and discussion</title>
      <p id="d1e1708">Figure 4 compares covariances <inline-formula><mml:math id="M84" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M85" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> obtained with increasing amounts of
RTE against the reference covariance obtained with the original, perfectly
synced, time series. Reduction in covariance estimates is fairly negligible
provided that RTE is of the same order of magnitude of the sampling interval
or less. Largest discrepancies were observed for the IT-CA3 and IT-Ro4 sites
with a covariance underestimation of<?pagebreak page5481?> 3 % for RTE of amplitude 100 ms. As
mentioned earlier, such large timing errors are never the result of
electronic clock jitter and may instead be caused by a data transmission
system not designed for time synchronization, such as TCP.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5" specific-use="star"><caption><p id="d1e1731">Simulation of STE. Covariances <inline-formula><mml:math id="M86" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M87" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> obtained with a set of
simulated systematic errors of different amplitudes (<inline-formula><mml:math id="M88" display="inline"><mml:mi>y</mml:mi></mml:math></inline-formula> axes) are compared to
the covariances <inline-formula><mml:math id="M89" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>-<inline-formula><mml:math id="M90" display="inline"><mml:mrow><mml:msub><mml:mi>T</mml:mi><mml:mi mathvariant="normal">s</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> computed with the original time series (<inline-formula><mml:math id="M91" display="inline"><mml:mi>x</mml:mi></mml:math></inline-formula> axes), for
the four sites. All regressions had an offset equal to zero and <inline-formula><mml:math id="M92" display="inline"><mml:mrow><mml:msup><mml:mi>r</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup></mml:mrow></mml:math></inline-formula> &gt; 0.98.</p></caption>
        <?xmltex \igopts{width=341.433071pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f05.png"/>

      </fig>

      <p id="d1e1802">Conversely, flux biases induced by systematic timing errors are both more
significant and more variable. Figure 5 shows that a STE of 60 <inline-formula><mml:math id="M93" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M94" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>
(1 row of difference in a 30 min file with data collected at 10 Hz) can lead
to errors anywhere between 0 % and 4 %, increasing to 1 %–8 % for a STE of
120 <inline-formula><mml:math id="M95" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M96" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> (2 rows of difference) and to 1 %–11 % for a STE of 180 <inline-formula><mml:math id="M97" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M98" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> (3 rows of difference).</p>
      <p id="d1e1863">Figure 6a shows an example of the transfer functions derived using the
procedure described in Sect. 2.1. The Figure refers to the site IT-CA3, but
the filters obtained for the other sites had very similar characteristics,
as illustrated in Fig. 6b using the mean cutoff frequencies computed for all
sites at each STE amount: the tight <inline-formula><mml:math id="M99" display="inline"><mml:mrow><mml:mo>±</mml:mo><mml:mn mathvariant="normal">3.5</mml:mn><mml:mi mathvariant="italic">σ</mml:mi></mml:mrow></mml:math></inline-formula> range merely
demonstrates that the low-pass filter properties of the STE are independent
from the data used to derive it, and only vary with the error amount.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6" specific-use="star"><caption><p id="d1e1881">Transfer function for the STE at different error amounts, as
derived using Eqs. (2) and (3), using data from site IT-CA3 <bold>(a)</bold>. Mean values and
3.5<inline-formula><mml:math id="M100" display="inline"><mml:mi mathvariant="italic">σ</mml:mi></mml:math></inline-formula> ranges of the transfer function cutoff frequencies across the
fours sites, as a function of the error amount <bold>(b)</bold>.</p></caption>
        <?xmltex \igopts{width=369.885827pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f06.png"/>

      </fig>

      <p id="d1e1903">Nonetheless, in Fig. 5 we showed how the same STE leads to very different
flux underestimations at a different site. For example, a systematic error
of 180 <inline-formula><mml:math id="M101" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M102" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> led to flux biases of 1 % and 11 % at IT-Ro2 and
IT-Ro4, respectively.</p>
      <p id="d1e1925">The reason is related to the distribution of the flux contributions across
the frequency domain. The more the flux co-spectrum is shifted towards higher
frequencies, the more it will be dampened by any given low-pass filter and
the higher the resulting flux bias will be. In other words, systematic
timing errors are a source of high-frequency spectral losses, not dissimilar
to the ones traditionally considered in EC (Moncrieff et al., 1997; Massmann,
2000; Ibrom et al., 2007). Figure 7 depicts the low-pass filtering effects of
several STEs as applied to three different hypothetical EC systems,
characterized by different “initial” cutoff frequencies (caused by other
sources of attenuation such as, for example, length of the sampling line) deployed in
two contrasting scenarios (high vs. low measurement height). It is evidenced
that at high measurement heights effects are negligible, irrespective of the
“original” cutoff frequency of the system (a–c). The reason is that the
STE filters act on co-spectra that are shifted to low frequencies and have
therefore very low high-frequency content. At low measurement height,
instead, STEs significantly increase spectral losses if the system has a
high initial cutoff frequency (e–f), while if the system as a poor initial
spectral response (d), STEs are irrelevant because, again, high-frequency
co-spectral content is minimal to start with.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F7" specific-use="star"><caption><p id="d1e1930">Effect of adding artificial STEs to three EC systems characterized
by different cutoff frequencies (0.1, 3.0, and 6.0 Hz for <bold>d</bold>, <bold>e</bold>, and <bold>f</bold>, respectively)
and by different measurement height and mean wind speed (from <bold>a–c</bold> to <bold>d–f</bold>).</p></caption>
        <?xmltex \igopts{width=497.923228pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f07.png"/>

      </fig>

      <p id="d1e1954">To put this new source of high-frequency losses in perspective
quantitatively, we note that for EC systems based on an enclosed-path gas
analyzer (LI-7200), cutoff frequencies ranging from 1.1 Hz (for less optimized)
up to 7–8 Hz (for systems with optimized intake rain cup and heated sampling
line) were reported in the literature (e.g., Fratini et al., 2012; Aubinet et
al., 2016; Metzger et al., 2016). Similar values are usually found in systems
based on open-path setups. Significant STEs can thus easily become leading
sources of flux biases in modern EC systems deployed at low measurement
heights and/or very limited spectral losses due to other causes, with the
additional complication that they are hard to detect and quantify. In fact,
once acquired and stored in files, it is generally not possible to establish
whether a drift<?pagebreak page5483?> between data streams occurred. Missing lines in one data
stream could be either filled in by the data acquisition software (e.g., by
means of the “last observation carried forward” technique) or could be
compensated by dropping one line in the paired, longer series. In both
cases, one would be unable to detect the problem, which is, however, obviously
not solved by these solutions, meant only to build a complete rectangular
dataset. On the contrary, a mismatch of one or two lines in the length of
the time series is <italic>not</italic> necessarily the sign of an occurring STE, as it could
also be the result of an imperfect timing in opening/closing a data stream,
or some combination of the two factors. For these reasons, it is very
difficult, if not practically impossible, to detect STEs, distinguish them
from other timing errors or artifacts, and, more importantly, to infer the
type and amount of error that is being introduced in the covariances. The
only sign of a potential timing problem is an attenuated co-spectrum, as
evaluated with respect to an available reference or model. But from the
co-spectra attenuation alone, it is impossible to establish the presence of a
timing error and, even more, disentangle it from other sources of
attenuation. The only possibility is thus to estimate an ensemble spectral
correction based on co-spectra, which would correct only sources of errors
without the ability to discriminate them, which is less than ideal (e.g.,
Ibrom et al., 2007). It is therefore advised to evaluate the performance of
a data acquisition system before it is put in operation.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F8" specific-use="star"><caption><p id="d1e1963">Schematic of possible setups to evaluate the ability of a data
logging system to synchronize EC data. In setup A the same (known) analog
signal (solid red lines) is sent to the analog inputs of the EC instruments
where it is digitized. In setup B analog wind data (dashed
red line) is sent
to the gas analyzer, where it is digitized. In both setups, the two digital
data streams are then collected by the data logging system. The clocks
involved and how timestamps are attached to data depend on the specifics of
the system under consideration.</p></caption>
        <?xmltex \igopts{width=312.980315pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f08.png"/>

      </fig>

<sec id="Ch1.S3.SSx1" specific-use="unnumbered">
  <title>Evaluating synchronicity of an EC data acquisition system</title>
      <p id="d1e1977">If both EC instruments can receive analog inputs, a possible way to evaluate
synchronicity in the data logging system is to connect a signal generator to
both EC instruments (SAT and gas analyzer) and collect the data via the data
logging system in the configuration that would be adopted in normal
operation (Fig. 8). The result is two replicates of the known signal data,
whose timestamps will in general not be synchronized, in the sense that the
same nominal timestamp will be attached to two different pieces of data. The
two datasets can then be compared to calculate the phase difference between
the clocks and hence assess RTEs and STEs. For example, a cross correlation
of the time series yields the phase difference. It's important to test the
time series at different time intervals, e.g., 0.5 h for several
days, in actual field conditions that undergo significant temperature
variations. The two instruments are synchronized if the cross correlation
yields the same result every time. If this constant phase offset (time lag)
is different from zero, this measurement quantifies signal delays in a
system, which can be addressed either by optimizing the data logging system
or by taking this offset into account while setting up the time-lag
automatic computation in post-processing. A cross correlation that changes
over time, instead, is a strong indication of occurring STEs. It is very
difficult to anticipate the evolution in time of the phase change as it
depends on the clock's crystal cuts, quality, and temperature sensitivity. In
general, we may expect a linear trend in the phase if temperatures do not
vary strongly (see also later)<?pagebreak page5484?> or a trend modulated by a diurnal pattern if
temperature plays a role.</p>
      <p id="d1e1980">A simpler (though less controlled) option, in case a signal generator is not
accessible, is to use the analog outputs from at least one of the EC
instruments. In this case the test involves transmitting (at least) one of
the analog outputs to the analog input of the companion instrument (e.g., <inline-formula><mml:math id="M103" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>
sent via analog output of the SAT to an analog input channel of the gas
analyzer). In this way the raw-data files contain two replicates of that
variable, each collected according to the timing of the respective
instrument: the timestamps of the digital version are logged according to
timing of the sending instrument (SAT, in the example), while those of its
analog version are logged according to the timing of the receiver (gas
analyzer). The same cross-correlation analyses described above can then be
performed.</p>
      <p id="d1e1990">In both versions of the tests, results may be affected by minor RTEs if the
various A/D or D/A tasks are not accurately synchronized with the
measurement and serial output tasks. However, such RTEs should not affect
the ability to detect and quantify occurring STEs.</p>
      <p id="d1e1993">Note also that, in both versions of the test, the way raw data are stored may
have a strong impact on how to interpret the results. For instance,
depending on the specifics of the data acquisition system, collecting a
unique file with 3 days worth of data or collecting 30 min files for 3 days
can provide different results, e.g., because the act of closing a file
and opening a new one can cause the data streams to be partially or
completely “realigned”.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F9"><caption><p id="d1e1999">Evolution of time lags between two replicates of the same variable
(<inline-formula><mml:math id="M104" display="inline"><mml:mi>u</mml:mi></mml:math></inline-formula> wind component, but identical results were obtained with <inline-formula><mml:math id="M105" display="inline"><mml:mi>v</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M106" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula>), one
collected with the SAT native digital format and one collected via analog
outputs from the SAT. Data were collected in two files roughly 70 h long
and then split into 30 min chunks for the computation of time lags.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://bg.copernicus.org/articles/15/5473/2018/bg-15-5473-2018-f09.png"/>

        </fig>

      <p id="d1e2029">To exemplify the test, we collected about 3 days of 20 Hz wind data from a
SAT (HS-100, Gill Instruments Ltd., Lymington, UK) both in native digital
format (via a RS-232 port, indicated with the subscript d in the following)
and in analog format via the A/D of a LI-7550 analyzer interface unit
(LI-COR Biosciences Inc.) which was then collected via a second RS-232 port
(indicated with subscript a), using an industrial-grade PC running Windows
XP. Thus, the data logging system under testing was “a Windows PC
collecting EC data via RS-232, which was setup to transmit data in
streaming mode”. The two data streams were completely independent to each
other, and we attached timestamps to the records based on the operating
system clock as the data were made available from the serial port to the
application collecting the data. We then merged the two datasets based on
timestamps and split the resulting 3-day file into 30 min. Finally, we
calculated time lags between pairs of homologous variables (e.g., <inline-formula><mml:math id="M107" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">d</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>
vs. <inline-formula><mml:math id="M108" display="inline"><mml:mrow><mml:msub><mml:mi>u</mml:mi><mml:mi mathvariant="normal">a</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula>, but results were identical for<?pagebreak page5485?> all anemometric variables), which are
shown in Fig. 9. The linearity of the data suggests that the system is
affected by a fairly constant STE of about 50 <inline-formula><mml:math id="M109" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M110" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, as quantified by
the slope of the line.</p>
      <p id="d1e2073">Using the same setup, we further collected 2 days of data directly stored as
30 min files and again computed time lags between homologous variables. The
acquisition system was able to realign the two series at the beginning of
each half hour resetting the time lag between them to roughly zero.
Nevertheless, calculating time lags on overlapping 5 min periods, we found
that <italic>within</italic> each half-hourly period the time lags increased by 0.05 s (32 % of
the times) and of 0.1 s (68 % of the times), which again indicates an STE
ranging from 30 to 60 <inline-formula><mml:math id="M111" display="inline"><mml:mi mathvariant="normal">µ</mml:mi></mml:math></inline-formula>s s<inline-formula><mml:math id="M112" display="inline"><mml:msup><mml:mi/><mml:mrow><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> which, as shown above (Fig. 5), can lead to
detectable flux biases. We stress that the system used in this experiment
was not optimized for data acquisition and the aim was solely that of
evaluating the proposed test.</p>
</sec>
</sec>
<sec id="Ch1.S4" sec-type="conclusions">
  <title>Conclusions</title>
      <p id="d1e2105">Undoubtedly, modern EC systems should log high-frequency data in a native
digital format, so as to collect all possible measurement, diagnostic, and
status information from each instrument and assure the creation of robust,
self-documented datasets, which are essential to the long-term research
goals of climate and greenhouse gas science.</p>
      <p id="d1e2108">Commercial data acquisition solutions exist, that one can legitimately
expect to ensure a proper data synchronization, such as the
SmartFlux<sup>®</sup> system by LI-COR or the SDM-based system by CSI.
There also exist applications developed by research institutions that
specifically address the synchronization issue. In all these cases it is, however,
possible to test the synchronization in order to confirm the
expected performances.</p>
      <p id="d1e2114">When dealing with novel gas species, however, assembling EC systems from
instrumentation that is not necessarily designed to be integrated is often
the only choice available to the researcher and in-house solutions
become necessary. In such cases, extreme care and expertise must be used in
the handling of different digital data formats and transmission modes, in a
context where data synchronicity is essential. We have shown that failure to
do so can result in significant biases for the resulting fluxes, which
depend on the type of timing error (random or systematic) and its amplitude,
as well as on the co-spectral characteristics at the site. We have also
explained how such errors are virtually impossible to detect and quantify in
historic time series. It is, therefore, necessary to avoid them upfront, via
proper design and evaluation of the data logging system.</p>
      <p id="d1e2117">Deploying a simple testing setup that makes use of equipment usually
available to the EC experimentalists, we demonstrated how, for example, a
naïve data collection performed asynchronously on a Windows XP
industrial PC leads to significant relative drifts among the time series,
which is bound to generate flux underestimations. With minor ad hoc adjustments,
the same testing setup can be used to evaluate any EC data logging system.
While evaluation of existing systems was beyond the scope of our work and we
do expect synchronization issues to be more of a risk for in-house
solutions, the proposed testing setup for evaluating data synchronization
applies equally to in-house and to commercial solutions and we do invite
researchers and companies to test their systems.</p>
      <p id="d1e2121">With this in mind, we recommend the scientific community to promote
collaboration and synergy among manufacturers of EC equipment,
technological solutions that <italic>guarantee</italic> sufficient synchronicity do exist – such as
Ethernet connectivity deploying the PTP protocol – but, in order to be
utilized, they require all instrumentation to be compatible with those
technologies, which is not yet the case.</p>
      <p id="d1e2127">A final note on the data collected until now and largely shared and used in
publications. As stated above, it is impossible to detect the presence of a
synchronization issue on archived dataset. However, fully digital acquisition
in streaming mode started to be largely adopted only recently and this
limits the potential impact of the issue on historical data. In addition, as
also explained in the results, the effect of a STE acts as a spectral loss
and hence it may be (at least partially) compensated for and corrected by
in situ spectral corrections based on co-spectra.</p>
</sec>

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

      <p id="d1e2135">The source code for performing the simulation is available
in the following public repository:
<uri>https://github.com/geryatejina/ec_timing_errors_simulation</uri> (Fratini, 2018).</p>
  </notes><notes notes-type="competinginterests">

      <p id="d1e2144">The authors declare that they have no conflict of
interest.</p>
  </notes><notes notes-type="authorcontribution">

      <p id="d1e2150">GF and DP conceived and designed the work. GF carried out all the
simulations and data analysis and wrote most of the paper. DP participated in
data interpretation, wrote parts of the paper, and provided supervision during
preparation of the paper. SS performed the data acquisition test and
analyzed the corresponding data of Fig. 9. KE and BR provided the know-how on
DSP and data acquisition theoretical aspects and wrote the corresponding
sections. GN and DV participated in the conception of the paper and
extensively reviewed the paper during preparation. GB provided major
contributions and extensively reviewed the paper during the review
process.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e2156">The authors thank the referees for valuable input that helped improve the focus
and rigor of the paper. Dario Papale, Giacomo Nicolini, and Domenico Vitale thank the ENVRIplus project funded by
the European Union's Horizon 2020 Research and Innovation Programme under
grant agreement<?pagebreak page5486?> 654182 and the RINGO project funded under the same program
under grant agreement 730944. Simone Sabbatini thanks the COOP<inline-formula><mml:math id="M113" display="inline"><mml:mo>+</mml:mo></mml:math></inline-formula> project funded by the
European Union's Horizon 2020 Research and Innovation Programme under grant
agreement no. 654131.
<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>
Edited by: Trevor Keenan<?xmltex \hack{\newline}?>
Reviewed by: two anonymous referees</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><mixed-citation>Aubinet, M., Grelle, A., Ibrom, A., Rannik, Ü., Moncrieff, J., Foken,
T., Kowalski, A., Martin, P., 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 Forests: The EUROFLUX Methodology, Adv. Ecol. Res. 30, 113–175, <ext-link xlink:href="https://doi.org/10.1016/S0065-2504(08)60018-5" ext-link-type="DOI">10.1016/S0065-2504(08)60018-5</ext-link>,
2000.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><mixed-citation>
Aubinet, M., Vesala, T., and Papale, D.: Eddy Covariance: A Practical Guide
to Measurement and Data Analysis, Springer, Dordrecht, the Netherlands, Heidelberg, Germany, London, UK, New
York, USA, 460 pp., 2012.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><mixed-citation>Baldocchi, D., Falge, E., Gu, L., Olson, R., Hollinger, D., Running, S.,
Anthoni, P., Bernhofer, C., Davis, K., Evans, R., Fuentes, J., Goldstein, A.,
Katul, G., Law, B., Lee, X., Malhi, Y., Meyers, T., Munger, W., Oechel, W., Paw U, K.
T., Pilegaard, K., Schmid, H. P., Valentini, R., Verma, S., Vesala, T., Wilson, K., and
Wofsy, S.: FLUXNET: A New Tool to Study the Temporal and Spatial
Variability of Ecosystem-Scale Carbon Dioxide, Water Vapor, and Energy Flux
Densities, B. Am. Meteorol. Soc., 82,
2415–2434, <ext-link xlink:href="https://doi.org/10.1175/1520-0477(2001)082&lt;2415:FANTTS&gt;2.3.CO;2" ext-link-type="DOI">10.1175/1520-0477(2001)082&lt;2415:FANTTS&gt;2.3.CO;2</ext-link>, 2001.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><mixed-citation>
Barnes, J. R.: Electronic System Design: Interference and Noise Control
Techniques, Prentice-Hall Inc., Upper Saddle River, New Jersey, USA, 1987.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><mixed-citation>
Cheng, Y., Sayde, C., Li, Q., Basara, J., Selker, J., Tanner, E., and Gentine,
P.: Failure of Taylor's hypothesis in the atmospheric surface layer and its
correction for eddy-covariance measurements, Geophys. Res. Lett.,
44, 4287–4295, 2017.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><mixed-citation>
Aubinet, M., Joly, L., Loustau, D., De Ligne, A., Chopin, H., Cousin, J.,
Chauvin, N., Decarpenterie, T., and Gross, P.: Dimensioning IRGA gas sampling
systems: laboratory and field experiments, Atmos. Meas. Tech., 9, 1361–1367,
https://doi.org/10.5194/amt-9-1361-2016, 2016.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><mixed-citation>
Dobkin, R., Moyal, M., Kolodny A., and Ginosar, R.: Asynchronous Current
Mode Serial Communication, IEEE T. VLSI Syst., 18, 1107–1117, 2010.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><mixed-citation>Eugster, W. and Plüss, P.: A fault-tolerant eddy covariance system for
measuring <inline-formula><mml:math id="M114" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">CH</mml:mi><mml:mn mathvariant="normal">4</mml:mn></mml:msub></mml:mrow></mml:math></inline-formula> fluxes, Agr. Forest Meteorol., 150, 841–851,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2009.12.008" ext-link-type="DOI">10.1016/j.agrformet.2009.12.008</ext-link>, 2010.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><mixed-citation>Foken, T., Aubinet, M., and Leuning, R.: The Eddy Covariance Method, in:
Eddy Covariance: A Practical
Guide to Measurement and Data Analysis, edited by: Aubinet, M., Vesala, T., and Papale, D., Springer, Dordrecht, the Netherlands,
1–20, <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.bib10"><label>10</label><mixed-citation>
Frank, J. M., Massman, W. J., Swiatek, E., Zimmerman, H. A., and Ewers,
B. E.: All sonic anemometers need to correct for transducer and structural
shadowing in their velocity measurements, J. Atmos. Ocean.
Tech., 33, 149–167, 2016.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><mixed-citation>Fratini, G.: EC timing errors simulation, available at:
<uri>https://github.com/geryatejina/ec_timing_errors_simulation</uri>,
last access: 4 September 2018.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><mixed-citation>Fratini, G. and Mauder, M.: Towards a consistent eddy-covariance processing:
an intercomparison of EddyPro and TK3, Atmos. Meas. Tech., 7, 2273–2281,
<ext-link xlink:href="https://doi.org/10.5194/amt-7-2273-2014" ext-link-type="DOI">10.5194/amt-7-2273-2014</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib13"><label>13</label><mixed-citation>Fratini, G., Ibrom, A., Arriga, N., Burba, G., and Papale, D.: Relative
humidity effects on water vapour fluxes measured with closed-path
eddy-covariance systems with short sampling lines, Agr. Forest Meteorol.
165, 53–63, <ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2012.05.018" ext-link-type="DOI">10.1016/j.agrformet.2012.05.018</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><mixed-citation>
Grare, L., Lenain, L., and Melville, W.K.: The influence of wind direction
on Campbell Scientific CSAT3 and Gill R3-50 sonic anemometer measurements.
J. Atmos. Ocean. Tech., 33, 2477–2497, 2016.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><mixed-citation>
Hewlett Packard: Fundamentals of Quartz Oscillators, Electronic Counters
Series, Application Note 200-2, 1997.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><mixed-citation>Horst, T. W., Vogt, R., and Oncley, S. P.: Measurements of flow distortion
within the IRGASON integrated sonic anemometer and <inline-formula><mml:math id="M115" 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:mo>/</mml:mo><mml:msub><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:math></inline-formula> gas
analyser,
Bound.-Lay. Meteorol., 160, 1–15, 2016.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><mixed-citation>
Huq, S., De Roo, F., Foken, T., and Mauder, M.: Evaluation of probe-induced
flow distortion of Campbell CSAT3 sonic anemometers by numerical simulation,
Bound.-Lay. Meteorol., 165, 9–28, 2017.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><mixed-citation>Ibrom, A., Dellwik, E., Flyvbjerg, H., Jensen, N. O., and Pilegaard, K.:
Strong low-pass filtering effects on water vapour flux measurements with
closed-path eddy correlation systems, Agr. Forest Meteorol., 147, 140–156,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2007.07.007" ext-link-type="DOI">10.1016/j.agrformet.2007.07.007</ext-link>, 2007.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><mixed-citation>
Kolle, O. and Rebmann, C.: EddySoft Documentation of a Software Package to
Acquire and Process Eddy Covariance Data., Technical Reports –
Max-Planck-Institut für Biogeochemie, 10, ISSN 1615-7400, 2007.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><mixed-citation>Langford, B., Acton, W., Ammann, C., Valach, A., and Nemitz, E.:
Eddy-covariance data with low signal-to-noise ratio: time-lag determination,
uncertainties and limit of detection, Atmos. Meas. Tech., 8, 4197–4213,
<ext-link xlink:href="https://doi.org/10.5194/amt-8-4197-2015" ext-link-type="DOI">10.5194/amt-8-4197-2015</ext-link>, 2015.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><mixed-citation>
Mahmood, A., Exel, R., and Sauter, T.: Delay and Jitter Characterization for
Software-Based Clock Synchronization Over WLAN Using PTP, IEEE T.
Ind. Inform., 10, 1198–1206, 2014.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><mixed-citation>
Massman, W. J.: A simple method for estimating frequency response corrections
for eddy covariance systems, Agr. Forest Meteorol., 104, 185–198, 2000.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><mixed-citation>Massman, W. J. and Ibrom, A.: Attenuation of concentration fluctuations of
water vapor and other trace gases in turbulent tube flow, Atmos. Chem. Phys.,
8, 6245–6259, <ext-link xlink:href="https://doi.org/10.5194/acp-8-6245-2008" ext-link-type="DOI">10.5194/acp-8-6245-2008</ext-link>, 2008.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><mixed-citation>Metzger, S., Burba, G., Burns, S. P., Blanken, P. D., Li, J., Luo, H., and
Zulueta, R. C.: Optimization of an enclosed gas analyzer sampling system for
measuring eddy covariance fluxes of <inline-formula><mml:math id="M116" display="inline"><mml:mrow class="chem"><mml:msub><mml:mi mathvariant="normal">H</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msub><mml:mi mathvariant="normal">O</mml:mi></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M117" 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>, Atmos. Meas. Tech., 9,
1341–1359, <ext-link xlink:href="https://doi.org/10.5194/amt-9-1341-2016" ext-link-type="DOI">10.5194/amt-9-1341-2016</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><mixed-citation>Moncrieff, J. B., Massheder, J. M., de Bruin, H., Elbers, J., Friborg, T.,
Heusinkveld, B., Kabat, P., Scott, S., Soegaard, H., and<?pagebreak page5487?> Verhoef, A.: A
system to measure surface fluxes of momentum, sensible heat, water vapour
and carbon dioxide, J. Hydrol., 188–189, 589–611.
<ext-link xlink:href="https://doi.org/10.1016/S0022-1694(96)03194-0" ext-link-type="DOI">10.1016/S0022-1694(96)03194-0</ext-link>, 1997.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><mixed-citation>
Park J., Mackay S., and Wright E.: Practical Data Communications for
Instrumentation and Control, Newnes, Oxford, UK, 400 pp., ISBN 9780750657976,
2003.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><mixed-citation>Pilegaard, K., Ibrom, A., Courtney, M. S., Hummelshøj, P., and Jensen,
N. O.: Increasing net <inline-formula><mml:math id="M118" 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 by a Danish beech forest during the period
from 1996 to 2009, Agr. Forest Meteorol. 151, 934–946,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2011.02.013" ext-link-type="DOI">10.1016/j.agrformet.2011.02.013</ext-link>, 2011.</mixed-citation></ref>
      <ref id="bib1.bib28"><label>28</label><mixed-citation>Rey, A., Pegoraro, E., Tedeschi, V., De Parri, I., Jarvis, P. G., and
Valentini, R.: Annual variation in soil respiration and its components in a
coppice oak forest in Central Italy, Glob. Change Biol., 8, 851–866,
2002. </mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib29"><label>29</label><mixed-citation>Sabbatini, S., Arriga, N., Bertolini, T., Castaldi, S., Chiti, T., Consalvo,
C., Njakou Djomo, S., Gioli, B., Matteucci, G., and Papale, D.: Greenhouse
gas balance of cropland conversion to bioenergy poplar short-rotation
coppice, Biogeosciences, 13, 95–113, <ext-link xlink:href="https://doi.org/10.5194/bg-13-95-2016" ext-link-type="DOI">10.5194/bg-13-95-2016</ext-link>,
2016.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><mixed-citation>
Vickers, D. and Mahrt, L.: Quality control and flux sampling problems for
tower and aircraft data, J. Atmos. Ocean. Tech., 14, 512–526, 1997.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><mixed-citation>
Wilczak, J. M., Oncley, S. P., and Stage, S. A.: Sonic anemometer tilt correction
algorithms, Bound.-Lay. Meteorol., 99, 127–150, 2001.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><mixed-citation>
Wyngaard, J. C.: Flow-distortion effects on scalar flux measurements in the
surface layer: Implications for sensor design, in: Topics
in Micrometeorology. A Festschrift for Arch Dyer, edited by: Hicks, B. B., Springer, Dordrecht, the Netherlands, 1998.</mixed-citation></ref>

  </ref-list></back>
    <!--<article-title-html>Eddy covariance flux errors due to random and systematic timing errors during data acquisition</article-title-html>
<abstract-html><p>Modern eddy covariance (EC) systems collect high-frequency data (10–20&thinsp;Hz)
via digital outputs of instruments.
This is an important evolution with respect to the traditional and widely
used mixed analog/digital systems, as fully digital systems help overcome
the traditional limitations of transmission reliability, data quality, and
completeness of the datasets.</p><p>However, fully digital acquisition introduces a new problem for guaranteeing
data synchronicity when the clocks of the involved devices themselves cannot
be synchronized, which is often the case with instruments providing data via
serial or Ethernet connectivity in a streaming mode. In this paper, we
suggest that, when assembling EC systems <q>in-house</q>, aspects related to
timing issues need to be carefully considered to avoid significant flux
biases.</p><p>By means of a simulation study, we found that, in most cases, random timing
errors can safely be neglected, as they do not impact fluxes significantly.
At the same time, systematic timing errors potentially arising in
asynchronous systems can effectively act as filters leading to significant
flux underestimations, as large as 10&thinsp;%, by means of attenuation of
high-frequency flux contributions. We characterized the transfer function of
such <q>filters</q> as a function of the error magnitude and found cutoff
frequencies as low as 1&thinsp;Hz, implying that synchronization errors can
dominate high-frequency attenuations in open- and enclosed-path EC systems.
In most cases, such timing errors neither be detected nor characterized
a posteriori. Therefore, it is important to test the ability of traditional
and prospective EC data logging systems to assure the required synchronicity
and propose a procedure to implement such a test relying on readily
available equipment.</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Aubinet, M., Grelle, A., Ibrom, A., Rannik, Ü., Moncrieff, J., Foken,
T., Kowalski, A., Martin, P., 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 Forests: The EUROFLUX Methodology, Adv. Ecol. Res. 30, 113–175, <a href="https://doi.org/10.1016/S0065-2504(08)60018-5" target="_blank">https://doi.org/10.1016/S0065-2504(08)60018-5</a>,
2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Aubinet, M., Vesala, T., and Papale, D.: Eddy Covariance: A Practical Guide
to Measurement and Data Analysis, Springer, Dordrecht, the Netherlands, Heidelberg, Germany, London, UK, New
York, USA, 460 pp., 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Baldocchi, D., Falge, E., Gu, L., Olson, R., Hollinger, D., Running, S.,
Anthoni, P., Bernhofer, C., Davis, K., Evans, R., Fuentes, J., Goldstein, A.,
Katul, G., Law, B., Lee, X., Malhi, Y., Meyers, T., Munger, W., Oechel, W., Paw U, K.
T., Pilegaard, K., Schmid, H. P., Valentini, R., Verma, S., Vesala, T., Wilson, K., and
Wofsy, S.: FLUXNET: A New Tool to Study the Temporal and Spatial
Variability of Ecosystem-Scale Carbon Dioxide, Water Vapor, and Energy Flux
Densities, B. Am. Meteorol. Soc., 82,
2415–2434, <a href="https://doi.org/10.1175/1520-0477(2001)082&lt;2415:FANTTS&gt;2.3.CO;2" target="_blank">https://doi.org/10.1175/1520-0477(2001)082&lt;2415:FANTTS&gt;2.3.CO;2</a>, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Barnes, J. R.: Electronic System Design: Interference and Noise Control
Techniques, Prentice-Hall Inc., Upper Saddle River, New Jersey, USA, 1987.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Cheng, Y., Sayde, C., Li, Q., Basara, J., Selker, J., Tanner, E., and Gentine,
P.: Failure of Taylor's hypothesis in the atmospheric surface layer and its
correction for eddy-covariance measurements, Geophys. Res. Lett.,
44, 4287–4295, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Aubinet, M., Joly, L., Loustau, D., De Ligne, A., Chopin, H., Cousin, J.,
Chauvin, N., Decarpenterie, T., and Gross, P.: Dimensioning IRGA gas sampling
systems: laboratory and field experiments, Atmos. Meas. Tech., 9, 1361–1367,
https://doi.org/10.5194/amt-9-1361-2016, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Dobkin, R., Moyal, M., Kolodny A., and Ginosar, R.: Asynchronous Current
Mode Serial Communication, IEEE T. VLSI Syst., 18, 1107–1117, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Eugster, W. and Plüss, P.: A fault-tolerant eddy covariance system for
measuring CH<sub>4</sub> fluxes, Agr. Forest Meteorol., 150, 841–851,
<a href="https://doi.org/10.1016/j.agrformet.2009.12.008" target="_blank">https://doi.org/10.1016/j.agrformet.2009.12.008</a>, 2010.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Foken, T., Aubinet, M., and Leuning, R.: The Eddy Covariance Method, in:
Eddy Covariance: A Practical
Guide to Measurement and Data Analysis, edited by: Aubinet, M., Vesala, T., and Papale, D., Springer, Dordrecht, the Netherlands,
1–20, <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.bib10"><label>10</label><mixed-citation>
Frank, J. M., Massman, W. J., Swiatek, E., Zimmerman, H. A., and Ewers,
B. E.: All sonic anemometers need to correct for transducer and structural
shadowing in their velocity measurements, J. Atmos. Ocean.
Tech., 33, 149–167, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Fratini, G.: EC timing errors simulation, available at:
<a href="https://github.com/geryatejina/ec_timing_errors_simulation" target="_blank">https://github.com/geryatejina/ec_timing_errors_simulation</a>,
last access: 4 September 2018.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Fratini, G. and Mauder, M.: Towards a consistent eddy-covariance processing:
an intercomparison of EddyPro and TK3, Atmos. Meas. Tech., 7, 2273–2281,
<a href="https://doi.org/10.5194/amt-7-2273-2014" target="_blank">https://doi.org/10.5194/amt-7-2273-2014</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
Fratini, G., Ibrom, A., Arriga, N., Burba, G., and Papale, D.: Relative
humidity effects on water vapour fluxes measured with closed-path
eddy-covariance systems with short sampling lines, Agr. Forest Meteorol.
165, 53–63, <a href="https://doi.org/10.1016/j.agrformet.2012.05.018" target="_blank">https://doi.org/10.1016/j.agrformet.2012.05.018</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Grare, L., Lenain, L., and Melville, W.K.: The influence of wind direction
on Campbell Scientific CSAT3 and Gill R3-50 sonic anemometer measurements.
J. Atmos. Ocean. Tech., 33, 2477–2497, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Hewlett Packard: Fundamentals of Quartz Oscillators, Electronic Counters
Series, Application Note 200-2, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Horst, T. W., Vogt, R., and Oncley, S. P.: Measurements of flow distortion
within the IRGASON integrated sonic anemometer and CO<sub>2</sub>∕H<sub>2</sub>O gas
analyser,
Bound.-Lay. Meteorol., 160, 1–15, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Huq, S., De Roo, F., Foken, T., and Mauder, M.: Evaluation of probe-induced
flow distortion of Campbell CSAT3 sonic anemometers by numerical simulation,
Bound.-Lay. Meteorol., 165, 9–28, 2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Ibrom, A., Dellwik, E., Flyvbjerg, H., Jensen, N. O., and Pilegaard, K.:
Strong low-pass filtering effects on water vapour flux measurements with
closed-path eddy correlation systems, Agr. Forest Meteorol., 147, 140–156,
<a href="https://doi.org/10.1016/j.agrformet.2007.07.007" target="_blank">https://doi.org/10.1016/j.agrformet.2007.07.007</a>, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Kolle, O. and Rebmann, C.: EddySoft Documentation of a Software Package to
Acquire and Process Eddy Covariance Data., Technical Reports –
Max-Planck-Institut für Biogeochemie, 10, ISSN 1615-7400, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Langford, B., Acton, W., Ammann, C., Valach, A., and Nemitz, E.:
Eddy-covariance data with low signal-to-noise ratio: time-lag determination,
uncertainties and limit of detection, Atmos. Meas. Tech., 8, 4197–4213,
<a href="https://doi.org/10.5194/amt-8-4197-2015" target="_blank">https://doi.org/10.5194/amt-8-4197-2015</a>, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Mahmood, A., Exel, R., and Sauter, T.: Delay and Jitter Characterization for
Software-Based Clock Synchronization Over WLAN Using PTP, IEEE T.
Ind. Inform., 10, 1198–1206, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Massman, W. J.: A simple method for estimating frequency response corrections
for eddy covariance systems, Agr. Forest Meteorol., 104, 185–198, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Massman, W. J. and Ibrom, A.: Attenuation of concentration fluctuations of
water vapor and other trace gases in turbulent tube flow, Atmos. Chem. Phys.,
8, 6245–6259, <a href="https://doi.org/10.5194/acp-8-6245-2008" target="_blank">https://doi.org/10.5194/acp-8-6245-2008</a>, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Metzger, S., Burba, G., Burns, S. P., Blanken, P. D., Li, J., Luo, H., and
Zulueta, R. C.: Optimization of an enclosed gas analyzer sampling system for
measuring eddy covariance fluxes of H<sub>2</sub>O and CO<sub>2</sub>, Atmos. Meas. Tech., 9,
1341–1359, <a href="https://doi.org/10.5194/amt-9-1341-2016" target="_blank">https://doi.org/10.5194/amt-9-1341-2016</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Moncrieff, J. B., Massheder, J. M., de Bruin, H., Elbers, J., Friborg, T.,
Heusinkveld, B., Kabat, P., Scott, S., Soegaard, H., and Verhoef, A.: A
system to measure surface fluxes of momentum, sensible heat, water vapour
and carbon dioxide, J. Hydrol., 188–189, 589–611.
<a href="https://doi.org/10.1016/S0022-1694(96)03194-0" target="_blank">https://doi.org/10.1016/S0022-1694(96)03194-0</a>, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Park J., Mackay S., and Wright E.: Practical Data Communications for
Instrumentation and Control, Newnes, Oxford, UK, 400 pp., ISBN 9780750657976,
2003.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Pilegaard, K., Ibrom, A., Courtney, M. S., Hummelshøj, P., and Jensen,
N. O.: Increasing net CO<sub>2</sub> uptake by a Danish beech forest during the period
from 1996 to 2009, Agr. Forest Meteorol. 151, 934–946,
<a href="https://doi.org/10.1016/j.agrformet.2011.02.013" target="_blank">https://doi.org/10.1016/j.agrformet.2011.02.013</a>, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
Rey, A., Pegoraro, E., Tedeschi, V., De Parri, I., Jarvis, P. G., and
Valentini, R.: Annual variation in soil respiration and its components in a
coppice oak forest in Central Italy, Glob. Change Biol., 8, 851–866,
2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Sabbatini, S., Arriga, N., Bertolini, T., Castaldi, S., Chiti, T., Consalvo,
C., Njakou Djomo, S., Gioli, B., Matteucci, G., and Papale, D.: Greenhouse
gas balance of cropland conversion to bioenergy poplar short-rotation
coppice, Biogeosciences, 13, 95–113, <a href="https://doi.org/10.5194/bg-13-95-2016" target="_blank">https://doi.org/10.5194/bg-13-95-2016</a>,
2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
Vickers, D. and Mahrt, L.: Quality control and flux sampling problems for
tower and aircraft data, J. Atmos. Ocean. Tech., 14, 512–526, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Wilczak, J. M., Oncley, S. P., and Stage, S. A.: Sonic anemometer tilt correction
algorithms, Bound.-Lay. Meteorol., 99, 127–150, 2001.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Wyngaard, J. C.: Flow-distortion effects on scalar flux measurements in the
surface layer: Implications for sensor design, in: Topics
in Micrometeorology. A Festschrift for Arch Dyer, edited by: Hicks, B. B., Springer, Dordrecht, the Netherlands, 1998.
</mixed-citation></ref-html>--></article>
