<?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">AMT</journal-id><journal-title-group>
    <journal-title>Atmospheric Measurement Techniques</journal-title>
    <abbrev-journal-title abbrev-type="publisher">AMT</abbrev-journal-title><abbrev-journal-title abbrev-type="nlm-ta">Atmos. Meas. Tech.</abbrev-journal-title>
  </journal-title-group><issn pub-type="epub">1867-8548</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/amt-11-2151-2018</article-id><title-group><article-title>Computational efficiency for the surface renewal method</article-title><alt-title>Computational efficiency for the surface renewal method</alt-title>
      </title-group><?xmltex \runningtitle{Computational efficiency for the surface renewal method}?><?xmltex \runningauthor{J. Kelley and C. Higgins}?>
      <contrib-group>
        <contrib contrib-type="author" corresp="yes">
          <name><surname>Kelley</surname><given-names>Jason</given-names></name>
          <email>kelleyja@oregonstate.edu</email>
        <ext-link>https://orcid.org/0000-0001-5672-6642</ext-link></contrib>
        <contrib contrib-type="author" corresp="no">
          <name><surname>Higgins</surname><given-names>Chad</given-names></name>
          
        </contrib>
        <aff id="aff1"><institution>Dept. of Biological and Ecological Engineering, Oregon State University,
116 Gilmore Hall, Corvallis, OR 97333, USA</institution>
        </aff>
      </contrib-group>
      <author-notes><corresp id="corr1">Jason Kelley (kelleyja@oregonstate.edu)</corresp></author-notes><pub-date><day>16</day><month>April</month><year>2018</year></pub-date>
      
      <volume>11</volume>
      <issue>4</issue>
      <fpage>2151</fpage><lpage>2158</lpage>
      <history>
        <date date-type="received"><day>20</day><month>April</month><year>2017</year></date>
           <date date-type="rev-request"><day>1</day><month>June</month><year>2017</year></date>
           <date date-type="rev-recd"><day>5</day><month>March</month><year>2018</year></date>
           <date date-type="accepted"><day>15</day><month>March</month><year>2018</year></date>
      </history>
      <permissions>
        <copyright-statement>Copyright: © 2018 Jason Kelley</copyright-statement>
        <copyright-year>2018</copyright-year>
      <license license-type="open-access"><license-p>This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this licence, visit <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/3.0/">https://creativecommons.org/licenses/by/3.0/</ext-link></license-p></license></permissions><self-uri xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018.html">This article is available from https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018.html</self-uri><self-uri xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018.pdf">The full text article is available as a PDF file from https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018.pdf</self-uri>
      <abstract><title>Abstract</title>
    <p id="d1e86">Measuring surface fluxes using the surface renewal (SR) method requires
programmatic algorithms for tabulation, algebraic calculation, and data
quality control. A number of different methods have been published describing
automated calibration of SR parameters. Because the SR method utilizes high-frequency (10 Hz<inline-formula><mml:math id="M1" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> measurements, some steps in the flux calculation are
computationally expensive, especially when automating SR to perform many
iterations of these calculations. Several new algorithms were written that
perform the required calculations more efficiently and rapidly, and that tested
for sensitivity to length of flux averaging period, ability to measure over a
large range of lag timescales, and overall computational efficiency.
These algorithms utilize signal processing techniques and algebraic
simplifications that demonstrate simple modifications that dramatically
improve computational efficiency. The results here complement efforts by
other authors to standardize a robust and accurate computational SR method.
Increased speed of computation time grants flexibility to implementing the SR
method, opening new avenues for SR to be used in research, for applied
monitoring, and in novel field deployments.</p>
  </abstract>
    </article-meta>
  </front>
<body>
      

<sec id="Ch1.S1" sec-type="intro">
  <title>Introduction</title>
      <p id="d1e106">Originally described by Van Atta (1977), the SR model measures
vertical flux that occurs during rapid events which manifest as coherent
structures in a turbulent flow. The physical mechanisms are statistically
distinct from those described in the eddy covariance (EC) method, which has
been established as a robust and accurate method to measure flux
(Baldocchi, 2014). The surface renewal (SR) method offers several
advantages and complements the use of EC to measure flux. While EC requires
fast (10 Hz<inline-formula><mml:math id="M2" display="inline"><mml:mrow><mml:mo>+</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> measurement of both the vertical wind speed and air
temperature to measure the sensible heat flux, the SR method does not
explicitly require vertical wind speed, allowing flux to be determined
solely from rapid measurements of temperature or other scalar
concentrations. Because fewer, lower-cost sensors are required, the SR
method theoretically can be used for general applied monitoring
(Paw U et al., 2005; Spano et al., 2000). Another
advantage of SR is the ability to measure flux very near the surface or near
the top of the plant canopy (Katul et al., 1996; Paw U et
al., 1992). By taking measurements very close to the surface, the
measurement fetch is reduced and the effective “flux footprint” is smaller
(Castellví, 2012), yielding a more localized flux
estimate.</p>
      <p id="d1e119">The SR method estimates turbulent transport rates from fast response
measurements of scalar properties such as temperature or trace gas
concentration. In the SR conceptual model, rapid changes in scalar
concentration are associated with episodic displacement of near-surface air
parcels, and the surface condition is renewed from upper air. While in
proximity to the surface, the air parcels are gradually enriched or depleted
in temperature or scalar concentration by diffusion
(Castellví et al., 2002; Paw U et al., 1995). The
majority of flux from the surface is attributed to these rapid ejections,
which distinguish coherent structures in near-surface atmospheric motions
(Gao et al., 1989). The duration and amplitude of these rapid
fluctuations (visible as ramps in the scalar trace) are used to determine
the magnitude and direction of the flux density. Because of the short
duration of these events, the SR method complements spectral methods to
evaluate the flux contributions made over timescales shorter than the
typical 15–30 min averaging time used for EC
(Katul et al., 2006; Shapland et al.,
2012a, b). Rapid flux measurement will facilitate new applications, such
as spatial mapping of flux using vehicle-mounted, near-surface sensors, and
real-time monitoring systems. Mobile SR<?pagebreak page2152?> implementations and other novel
field methods could provide new insights into the complexities of sub-basin-scale hydrology, be used to validate downscaled models, and measure the
heterogeneity of flux at sub-field scales.</p>
      <p id="d1e122">The implementation of SR requires a prescribed averaging time period (on the
order of minutes) and ramp time duration (on the order of seconds), for
which a representative and statistically robust flux magnitude can be
determined. To implement SR on a moving vehicle (for instance, to map
spatially variable flux), finding a minimum averaging time is desirable to
increase the spatial resolution of the resulting map. The averaging time and
lag time used in the SR method relate the sensitivity of the scalar
measurement to the timescales at which most significant flux occurs
(Shapland et al., 2014). To find the minimum
measurement period, field studies were conducted in 2014 and 2015 over
various types of surface conditions. This required a rapid computational
method that worked over a range of different time averaging periods, and
which could implement the various calibration procedures used in the SR
method. Initial attempts to calculate flux followed methods as described by
Paw U et al. (2005) and Snyder et al. (2008).
However, implementing these methods as documented was hampered by slow
computation time, which constrained the many iterations required to
determine the minimum flux averaging period.</p>
      <p id="d1e125">Open-source software and online forums are abound with methods that utilize
advances in computing power, memory availability, and the accessibility of
multithreaded processing. These methods reduce computational overhead, and
can augment the SR technique to allow implementation with low-cost computers
and data loggers, or where remote telemetry is required. Three example
methods are shown here which streamline specific operational steps in the SR
method. The first is a method adapted from signal processing to “despike”
noisy data, a quality control technique commonly used in processing raw
meteorological data. Second is a method to compute structure functions over
multiple time lags rapidly using convolution in two dimensions. Third, an
algebraic array calculation is used to find the cubic polynomials roots used
to determine the SR ramp amplitude. By using more efficient algorithms,
rapid iterative trials can be conducted to adjust calibration parameters,
test hypotheses on the time averaging of flux calculations, and potentially
measure SR flux in real time.</p>
      <p id="d1e129">Advantages such as low-cost, relatively simple instrumentation, and easier
field implementation are all cited as motivating factors to use the SR
method (Paw U et al., 2005), yet work remains to
standardize a robust method
(French
et al., 2012; Suvočarev et al., 2014). Because sensor cost is reduced,
SR systems can be implemented to measure flux more extensively than EC, and
in situations where EC is impractical. Extensive, site-specific SR estimates
can augment the utility of sparsely located, permanent weather stations in
mapping the heterogeneity of surface flux. Examples of situations which
could benefit from low-cost flux measurements include direct crop ET
monitoring, experiments at remote field sites, and developing regions.
While SR may expand flux measurement applications, the method still requires
standardized calibration and quality control measures to establish that SR
is robust and accurate, and a critical step in developing the method is to
reduce computation costs.</p>
</sec>
<sec id="Ch1.S2">
  <title>Methods</title>
      <p id="d1e138">The example algorithms shown here improve or economize existing calculation
methods, including despiking of time series data
(Højstrup, 1993; Starkenburg et al., 2016), calculation
of structure functions (Antonia and Van Atta, 1978), and Fourier
analysis of signals, i.e., spectral analysis (Press, 2007; Stull,
1988). In each case, dramatically faster execution times were accomplished
using simple programming improvements. Most efficiency gains were a result
of code vectorization, which is the conversion of iterative looping
algorithms into array calculations. All methods described here were
implemented in the MATLAB language (The Mathworks Inc., 2016),
with the Statistics, Curve Fitting, and Signal Analysis toolboxes. MATLAB's
Profiler (<italic>profile.m</italic>) was used to track the memory demand and time to implement
calculations. Trials were conducted on multiple desktop systems; for
uniformity, analysis shown here only used test runs that were conducted on a
Windows 10 operating system running on an Intel Core<sup>™</sup> i7-3720QM
processor operating at 2.60 GHz with 16 GB of RAM. Processor clock speed was
verified using MATLAB's Profiler tool at run time, and processing times
reported are described as run time (actual observed execution time) or as
total run time, which is the sum of CPU time for all calculation threads.
Example methods are indicated by <italic>function name</italic> in italics. Abbreviated, commented scripts for the
example functions are provided in the Supplement. Example data
were collected during various field experiments from 2014–2017, using an
integrated sonic anemometer and infrared gas analyzer (IRGASON) and fine
wire thermocouples (FWTs), and were recorded at 10, 20, and 100 Hz using a
CR1000 data logger (Campbell Scientific). The data used in verifying the
methods are provided through supplementary materials online (<ext-link xlink:href="https://doi.org/10.7267/N9X34VDS" ext-link-type="DOI">10.7267/N9X34VDS</ext-link>).</p>
      <p id="d1e153">Vector and array calculations are more efficiently executed than iterative
methods; vectorization of MATLAB code entails removing loops (which are not
pre-compiled) and taking advantage of implicit parallel methods in MATLAB's
pre-compiled functions (Altman, 2015). Other significant
improvements were enabled through the fast Fourier transform by using
convolution of number arrays, rather than iterative operations. In the case
of determining ramp geometry in the SR method, Cardano's solution for
depressed cubic polynomials (published in 1545) reduces a root-finding
algorithm from an iterative numerical approximation to an exact algebraic
vector calculation. While some of the implementation<?pagebreak page2153?> of these methods are
particular to the MATLAB language, the general mathematical concepts are
universal. Although these methods were prototyped in MATLAB, the examples
shown are generally useful as solutions to challenges commonly encountered
in micrometeorology.</p>
<sec id="Ch1.S2.SS1">
  <title>Despiking of noisy data using convolution</title>

      <?xmltex \floatpos{t}?><fig id="Ch1.F1"><label>Figure 1</label><caption><p id="d1e163">The total computation time is the sum of CPU time spent on all
calculation threads. Triangles mark the mean run time for multiple runs, which
varied from 30 runs (15 min–4 h data) to 10 runs (8, 12, 24 h). The 48 h
calculation is represented by one run only. Error bars represent 1
standard deviation of all runs.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018-f01.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F2"><label>Figure 2</label><caption><p id="d1e174">Fast calculation of larger data sets is due to implicit parallel
processing via the FFT, which is readily performed by multiple simultaneous
threads. The efficiency of parallel processing is shown by a lower ratio of
run time to total thread time.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018-f02.png"/>

        </fig>

      <p id="d1e183">Despiking is the removal of erroneous or extreme data points from a time
series of sampled values. It is a common procedure when measuring
environmental parameters, especially in challenging conditions or complex
environments (Göckede et al., 2004; Starkenburg et
al., 2016). The origin of spikes in a time series may be electronic or
physical (sensor malfunction or actual physical non-errors); regardless of
the origin, spikes can be recorded as abnormally large or small values, or may be marked by
an
error flag defined in the firmware. Spikes become problematic if
they are not readily differentiated during automatic data imports
(Rebmann et al., 2012). Spikes interfere with statistical
calculations, and require some deliberate and objective method to identify,
remove, and interpolate where they exist. For instance, a data logger
program may record an error as “9999” or a character string, while MATLAB
denotes missing values in a numerical array as NaN (“not a number”).
Because normally distributed data may contain noise in a wide range of
values, robustness of the despiking algorithm is complicated by the
requirement to differentiate between “hard spikes” characteristic of
automatic flags (such as 9999) and “soft spikes”, which are realistically
valued but erroneous measurement. An objective limit for soft spikes is
usually defined as appropriate for the signal-to-noise ratio of any
particular data, usually in terms of variance during a defined windowing
period. Clearly distinguishing errors can be achieved by a static objective
criteria, by a dynamic statistic, or in a separate pre-processing operation.
Previous authors have described a variety of methods including use of
autocorrelation (Højstrup, 1993) and statistics within a moving
window (Vickers and Mahrt, 1997). A comprehensive review of
despiking methods is presented by Starkenburg et al. (2016),
with emphasis on the accuracy and statistical robustness of different
computation methods.</p>
      <p id="d1e187">Despiking is a problem of conditional low-pass filtering; consequently this
procedure can be treated as an application of signal processing which can be
performed efficiently using convolution. Mathematically, convolution can be
understood as a multiplicative function that combines a data signal with a
filter signal. For a discrete signal, the filter is a weight array which is
multiplied (in the Fourier domain) with data inside a window. In the time
domain, the window can be visualized as moving along the data array as it is
multiplied. As examples, a filter with a weight of 2 at the center of the
window, and zeros elsewhere, would amplify the data signal by a factor of
2; a filter 10 samples wide, each weighted at 0.1, generates a running
average of the data. The computational efficiency of convolution is a
product of the fast Fourier transform (FFT), which allocates memory
efficiently by a process known as bit switching. A thorough treatment of bit
switching can be found in Chapters 12 and 13 of Press (2007). To
demonstrate the increased efficiency of the FFT, two methods were used to
despike 8.5 h of 20 Hz sonic temperature data (609 139 samples). One
method utilized a <italic>for</italic> loop, following the objective criteria described by
Vickers and Mahrt (1997). The second method (shown in <italic>despike.m</italic>) used
convolution to determine a running mean and standard deviation used in the
identification of spikes. After multiple runs with different input criteria,
the first<?pagebreak page2154?> program average run time was 27 s. Using convolution, the
second program average run time was 0.2 s, decreasing run time by
approximately 99 %. While this drastic improvement may potentially
overemphasize slow compile times of <italic>for</italic> loops in MATLAB (compared to other
languages), it nonetheless demonstrates the value of the FFT in calculations
with time domain signals. Faster processing time facilitates more
comprehensive, calibrated, and accurate analysis, and can reduce data loss
compared to coarser filtering techniques.</p>
      <p id="d1e199">To test computation time uniformly, identical 10 Hz data were sub-sampled to
record lengths of 0.25 to 48 h, and multiple runs were despiked with
each sample set. Raw data were checked
for hard error flags which required converting text to number values. Data were not otherwise manipulated prior to
despiking. MATLAB Profiler was used to track the run time for all threads,
using the undocumented flag “built-in” to track pre-compiled MATLAB
functions as well as user functions,<fn id="Ch1.Footn1"><p id="d1e202"><uri>http://undocumentedmatlab.com/blog/undocumented-profiler-options-part-4</uri>
last access:  January 2017</p></fn>. The total run time for all threads was tabulated and
averaged across sets of each data length (Fig. 1). By using convolution,
despiking was 2 orders of magnitude faster for all lengths of data. To
illustrate the effect of MATLAB's built-in parallel processes, Fig. 2
shows the ratio of actual run time to total run time, indicating that the
convolution method relies on computations conducted in parallel for
processing increasingly longer data records. This benefit is directly accrued
from the efficiency of the FFT.</p>
      <p id="d1e208">With increased computation speed, automatic and accurate despiking can be
accomplished, with reduced time cost to determine any necessary calibrate
for the procedure. The various methods employed to despike data are
variously limited by computational inefficiency (Starkenburg
et al., 2016). “Phase space thresholding”, originally described by
Goring and Nikora (2002), is one such method that
Starkenburg noted as being hampered by computational costs, and by a
requirement for iterative applications to calibrate despiking parameters. By
decreasing the execution time, a similar method was developed that allows
rapid and accurate despiking of data, for the detection of both hard and
soft spikes. A phase space method allows objective criteria to be calibrated
for specific sensor data, and a visual diagnostic phase space diagram that
allows for rapid calibration of the despiking criteria (Fig. 3).
Projecting the signal into a phase space diagram reveals modes related to
sensor error, response time, and other factors leading to spikes. Using
convolution to determine moving window statistics (such as a moving mean,
standard deviation), objective identification of behaviors
characteristic to a particular sensor response. In Fig. 3, infrared gas
analyzer data (in this case, signal strength) collected at 20 Hz for 17 days
are projected with 1 min moving window statistics. Based on this
projection, a cut-off in phase space for spike identification can be
assigned, and the subsequent percentage of removed data calculated. In this
case, the sensor was repeatedly affected by dust from farm operations
(Fig. 4), yet only 1.5 % of the data were required to be removed as
spikes due to the precision of the despiking algorithm. This procedure took
less than 5 s of computation.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F3"><label>Figure 3</label><caption><p id="d1e213">Phase space diagram showing moving window statistics of IRGA
signal (17 days of 20 Hz data).</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018-f03.png"/>

        </fig>

      <?xmltex \floatpos{t}?><fig id="Ch1.F4"><label>Figure 4</label><caption><p id="d1e224">Time series showing data removed as spikes (bolded) from phase
space criteria in Fig. 3.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018-f04.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS2">
  <title>Structure function calculation</title>
      <?pagebreak page2155?><p id="d1e239">Another computationally intensive process in SR is the determination of the
second-, third-, and fifth-order structure functions. Ramps are an identifiable
feature in the measured temperature trace above any natural surface, yet
determining the characteristic ramp geometry from high-frequency data
requires an efficient, robust, and preferably automated procedure. There are
several methods to determine ramp geometry, including visual detection
(Shaw and Gao, 1989), low-pass filtering (Katul
et al., 1996; Paw U et al., 1995), wavelet analysis (Gao and Li,
1993), and structure functions (Spano et al., 1997).
Structure functions in particular provide both objective criteria to detect
ramps and an efficient method to tabulate statistics of time series data,
and use of structure functions has become the predominant method used for
SR. The general form for a structure function is
            <disp-formula id="Ch1.E1" content-type="numbered"><mml:math id="M3" display="block"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mi>N</mml:mi><mml:mo>-</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:mfrac></mml:mstyle><mml:munderover><mml:mo movablelimits="false">∑</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mrow><mml:mi>i</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>=</mml:mo><mml:mi>N</mml:mi><mml:mo>-</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:munderover><mml:msup><mml:mfenced open="[" close="]"><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfenced><mml:mi>n</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          in which a vector of length <inline-formula><mml:math id="M4" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>
is composed of differences between
sequential (temperature) samples <inline-formula><mml:math id="M5" display="inline"><mml:mrow><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula>, separated by lag <inline-formula><mml:math id="M6" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>.
The structure function <inline-formula><mml:math id="M7" display="inline"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mi>n</mml:mi></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> of order
<inline-formula><mml:math id="M8" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> for a given sample lag <inline-formula><mml:math id="M9" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> is obtained by raising the
difference vector to the <inline-formula><mml:math id="M10" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> power, summing the vector and
normalizing by <inline-formula><mml:math id="M11" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>. In a turbulent flow field, the sampled
fluctuations of scalar time series <inline-formula><mml:math id="M12" display="inline"><mml:mrow><mml:mi mathvariant="normal">Δ</mml:mi><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> are a
combination of random fluctuations and coherent structures (Van
Atta and Park, 1972). The random (incoherent) part of the signal is a
product of isotropic turbulent processes, and over an adequately large
sample this sample should have no particular directional sense or
orientation (by the isotropic definition). On the other hand, coherent
structures generate characteristic anisotropic signatures, with periods of
gradually change punctuated by sharp transitions. These sharp transitions
occur during “sweeps and ejections” of parcels enriched or depleted in
scalar concentration (heat or water trace gas), evidence of transport from
an Eulerian perspective. Structure functions can be used to decompose the
time series fluctuations into isotropic and anisotropic components and
identify the characteristic ramp amplitude and duration of coherent
structures (Van Atta, 1977). Advances in sensor response time and
processor speed have revealed an increasingly detailed picture of the
coherent ramp structures. In deriving a method to find ramp geometry,
Van Atta (1977) calculated structure functions for eight different
lags. Two decades later, increased processor power and memory size allowed
Snyder et al. (1996) to calculate structure functions on 8 Hz data for lags from 0.25 to 1.0 s, but they were unable to resolve
fluxes accurately at some measurement heights and surface roughness
conditions. Later it was realized that determining the contributions from
“imperfect ramp geometry” would require more thorough examination of ramp
durations (Chen et al., 1997a; Paw U et al.,
2005).</p>
      <p id="d1e418">For this analysis, data were used from several field experiments. The data
records used ranged in length from 8 h to over 2 months, with sampling
frequencies of 10, 20, and 100 Hz (fastest frequency for short duration
trials only). Initially, computation of structure functions with the first
method (series of nested <italic>for</italic> loops) for 3 min periods with lags up to 10 s required an average 39 s computation time. In contrast, using
the convolution method, this same calculation was accomplished in 7.6 s, an <inline-formula><mml:math id="M13" display="inline"><mml:mo>∼</mml:mo></mml:math></inline-formula> 80 % reduction in execution time. The function
<italic>strfnc.m</italic> (provided in Supplement, Sect. S1) also simultaneously time stamps the averaging period, finds
the sign of <inline-formula><mml:math id="M14" display="inline"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> (used to find flux direction), and indexes the
maximized value of <inline-formula><mml:math id="M15" display="inline"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:math></inline-formula>, preparing the data for subsequent steps in
determining flux. Using 100 Hz FWT data increased processing time using the
convolution method to 38.4 s. The loop method would be unable to
process 100 Hz data in real-time applications, and would require long
calculation time when using large continuous data records.</p>
      <p id="d1e472">For a total of <inline-formula><mml:math id="M16" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> sample lags, two-dimensional convolution is performed using
a filter matrix which is composed of <inline-formula><mml:math id="M17" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> column vectors of length <inline-formula><mml:math id="M18" display="inline"><mml:mrow><mml:mi>N</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula>: <inline-formula><mml:math id="M19" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1000</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M20" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:mn mathvariant="normal">10</mml:mn><mml:mo>-</mml:mo><mml:mn mathvariant="normal">100</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>, <inline-formula><mml:math id="M21" display="inline"><mml:mrow><mml:mo>[</mml:mo><mml:mn mathvariant="normal">1000</mml:mn><mml:mo>.</mml:mo><mml:mo>-</mml:mo><mml:mn mathvariant="normal">1</mml:mn><mml:mo>]</mml:mo></mml:mrow></mml:math></inline-formula>. Each column represents a
sample lag increasing distance. When the filter matrix is convolved with
time series data, the column vectors of the resulting matrix are vectors of
the element-wise differences <inline-formula><mml:math id="M22" display="inline"><mml:mrow><mml:mo>(</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>+</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mi>T</mml:mi><mml:mo>(</mml:mo><mml:mi>i</mml:mi><mml:mo>)</mml:mo><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> as in Eq. (1); these vectors
correspond to each sample lag in the filter. Trials of 10 Hz data using
MATLAB's Profiler showed that calculation efficiency is not accrued directly
from convolution, but by changing the order of implementation. In the
looping method, exponentiation (<inline-formula><mml:math id="M23" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">2</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">3</mml:mn><mml:mo>,</mml:mo><mml:mn mathvariant="normal">5</mml:mn></mml:mrow></mml:math></inline-formula>) is conducted on the difference
vectors for each lag separately. The accelerated exponentiation in
<italic>strfnc.m</italic> is possible by using matrix multiplication on the convolved matrix, and is
faster due to compact memory allocation of the FFT. The resulting efficiency
(calculation time for a given data size) does not depend on total data size,
but is strongly dependent on the length of the averaging period used to
partition the data (Fig. 5). In other words, the choice of averaging
period length is the most significant factor in computation time of the
maximized structure functions used to determine ramp geometry. Computation
time increases rapidly for periods shorter than 5 min. The length of
averaging time is a critical consideration in developing a rapid SR
measurement method.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F5"><label>Figure 5</label><caption><p id="d1e610">Ten iterations of the structure function calculations using a
range of averaging periods.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018-f05.png"/>

        </fig>

      <p id="d1e620">In most SR studies to determine flux, a lag time is assigned to the
structure function calculation, with only a few authors allowing for a
procedure to maximize the ratio <inline-formula><mml:math id="M24" display="inline"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:math></inline-formula>
(Shapland et al., 2014). Yet lag time has been
identified as a critical parameter in the linear calibration of ramp
geometry to calculate flux (French et al., 2012).</p>
      <p id="d1e644">Because the ideal SR calculation identifies the lag which maximizes the
ratio <inline-formula><mml:math id="M25" display="inline"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:math></inline-formula>, the <italic>strfnc.m</italic> procedure calculates structure functions for a
continuous range of lags up to an assigned maximum lag. Based on repeated
trials over a<?pagebreak page2156?> broad range of stability conditions, a short maximum lag (3–5 s) is usually adequate under unstable conditions. Following the model
of parcel residence time, this is likely a result of buoyancy and higher
flux magnitude leading to shorter ramp duration. Under stable conditions,
though, longer lags are required to detect the true maximum of the ratio
<inline-formula><mml:math id="M26" display="inline"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:math></inline-formula>, indicating that the timescale contributing to flux increases.
To evaluate sensitivity to the maximum calculated lag, the structure
functions were calculated iteratively, varying the averaging period and
maximum tested lag time (Fig. 6). Regardless of the length of the assigned
range of lags, the convolution method was between 4 and 14<inline-formula><mml:math id="M27" display="inline"><mml:mo>×</mml:mo></mml:math></inline-formula> faster than
the loop method, with short averaging periods again the largest factor in
the difference between the two methods. Using the 2-D convolution, automated
selection of a lag in a continuous time series is feasible.</p>

      <?xmltex \floatpos{t}?><fig id="Ch1.F6"><label>Figure 6</label><caption><p id="d1e701">The performance gains using convolution are more significant for
short averaging periods, regardless of maximum lag used in calculating
structure functions.</p></caption>
          <?xmltex \igopts{width=236.157874pt}?><graphic xlink:href="https://amt.copernicus.org/articles/11/2151/2018/amt-11-2151-2018-f06.png"/>

        </fig>

</sec>
<sec id="Ch1.S2.SS3">
  <title>Cardano's method for depressed cubic polynomials</title>
      <p id="d1e717">For the idealized SR method, the structure functions are retained (for each
averaging period) for the lag which maximizes the ratio <inline-formula><mml:math id="M28" display="inline"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>/</mml:mo><mml:mi>r</mml:mi></mml:mrow></mml:math></inline-formula> – this
lag is associated with the theoretical maximum contributing scale of flux.
The resulting values are used as coefficients in a cubic polynomial, the
root of which is the ramp amplitude (<inline-formula><mml:math id="M29" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>) used to calculate flux:
            <disp-formula id="Ch1.E2" content-type="numbered"><mml:math id="M30" display="block"><mml:mrow><mml:msup><mml:mi>A</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>+</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mfenced open="(" close=")"><mml:mrow><mml:mn mathvariant="normal">10</mml:mn><mml:mspace linebreak="nobreak" width="0.125em"/><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">5</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle></mml:mrow></mml:mfenced><mml:mi>A</mml:mi><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mo>+</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mn mathvariant="normal">10</mml:mn><mml:mspace width="0.125em" linebreak="nobreak"/><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          The magnitude of the real root (of 3 possible roots) is the characteristic
ramp amplitude of the scalar trace (Spano et al., 1997). The
MATLAB root-finding algorithm computes eigenvalues of a companion matrix to
approximate the solution to a <inline-formula><mml:math id="M31" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula>th-order polynomial, regarding the input
function as a vector with <inline-formula><mml:math id="M32" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn mathvariant="normal">1</mml:mn></mml:mrow></mml:math></inline-formula> elements (<italic>roots.m</italic> documentation<fn id="Ch1.Footn2"><p id="d1e860"><uri>http://www.mathworks.com/help/matlab/ref/roots.html</uri>,
last access: 9 August 2016</p></fn>).
Consequently, this function cannot be executed directly on an array. On the
other hand, an algebraic solution method can be applied to vectors. An
appropriate method for this type of cubic polynomial was found by Gerolamo
Cardano in the 1545 <italic>Ars Magna</italic>. Cardano's solution for “depressed” cubics (with no
squared term) is found by substituting A with (<inline-formula><mml:math id="M33" display="inline"><mml:mrow><mml:msup><mml:mi>m</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mi>n</mml:mi><mml:mrow><mml:mn mathvariant="normal">1</mml:mn><mml:mo>/</mml:mo><mml:mn mathvariant="normal">3</mml:mn></mml:mrow></mml:msup><mml:mo>)</mml:mo></mml:mrow></mml:math></inline-formula> into
the abbreviated equation <inline-formula><mml:math id="M34" display="inline"><mml:mrow><mml:msup><mml:mi>A</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:mi>p</mml:mi><mml:mi>A</mml:mi><mml:mo>+</mml:mo><mml:mi>q</mml:mi><mml:mo>=</mml:mo><mml:mn mathvariant="normal">0</mml:mn></mml:mrow></mml:math></inline-formula>. Expanding terms and using the
quadratic equation yields an exact solution:
            <disp-formula id="Ch1.E3" content-type="numbered"><mml:math id="M35" display="block"><mml:mrow><?xmltex \hack{\hbox\bgroup\fontsize{8.3}{8.3}\selectfont$\displaystyle}?><mml:mi>A</mml:mi><mml:mo>=</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>+</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>p</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:msqrt></mml:mrow></mml:mfenced><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mfenced open="(" close=")"><mml:mrow><mml:mo>-</mml:mo><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle><mml:mo>-</mml:mo><mml:msqrt><mml:mrow><mml:msup><mml:mfenced open="(" close=")"><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>q</mml:mi><mml:mn mathvariant="normal">2</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mfenced close=")" open="("><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mi>p</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle></mml:mfenced><mml:mn mathvariant="normal">3</mml:mn></mml:msup></mml:mrow></mml:msqrt></mml:mrow></mml:mfenced><mml:mstyle scriptlevel="+1"><mml:mfrac><mml:mn mathvariant="normal">1</mml:mn><mml:mn mathvariant="normal">3</mml:mn></mml:mfrac></mml:mstyle></mml:msup><?xmltex \hack{$\egroup}?><mml:mo>,</mml:mo></mml:mrow></mml:math></disp-formula>
          where <inline-formula><mml:math id="M36" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M37" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> are coefficients in the depressed cubic and
derived from the structure functions (Edwards and Beaver, 2015). The
function <italic>cardanos.m</italic> was adapted from a function by Bruno Luong,<fn id="Ch1.Footn3"><p id="d1e1044"><uri>https://de.mathworks.com/matlabcentral/fileexchange/27680-multiple-eigen-values-for-2x2-and-3x3-matrices</uri>
last access: 9 April 2018</p></fn>, in a reduced form for the real-valued
cases used to implement the SR method. The function output was verified
against the MATLAB function <italic>roots.m</italic> for polynomials with both positive and negative
real valued inputs (imaginary inputs are applicable to ramp parameters).
Solution for the real roots in this manner expedites determination of flux
magnitude and direction. The algebraic root-finding method simplifies and
speeds iterative application of the SR method by operating directly on
arrays.</p>
      <p id="d1e1053">Solving for the roots of this function yields a single, predominant ramp
amplitude from a given temperature trace (with units of <inline-formula><mml:math id="M38" display="inline"><mml:msup><mml:mi/><mml:mo>∘</mml:mo></mml:msup></mml:math></inline-formula>C or K).
In addition to ramp amplitude, the timescale or ramp duration must also be
determined. Van Atta (1977) suggested that ramp time <inline-formula><mml:math id="M39" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula>
should be related linearly to amplitude <inline-formula><mml:math id="M40" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula> and proposed
            <disp-formula id="Ch1.E4" content-type="numbered"><mml:math id="M41" display="block"><mml:mrow><mml:mi mathvariant="italic">τ</mml:mi><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mspace width="0.125em" linebreak="nobreak"/><mml:mo>=</mml:mo><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mspace linebreak="nobreak" width="0.125em"/><mml:mstyle displaystyle="true"><mml:mfrac style="display"><mml:mrow><mml:mo>-</mml:mo><mml:msup><mml:mi>A</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:msup><mml:mi>S</mml:mi><mml:mn mathvariant="normal">3</mml:mn></mml:msup><mml:mo>(</mml:mo><mml:mi>r</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:mfrac></mml:mstyle><mml:mo>.</mml:mo></mml:mrow></mml:math></disp-formula>
          In practice, determination of ramp time <inline-formula><mml:math id="M42" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula> from <inline-formula><mml:math id="M43" display="inline"><mml:mi>A</mml:mi></mml:math></inline-formula>
using this equation requires an empirical calibration; this calibration has
been shown to be related to surface conditions and instrumentation
(Chen et al., 1997b; Shapland et al., 2014).
Ongoing work using replicate measurements at multiple heights
(Castellvi, 2004) and frequency response calibration
(Shapland
et al., 2014; Suvočarev et al., 2014) has begun to resolve the causes
of variability in this parameter. In this study, it was found that the ratio
in Eq. (4) remains essentially constant for a given surface roughness
condition, allowing determination of <inline-formula><mml:math id="M44" display="inline"><mml:mi mathvariant="italic">τ</mml:mi></mml:math></inline-formula> algebraically. Automated
computation of Eq. (2) using the exact solution facilitates rapid
evaluation of the ramp geometry, and determining flux magnitude from ramp
geometry is a relatively simple matter of linear scaling when calibrating to
a control measure such as eddy covariance.</p>
</sec>
</sec>
<?pagebreak page2157?><sec id="Ch1.S3" sec-type="conclusions">
  <title>Conclusions</title>
      <p id="d1e1148">As with other methods for measuring flux from the surface, analytic
solutions do not always translate easily into straightforward numerical
computation, especially when working with large data records or when
calculating in real time. In applied research, custom algorithms are often
developed by individual researchers, requiring special training in
programming, significant time investment, and the motivation to use
sophisticated techniques that fully utilize available memory and processing
power. Efforts to standardize the eddy covariance method
(Aubinet et al., 2012; Baldocchi, 2014) and data quality control
(Allen et al., 2011; Foken et al., 2012) have not yet
been similarly applied to the SR method, although substantial work has been
made to validate and unify SR methods
(Castellví,
2012; Chen et al., 1997b; French et al., 2012; Suvočarev et al., 2014).
By appropriating methods common in signal processing, and by sharing open-source tools on online forums, more
sophisticated approaches can be implemented. In particular, reducing the
computational overhead of calculating flux enables broad implementation and
robust verification of the SR method. Rapid algorithms allow for automated
assignment of lag time, rather than fixed assignment, and allow flux
determinations while varying the length of flux averaging periods. These
procedures allow for comprehensive analysis of both the physical timescales
of surfaces flux, and the sensor response and uncertainty associated with
the SR derived flux. Calibration of despiking criteria can be implemented
quickly at low computational cost. In summary, efficient methods for
computing SR flux allow implementation in novel deployments such as low-cost, continuous monitoring and on moving platforms. Future work remains to
transfer efficient methods from the MATLAB development platform to open-source implementations, and to enable hardware to perform these techniques
directly for real-time applications. Reducing the cost and power requirement
of the required data loggers, computers, and telemetry will facilitate the
extensive deployment of SR sensors to aid in describing the heterogeneity of
flux across the landscape.</p>
</sec>

      
      </body>
    <back><notes notes-type="dataavailability"><title>Data availability</title>

      <p id="d1e1155">All data used in this analysis and scripts implementing the algorithms
described above are available online at  <ext-link xlink:href="https://doi.org/10.7267/N9X34VDS" ext-link-type="DOI">10.7267/N9X34VDS</ext-link> (Kelley, 2017).</p>

      <p id="d1e1161">Abbreviated scripts for the three example methods may be found in the
Supplement. Requests for phase space despiking methods can be
directed to the corresponding author.</p>
  </notes><app-group>
        <supplementary-material position="anchor"><p id="d1e1164">The supplement related to this article is available online at: <inline-supplementary-material xlink:href="https://doi.org/10.5194/amt-11-2151-2018-supplement" xlink:title="pdf">https://doi.org/10.5194/amt-11-2151-2018-supplement</inline-supplementary-material>.</p></supplementary-material>
        </app-group><notes notes-type="competinginterests"><title>Competing interests</title>

      <p id="d1e1174">The authors declare that they have no conflict of
interest.</p>
  </notes><ack><title>Acknowledgements</title><p id="d1e1180">The authors would like to acknowledge the contributions of Bruno Luong, whose function for Cardano's
solution to depressed cubic polynomials we adapted for this analysis.
<?xmltex \hack{\newline}?><?xmltex \hack{\newline}?>
Edited by: Andrew Sayer<?xmltex \hack{\newline}?>
Reviewed by: three anonymous referees</p></ack><ref-list>
    <title>References</title>

      <ref id="bib1.bib1"><label>1</label><mixed-citation>
Allen, R., Pereira, L. S., Howell, T. A., and Jensen, M. E.:
Evapotranspiration information reporting: I. Factors governing measurement
accuracy, Agr. Water Manage., 98, 899–920, 2011.</mixed-citation></ref>
      <ref id="bib1.bib2"><label>2</label><mixed-citation>
Altman, Y.: Accelerating Matlab Performance, CRC Press, 2015.</mixed-citation></ref>
      <ref id="bib1.bib3"><label>3</label><mixed-citation>
Antonia, R. A. and Van Atta, C. W.: Structure functions of temperature
fluctuations in turbulent shear flows, J. Fluid Mech., 84,
561–580, 1978.</mixed-citation></ref>
      <ref id="bib1.bib4"><label>4</label><mixed-citation>
Aubinet, M., Vesala, T., and Papale, D.: Eddy covariance: a practical guide
to measurement and data analysis, Springer Science &amp; Business Media,
2012.</mixed-citation></ref>
      <ref id="bib1.bib5"><label>5</label><mixed-citation>
Baldocchi, D.: Measuring fluxes of trace gases and energy between ecosystems
and the atmosphere–the state and future of the eddy covariance method,
Glob. Change Biol., 20, 3600–3609, 2014.</mixed-citation></ref>
      <ref id="bib1.bib6"><label>6</label><mixed-citation>Castellvi, F.: Combining surface renewal analysis and similarity theory: a
new approach for estimating sensible heat flux, Water Resour. Res.,
40,
<ext-link xlink:href="https://doi.org/10.1029/2003WR002677" ext-link-type="DOI">10.1029/2003WR002677</ext-link>, 2004.</mixed-citation></ref>
      <ref id="bib1.bib7"><label>7</label><mixed-citation>Castellví, F.: Fetch requirements using surface renewal analysis for
estimating scalar surface fluxes from measurements in the inertial sublayer,
Agr. Forest Meteorol., 152, 233–239,
<ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2011.10.004" ext-link-type="DOI">10.1016/j.agrformet.2011.10.004</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib8"><label>8</label><mixed-citation>
Castellví, F., Perez, P. J., and Ibañez, M.: A method based on
high-frequency temperature measurements to estimate the sensible heat flux
avoiding the height dependence, Water Resour. Res., 38, 20-1–20-9,
2002.</mixed-citation></ref>
      <ref id="bib1.bib9"><label>9</label><mixed-citation>Chen, W., Novak, M., Black, T. A., and Lee, X.: Coherent eddies and
temperature structure functions for three contrasting surfaces. Part I: Ramp
model with finite microfront time, Bound.-Lay. Meteorol., 84,
99–124, <ext-link xlink:href="https://doi.org/10.1023/A:1000338817250" ext-link-type="DOI">10.1023/A:1000338817250</ext-link>, 1997a.</mixed-citation></ref>
      <ref id="bib1.bib10"><label>10</label><mixed-citation>Chen, W., Novak, M., Black, T. A., and Lee, X.: Coherent eddies and
temperature structure functions for three contrasting surfaces. Part II:
Renewal model for sensible heat flux, Bound.-Lay. Meteorol., 84,
125–147, <ext-link xlink:href="https://doi.org/10.1023/A:1000342918158" ext-link-type="DOI">10.1023/A:1000342918158</ext-link>, 1997b.</mixed-citation></ref>
      <ref id="bib1.bib11"><label>11</label><mixed-citation>Edwards, A. C. and Beaver, J. M.: Investigating Cardano's Irreducible Case, Proceedings of the National Conference on
Undergraduate Research (NCUR) 2015, Eastern Washington University, April 16–18 2015, available at:
<uri>http://www.ncurproceedings.org/ojs/index.php/NCUR2015/article/view/1478</uri> (last access: 9 April 2018), 2015.</mixed-citation></ref>
      <ref id="bib1.bib12"><label>12</label><mixed-citation>
Foken, T., Leuning, R., Oncley, S. R., Mauder, M., and Aubinet, M.:
Corrections and data quality control,  Eddy Covariance,  85–131,
Springer, 2012.</mixed-citation></ref>
      <?pagebreak page2158?><ref id="bib1.bib13"><label>13</label><mixed-citation>French, A. N., Alfieri, J. G., Kustas, W. P., Prueger, J. H., Hipps, L. E.,
Chávez, J. L., Evett, S. R., Howell, T. A., Gowda, P. H., Hunsaker, D.
J., and Thorp, K. R.: Estimation of surface energy fluxes using surface
renewal and flux variance techniques over an advective irrigated
agricultural site, Adv.  Water Resour., 50, 91–105,
<ext-link xlink:href="https://doi.org/10.1016/j.advwatres.2012.07.007" ext-link-type="DOI">10.1016/j.advwatres.2012.07.007</ext-link>, 2012.</mixed-citation></ref>
      <ref id="bib1.bib14"><label>14</label><mixed-citation>
Gao, W. and Li, B. L.: Wavelet analysis of coherent structures at the
atmosphere-forest interface, J. Appl. Meteorol., 32,
1717–1725, 1993.</mixed-citation></ref>
      <ref id="bib1.bib15"><label>15</label><mixed-citation>
Gao, W., Shaw, R. H., and Paw U, K. T.: Observation of organized structure in
turbulent flow within and above a forest canopy, Bound.-Lay. Meteorol.,
47, 349–377, 1989.</mixed-citation></ref>
      <ref id="bib1.bib16"><label>16</label><mixed-citation>
Göckede, M., Rebmann, C., and Foken, T.: A combination of quality
assessment tools for eddy covariance measurements with footprint modelling
for the characterisation of complex sites, Agr. Forest Meteorol., 127, 175–188, 2004.</mixed-citation></ref>
      <ref id="bib1.bib17"><label>17</label><mixed-citation>Goring, D. G. and Nikora, V. I.: Despiking Acoustic Doppler Velocimeter
Data, J. Hydraul. Eng., 128, 117–126,
<ext-link xlink:href="https://doi.org/10.1061/(ASCE)0733-9429(2002)128:1(117)" ext-link-type="DOI">10.1061/(ASCE)0733-9429(2002)128:1(117)</ext-link>, 2002.</mixed-citation></ref>
      <ref id="bib1.bib18"><label>18</label><mixed-citation>Højstrup, J.: A statistical data screening procedure, Meas. Sci. Technol., 4, 153–157, <ext-link xlink:href="https://doi.org/10.1088/0957-0233/4/2/003" ext-link-type="DOI">10.1088/0957-0233/4/2/003</ext-link>, 1993.</mixed-citation></ref>
      <ref id="bib1.bib19"><label>19</label><mixed-citation>
Katul, G., Hsieh, C.-I., Oren, R., Ellsworth, D., and Phillips, N.: Latent
and sensible heat flux predictions from a uniform pine forest using surface
renewal and flux variance methods, Bound.-Lay. Meteorol., 80,
249–282, 1996.</mixed-citation></ref>
      <ref id="bib1.bib20"><label>20</label><mixed-citation>
Katul, G., Porporato, A., Cava, D., and Siqueira, M.: An analysis of
intermittency, scaling, and surface renewal in atmospheric surface layer
turbulence, Physica D, 215, 117–126, 2006.</mixed-citation></ref>
      <ref id="bib1.bib21"><label>21</label><mixed-citation>Kelley, J.: Demonstration data for computational efficiency in surface renewal analysis, OSU Libraries, <ext-link xlink:href="https://doi.org/10.7267/N9X34VDS" ext-link-type="DOI">10.7267/N9X34VDS</ext-link>,
2017.</mixed-citation></ref>
      <ref id="bib1.bib22"><label>22</label><mixed-citation>Paw U, K. T., Brunet, Y., Collineau, S., Shaw, R. H., Maitani, T., Qiu, J.,
and Hipps, L.: On coherent structures in turbulence above and within
agricultural plant canopies, Agr. Forest Meteorol., 61,
55–68, <ext-link xlink:href="https://doi.org/10.1016/0168-1923(92)90025-Y" ext-link-type="DOI">10.1016/0168-1923(92)90025-Y</ext-link>, 1992.</mixed-citation></ref>
      <ref id="bib1.bib23"><label>23</label><mixed-citation>Paw U, K. T., Qiu, J., Su, H.-B., Watanabe, T., and Brunet, Y.: Surface
renewal analysis: a new method to obtain scalar fluxes, Agr. Forest Meteorol., 74, 119–137, <ext-link xlink:href="https://doi.org/10.1016/0168-1923(94)02182-J" ext-link-type="DOI">10.1016/0168-1923(94)02182-J</ext-link>,
1995.</mixed-citation></ref>
      <ref id="bib1.bib24"><label>24</label><mixed-citation>Paw U, K. T., Snyder, R. L., Spano, D., and Su, H.-B.: Surface Renewal
Estimates of Scalar Exchange, in Micrometeorology in Agricultural Systems,
American Society of Agronomy, Crop Science Society of America,
and Soil Science Society of America, Madison, WI,
455–483, <ext-link xlink:href="https://doi.org/10.2134/agronmonogr47.c20" ext-link-type="DOI">10.2134/agronmonogr47.c20</ext-link>, 2005.</mixed-citation></ref>
      <ref id="bib1.bib25"><label>25</label><mixed-citation>
Press, W. H. (Ed.): Numerical recipes: the art of scientific computing, 3rd
Edn., Cambridge University Press, Cambridge, UK, New York, 2007.</mixed-citation></ref>
      <ref id="bib1.bib26"><label>26</label><mixed-citation>
Rebmann, C., Kolle, O., Heinesch, B., Queck, R., Ibrom, A., and Aubinet, M.:
Data acquisition and flux calculations, Eddy Covariance,  59–83,
Springer, 2012.</mixed-citation></ref>
      <ref id="bib1.bib27"><label>27</label><mixed-citation>Shapland, T. M., McElrone, A. J., Snyder, R. L., and Paw U, K. T.: Structure
Function Analysis of Two-Scale Scalar Ramps. Part I: Theory and Modelling,
Bound.-Lay. Meteorol., 145, 5–25, <ext-link xlink:href="https://doi.org/10.1007/s10546-012-9742-5" ext-link-type="DOI">10.1007/s10546-012-9742-5</ext-link>,
2012a.
</mixed-citation></ref><?xmltex \hack{\newpage}?>
      <ref id="bib1.bib28"><label>28</label><mixed-citation>Shapland, T. M., McElrone, A. J., Snyder, R. L., and Paw U, K. T.: Structure
Function Analysis of Two-Scale Scalar Ramps. Part II: Ramp Characteristics
and Surface Renewal Flux Estimation, Bound.-Lay. Meteorol., 145,
27–44, <ext-link xlink:href="https://doi.org/10.1007/s10546-012-9740-7" ext-link-type="DOI">10.1007/s10546-012-9740-7</ext-link>, 2012b.</mixed-citation></ref>
      <ref id="bib1.bib29"><label>29</label><mixed-citation>Shapland, T. M., Snyder, R. L., Paw U, K. T., and McElrone, A. J.:
Thermocouple frequency response compensation leads to convergence of the
surface renewal alpha calibration, Agr. Forest Meteorol.,
189–190, 36–47, <ext-link xlink:href="https://doi.org/10.1016/j.agrformet.2014.01.008" ext-link-type="DOI">10.1016/j.agrformet.2014.01.008</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib30"><label>30</label><mixed-citation>
Shaw, R. H. and Gao, W.: Detection of temperature ramps and flow structures
at a deciduous forest site, Agr. Forest Meteorol., 47,
123–138, 1989.</mixed-citation></ref>
      <ref id="bib1.bib31"><label>31</label><mixed-citation>
Snyder, R. L., Spano, D., and Pawu, K. T.: Surface renewal analysis for
sensible and latent heat flux density, Bound.-Lay. Meteorol., 77,
249–266, 1996.</mixed-citation></ref>
      <ref id="bib1.bib32"><label>32</label><mixed-citation>
Snyder, R. L., Spano, D., Duce, P., Paw U, K. T., and Rivera, M.: Surface
renewal estimation of pasture evapotranspiration, J. Irrig. Drain. E., 134, 716–721, 2008.</mixed-citation></ref>
      <ref id="bib1.bib33"><label>33</label><mixed-citation>
Spano, D., Snyder, R. L., Duce, P., and Paw U, K. T.: Surface renewal
analysis for sensible heat flux density using structure functions,
Agr. Forest Meteorol., 86, 259–271, 1997.</mixed-citation></ref>
      <ref id="bib1.bib34"><label>34</label><mixed-citation>
Spano, D., Snyder, R. L., and Duce, P.: Estimating sensible and latent heat
flux densities from grapevine canopies using surface renewal, Agr. Forest Meteorol., 104, 171–183, 2000.</mixed-citation></ref>
      <ref id="bib1.bib35"><label>35</label><mixed-citation>Starkenburg, D., Metzger, S., Fochesatto, G. J., Alfieri, J. G., Gens, R.,
Prakash, A., and Cristóbal, J.: Assessment of Despiking Methods for
Turbulence Data in Micrometeorology, J. Atmos. Ocean. Tech., 33, 2001–2013, <ext-link xlink:href="https://doi.org/10.1175/JTECH-D-15-0154.1" ext-link-type="DOI">10.1175/JTECH-D-15-0154.1</ext-link>, 2016.</mixed-citation></ref>
      <ref id="bib1.bib36"><label>36</label><mixed-citation>
Stull, R. B.: An introduction to boundary layer meteorology, Springer,
1988.</mixed-citation></ref>
      <ref id="bib1.bib37"><label>37</label><mixed-citation>Suvočarev, K., Shapland, T. M., Snyder, R. L., and Martínez-Cob, A.:
Surface renewal performance to independently estimate sensible and latent
heat fluxes in heterogeneous crop surfaces, J. Hydrol., 509,
83–93, <ext-link xlink:href="https://doi.org/10.1016/j.jhydrol.2013.11.025" ext-link-type="DOI">10.1016/j.jhydrol.2013.11.025</ext-link>, 2014.</mixed-citation></ref>
      <ref id="bib1.bib38"><label>38</label><mixed-citation>
The Mathworks Inc.: Matlab R2016b, The MathWorks Inc., Natick, MA, 2016.</mixed-citation></ref>
      <ref id="bib1.bib39"><label>39</label><mixed-citation>
Van Atta, C. W.: Effect of coherent structures on structure functions of
temperature in the atmospheric boundary layer, Arch. Mech., 29, 161–171, 1977.</mixed-citation></ref>
      <ref id="bib1.bib40"><label>40</label><mixed-citation>
Van Atta, C. W. and Park, J.: Statistical self-similarity and inertial
subrange turbulence, in: Statistical Models and Turbulence,  402–426,
Springer, 1972.</mixed-citation></ref>
      <ref id="bib1.bib41"><label>41</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-list></back>
    <!--<article-title-html>Computational efficiency for the surface renewal method</article-title-html>
<abstract-html><p>Measuring surface fluxes using the surface renewal (SR) method requires
programmatic algorithms for tabulation, algebraic calculation, and data
quality control. A number of different methods have been published describing
automated calibration of SR parameters. Because the SR method utilizes high-frequency (10&thinsp;Hz+) measurements, some steps in the flux calculation are
computationally expensive, especially when automating SR to perform many
iterations of these calculations. Several new algorithms were written that
perform the required calculations more efficiently and rapidly, and that tested
for sensitivity to length of flux averaging period, ability to measure over a
large range of lag timescales, and overall computational efficiency.
These algorithms utilize signal processing techniques and algebraic
simplifications that demonstrate simple modifications that dramatically
improve computational efficiency. The results here complement efforts by
other authors to standardize a robust and accurate computational SR method.
Increased speed of computation time grants flexibility to implementing the SR
method, opening new avenues for SR to be used in research, for applied
monitoring, and in novel field deployments.</p></abstract-html>
<ref-html id="bib1.bib1"><label>1</label><mixed-citation>
Allen, R., Pereira, L. S., Howell, T. A., and Jensen, M. E.:
Evapotranspiration information reporting: I. Factors governing measurement
accuracy, Agr. Water Manage., 98, 899–920, 2011.
</mixed-citation></ref-html>
<ref-html id="bib1.bib2"><label>2</label><mixed-citation>
Altman, Y.: Accelerating Matlab Performance, CRC Press, 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib3"><label>3</label><mixed-citation>
Antonia, R. A. and Van Atta, C. W.: Structure functions of temperature
fluctuations in turbulent shear flows, J. Fluid Mech., 84,
561–580, 1978.
</mixed-citation></ref-html>
<ref-html id="bib1.bib4"><label>4</label><mixed-citation>
Aubinet, M., Vesala, T., and Papale, D.: Eddy covariance: a practical guide
to measurement and data analysis, Springer Science &amp; Business Media,
2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib5"><label>5</label><mixed-citation>
Baldocchi, D.: Measuring fluxes of trace gases and energy between ecosystems
and the atmosphere–the state and future of the eddy covariance method,
Glob. Change Biol., 20, 3600–3609, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib6"><label>6</label><mixed-citation>
Castellvi, F.: Combining surface renewal analysis and similarity theory: a
new approach for estimating sensible heat flux, Water Resour. Res.,
40,
<a href="https://doi.org/10.1029/2003WR002677" target="_blank">https://doi.org/10.1029/2003WR002677</a>, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib7"><label>7</label><mixed-citation>
Castellví, F.: Fetch requirements using surface renewal analysis for
estimating scalar surface fluxes from measurements in the inertial sublayer,
Agr. Forest Meteorol., 152, 233–239,
<a href="https://doi.org/10.1016/j.agrformet.2011.10.004" target="_blank">https://doi.org/10.1016/j.agrformet.2011.10.004</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib8"><label>8</label><mixed-citation>
Castellví, F., Perez, P. J., and Ibañez, M.: A method based on
high-frequency temperature measurements to estimate the sensible heat flux
avoiding the height dependence, Water Resour. Res., 38, 20-1–20-9,
2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib9"><label>9</label><mixed-citation>
Chen, W., Novak, M., Black, T. A., and Lee, X.: Coherent eddies and
temperature structure functions for three contrasting surfaces. Part I: Ramp
model with finite microfront time, Bound.-Lay. Meteorol., 84,
99–124, <a href="https://doi.org/10.1023/A:1000338817250" target="_blank">https://doi.org/10.1023/A:1000338817250</a>, 1997a.
</mixed-citation></ref-html>
<ref-html id="bib1.bib10"><label>10</label><mixed-citation>
Chen, W., Novak, M., Black, T. A., and Lee, X.: Coherent eddies and
temperature structure functions for three contrasting surfaces. Part II:
Renewal model for sensible heat flux, Bound.-Lay. Meteorol., 84,
125–147, <a href="https://doi.org/10.1023/A:1000342918158" target="_blank">https://doi.org/10.1023/A:1000342918158</a>, 1997b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib11"><label>11</label><mixed-citation>
Edwards, A. C. and Beaver, J. M.: Investigating Cardano's Irreducible Case, Proceedings of the National Conference on
Undergraduate Research (NCUR) 2015, Eastern Washington University, April 16–18 2015, available at:
<a href="http://www.ncurproceedings.org/ojs/index.php/NCUR2015/article/view/1478" target="_blank">http://www.ncurproceedings.org/ojs/index.php/NCUR2015/article/view/1478</a> (last access: 9 April 2018), 2015.
</mixed-citation></ref-html>
<ref-html id="bib1.bib12"><label>12</label><mixed-citation>
Foken, T., Leuning, R., Oncley, S. R., Mauder, M., and Aubinet, M.:
Corrections and data quality control,  Eddy Covariance,  85–131,
Springer, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib13"><label>13</label><mixed-citation>
French, A. N., Alfieri, J. G., Kustas, W. P., Prueger, J. H., Hipps, L. E.,
Chávez, J. L., Evett, S. R., Howell, T. A., Gowda, P. H., Hunsaker, D.
J., and Thorp, K. R.: Estimation of surface energy fluxes using surface
renewal and flux variance techniques over an advective irrigated
agricultural site, Adv.  Water Resour., 50, 91–105,
<a href="https://doi.org/10.1016/j.advwatres.2012.07.007" target="_blank">https://doi.org/10.1016/j.advwatres.2012.07.007</a>, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib14"><label>14</label><mixed-citation>
Gao, W. and Li, B. L.: Wavelet analysis of coherent structures at the
atmosphere-forest interface, J. Appl. Meteorol., 32,
1717–1725, 1993.
</mixed-citation></ref-html>
<ref-html id="bib1.bib15"><label>15</label><mixed-citation>
Gao, W., Shaw, R. H., and Paw U, K. T.: Observation of organized structure in
turbulent flow within and above a forest canopy, Bound.-Lay. Meteorol.,
47, 349–377, 1989.
</mixed-citation></ref-html>
<ref-html id="bib1.bib16"><label>16</label><mixed-citation>
Göckede, M., Rebmann, C., and Foken, T.: A combination of quality
assessment tools for eddy covariance measurements with footprint modelling
for the characterisation of complex sites, Agr. Forest Meteorol., 127, 175–188, 2004.
</mixed-citation></ref-html>
<ref-html id="bib1.bib17"><label>17</label><mixed-citation>
Goring, D. G. and Nikora, V. I.: Despiking Acoustic Doppler Velocimeter
Data, J. Hydraul. Eng., 128, 117–126,
<a href="https://doi.org/10.1061/(ASCE)0733-9429(2002)128:1(117)" target="_blank">https://doi.org/10.1061/(ASCE)0733-9429(2002)128:1(117)</a>, 2002.
</mixed-citation></ref-html>
<ref-html id="bib1.bib18"><label>18</label><mixed-citation>
Højstrup, J.: A statistical data screening procedure, Meas. Sci. Technol., 4, 153–157, <a href="https://doi.org/10.1088/0957-0233/4/2/003" target="_blank">https://doi.org/10.1088/0957-0233/4/2/003</a>, 1993.
</mixed-citation></ref-html>
<ref-html id="bib1.bib19"><label>19</label><mixed-citation>
Katul, G., Hsieh, C.-I., Oren, R., Ellsworth, D., and Phillips, N.: Latent
and sensible heat flux predictions from a uniform pine forest using surface
renewal and flux variance methods, Bound.-Lay. Meteorol., 80,
249–282, 1996.
</mixed-citation></ref-html>
<ref-html id="bib1.bib20"><label>20</label><mixed-citation>
Katul, G., Porporato, A., Cava, D., and Siqueira, M.: An analysis of
intermittency, scaling, and surface renewal in atmospheric surface layer
turbulence, Physica D, 215, 117–126, 2006.
</mixed-citation></ref-html>
<ref-html id="bib1.bib21"><label>21</label><mixed-citation>
Kelley, J.: Demonstration data for computational efficiency in surface renewal analysis, OSU Libraries, <a href="https://doi.org/10.7267/N9X34VDS" target="_blank">https://doi.org/10.7267/N9X34VDS</a>,
2017.
</mixed-citation></ref-html>
<ref-html id="bib1.bib22"><label>22</label><mixed-citation>
Paw U, K. T., Brunet, Y., Collineau, S., Shaw, R. H., Maitani, T., Qiu, J.,
and Hipps, L.: On coherent structures in turbulence above and within
agricultural plant canopies, Agr. Forest Meteorol., 61,
55–68, <a href="https://doi.org/10.1016/0168-1923(92)90025-Y" target="_blank">https://doi.org/10.1016/0168-1923(92)90025-Y</a>, 1992.
</mixed-citation></ref-html>
<ref-html id="bib1.bib23"><label>23</label><mixed-citation>
Paw U, K. T., Qiu, J., Su, H.-B., Watanabe, T., and Brunet, Y.: Surface
renewal analysis: a new method to obtain scalar fluxes, Agr. Forest Meteorol., 74, 119–137, <a href="https://doi.org/10.1016/0168-1923(94)02182-J" target="_blank">https://doi.org/10.1016/0168-1923(94)02182-J</a>,
1995.
</mixed-citation></ref-html>
<ref-html id="bib1.bib24"><label>24</label><mixed-citation>
Paw U, K. T., Snyder, R. L., Spano, D., and Su, H.-B.: Surface Renewal
Estimates of Scalar Exchange, in Micrometeorology in Agricultural Systems,
American Society of Agronomy, Crop Science Society of America,
and Soil Science Society of America, Madison, WI,
455–483, <a href="https://doi.org/10.2134/agronmonogr47.c20" target="_blank">https://doi.org/10.2134/agronmonogr47.c20</a>, 2005.
</mixed-citation></ref-html>
<ref-html id="bib1.bib25"><label>25</label><mixed-citation>
Press, W. H. (Ed.): Numerical recipes: the art of scientific computing, 3rd
Edn., Cambridge University Press, Cambridge, UK, New York, 2007.
</mixed-citation></ref-html>
<ref-html id="bib1.bib26"><label>26</label><mixed-citation>
Rebmann, C., Kolle, O., Heinesch, B., Queck, R., Ibrom, A., and Aubinet, M.:
Data acquisition and flux calculations, Eddy Covariance,  59–83,
Springer, 2012.
</mixed-citation></ref-html>
<ref-html id="bib1.bib27"><label>27</label><mixed-citation>
Shapland, T. M., McElrone, A. J., Snyder, R. L., and Paw U, K. T.: Structure
Function Analysis of Two-Scale Scalar Ramps. Part I: Theory and Modelling,
Bound.-Lay. Meteorol., 145, 5–25, <a href="https://doi.org/10.1007/s10546-012-9742-5" target="_blank">https://doi.org/10.1007/s10546-012-9742-5</a>,
2012a.

</mixed-citation></ref-html>
<ref-html id="bib1.bib28"><label>28</label><mixed-citation>
Shapland, T. M., McElrone, A. J., Snyder, R. L., and Paw U, K. T.: Structure
Function Analysis of Two-Scale Scalar Ramps. Part II: Ramp Characteristics
and Surface Renewal Flux Estimation, Bound.-Lay. Meteorol., 145,
27–44, <a href="https://doi.org/10.1007/s10546-012-9740-7" target="_blank">https://doi.org/10.1007/s10546-012-9740-7</a>, 2012b.
</mixed-citation></ref-html>
<ref-html id="bib1.bib29"><label>29</label><mixed-citation>
Shapland, T. M., Snyder, R. L., Paw U, K. T., and McElrone, A. J.:
Thermocouple frequency response compensation leads to convergence of the
surface renewal alpha calibration, Agr. Forest Meteorol.,
189–190, 36–47, <a href="https://doi.org/10.1016/j.agrformet.2014.01.008" target="_blank">https://doi.org/10.1016/j.agrformet.2014.01.008</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib30"><label>30</label><mixed-citation>
Shaw, R. H. and Gao, W.: Detection of temperature ramps and flow structures
at a deciduous forest site, Agr. Forest Meteorol., 47,
123–138, 1989.
</mixed-citation></ref-html>
<ref-html id="bib1.bib31"><label>31</label><mixed-citation>
Snyder, R. L., Spano, D., and Pawu, K. T.: Surface renewal analysis for
sensible and latent heat flux density, Bound.-Lay. Meteorol., 77,
249–266, 1996.
</mixed-citation></ref-html>
<ref-html id="bib1.bib32"><label>32</label><mixed-citation>
Snyder, R. L., Spano, D., Duce, P., Paw U, K. T., and Rivera, M.: Surface
renewal estimation of pasture evapotranspiration, J. Irrig. Drain. E., 134, 716–721, 2008.
</mixed-citation></ref-html>
<ref-html id="bib1.bib33"><label>33</label><mixed-citation>
Spano, D., Snyder, R. L., Duce, P., and Paw U, K. T.: Surface renewal
analysis for sensible heat flux density using structure functions,
Agr. Forest Meteorol., 86, 259–271, 1997.
</mixed-citation></ref-html>
<ref-html id="bib1.bib34"><label>34</label><mixed-citation>
Spano, D., Snyder, R. L., and Duce, P.: Estimating sensible and latent heat
flux densities from grapevine canopies using surface renewal, Agr. Forest Meteorol., 104, 171–183, 2000.
</mixed-citation></ref-html>
<ref-html id="bib1.bib35"><label>35</label><mixed-citation>
Starkenburg, D., Metzger, S., Fochesatto, G. J., Alfieri, J. G., Gens, R.,
Prakash, A., and Cristóbal, J.: Assessment of Despiking Methods for
Turbulence Data in Micrometeorology, J. Atmos. Ocean. Tech., 33, 2001–2013, <a href="https://doi.org/10.1175/JTECH-D-15-0154.1" target="_blank">https://doi.org/10.1175/JTECH-D-15-0154.1</a>, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib36"><label>36</label><mixed-citation>
Stull, R. B.: An introduction to boundary layer meteorology, Springer,
1988.
</mixed-citation></ref-html>
<ref-html id="bib1.bib37"><label>37</label><mixed-citation>
Suvočarev, K., Shapland, T. M., Snyder, R. L., and Martínez-Cob, A.:
Surface renewal performance to independently estimate sensible and latent
heat fluxes in heterogeneous crop surfaces, J. Hydrol., 509,
83–93, <a href="https://doi.org/10.1016/j.jhydrol.2013.11.025" target="_blank">https://doi.org/10.1016/j.jhydrol.2013.11.025</a>, 2014.
</mixed-citation></ref-html>
<ref-html id="bib1.bib38"><label>38</label><mixed-citation>
The Mathworks Inc.: Matlab R2016b, The MathWorks Inc., Natick, MA, 2016.
</mixed-citation></ref-html>
<ref-html id="bib1.bib39"><label>39</label><mixed-citation>
Van Atta, C. W.: Effect of coherent structures on structure functions of
temperature in the atmospheric boundary layer, Arch. Mech., 29, 161–171, 1977.
</mixed-citation></ref-html>
<ref-html id="bib1.bib40"><label>40</label><mixed-citation>
Van Atta, C. W. and Park, J.: Statistical self-similarity and inertial
subrange turbulence, in: Statistical Models and Turbulence,  402–426,
Springer, 1972.
</mixed-citation></ref-html>
<ref-html id="bib1.bib41"><label>41</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>--></article>
