1 Introduction

Heat and tracer-gas (such as \(\hbox {H}_{2}\hbox {O}\) and \(\hbox {CO}_{2}\)) fluxes are now measured worldwide, using sonic anemo-thermometers with gas analyzers. Research has been extended to various ecosystems, including non-ideal terrain (Lee et al. 2004). Coordinate rotation of three-dimensional wind velocity components is one of the most significant processes in flux calculations. Coordinate rotation has helped interpret fluxes acquired over complex terrain, at least since McMillen (1988). His system is called the “triple rotation”, in which roll rotation is executed for \(\overline{v_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }} = 0\) after yaw and pitch (or horizontal and vertical) rotations, to achieve \(\overline{v_\mathrm{r}}= \overline{w_\mathrm{r}} =0\). Here, \(v\) and \(w\) are lateral and vertical velocity components of the main flow vector \((u)\), subscript \(r\) is the rotated component, and the overbar and prime denote the mean and fluctuation over a certain averaging time. To attain \(\overline{w_\mathrm{r}} =0\), the mean vertical angle for the sonic anemo-thermometer \((=\tan ^{-1}\left( {\overline{w_\mathrm{s}} / \overline{U_\mathrm{s} }} \right) \), in which \(\overline{U_\mathrm{s}} =( \overline{u_\mathrm{s}} ^{2}+\overline{v_\mathrm{s}} ^{2})^{1/2}\) and subscript \(s\) is the wind-speed component obtained from the sonic anemo-thermometer, the same as “angle of attack” in Nakai et al. 2006), is applied as the pitch angle in the “double rotation” and triple rotation. The effectiveness of the final roll rotation for an actual complex flow has been suspect (e.g. Kaimal 1988; Finnigan 2004), and the double rotation was the most used coordinate rotation approach until a decade ago (e.g. Aubinet et al. 2000). However, applying double rotation or triple rotation occasionally leads to an over-rotation error in weak winds, when \(\overline{w_\mathrm{s}} \), the average vertical wind-speed component measured by the sonic anemo-thermometer, is large relative to the average horizontal components \((= \overline{U_\mathrm{s}})\). This error, which is produced by an unrealistically large rotation angle, becomes more significant if \(w_\mathrm{s}\) includes an instrumental offset error.

Wilczak et al. (2001) elaborated a coordinate system based on three-dimensional wind velocity components along the sonic anemo-thermometer orthogonal axes, obtained over a period of weeks or longer. This system is called the planar fit. In the system, vertical fluxes are along the normal vector of the fitting planar, which is determined by \(\overline{u_\mathrm{s}}\), \(\overline{v_\mathrm{s}}\), and \(\overline{w_\mathrm{s}}\) obtained during a period, via the least-squares method,

$$\begin{aligned} \overline{w_\mathrm{s}} =a_\mathrm{p0} +a_\mathrm{p1} \overline{u_\mathrm{s} } +a_\mathrm{p2} \overline{v_\mathrm{s} } , \end{aligned}$$
(1)

where \(a_\mathrm{p0}\), \(a_\mathrm{p1}\), and \(a_\mathrm{p2}\) are regression coefficients. These coefficients regulate the rotated plane, and the wind component vertical to the plane (\(w_\mathrm{r}\) on the planar) is used for calculating the vertical fluxes. The planar fit removes over-rotation error from the fluxes, partly because it is a fixed system and the rotation angle is unaffected by temporal wind conditions, and partly because \(a_\mathrm{p0}\) in Eq. 1, which includes the \(w_\mathrm{s}\) offset error if it is constant, is eliminated from the flux calculation. Thus, the planar fit has been tested in many studies and has been proven a more stable system for estimating fluxes than that of double rotation (e.g. Turnipseed et al. 2003; Göckede et al. 2008). The single fitting planar was adopted, as the planar fit was originally developed for the sonic anemo-thermometer tilt correction. Meanwhile, the characteristics of flow distortion due to complex terrain and/or by instruments and attachments may depend on flow direction; thus, it is reasonable that the single planar may be inadequate for correcting such effects. The approach of Sun (2007), which was aimed at the appropriate interpretation of nighttime vertical advection from multiple sonic anemo-thermometer data, had a similar issue. Some coordinate systems have been proposed on the assumption that non-advective vertical flow should reflect the slope gradient around the observation site. However, it is difficult to define such a gradient value over very complex terrain with undulations and various slope angles.

This situation has motivated the development of other fixed coordinate rotation systems. Several fitting planes based on the planar fit concept have been applied to various wind direction sectors, corresponding to terrain (e.g. Yuan et al. 2007; Mildenberger et al. 2009; Siebicke et al. 2012) or instrumental (e.g. Ono et al. 2008; Li et al. 2013) effects on airflow from each direction. The system was first proposed by Paw et al. (2000) and was called the “sector (-wise) planar fit” by Yuan et al. (2011) and Siebicke et al. (2012). This system makes it possible to avoid the offset error effect from the estimated flux values, as does the planar fit, although the offset value \(a_\mathrm{p0}\) in Eq. 1 of each sector plane differs from the others. Furthermore, Siebicke et al. (2012) suggested that the sector-wise planar fit could make \(\overline{w_\mathrm{r}}\) nearly zero for all wind directions and was more suitable for estimating nighttime \(\hbox {CO}_{2}\) flux than the planar fit. In addition, this system seems conceptually acceptable and is analogous to a schematic concept of airflow over a complex terrain (e.g. Fig. 1 in Finnigan et al. 2003 and in Finnigan 2004). Therefore, this system has been recognized as the best method for complex terrain. However, an issue with the sector-wise planar fit may be that it often reduces flux values over complex terrain (e.g. Yuan et al. 2011).

Besides systems based on the planar fit, some fixed coordinate systems have been proposed. Lee (1998), Su et al. (2004), Vickers and Mahrt (2006), Kosugi et al. (2007), and Shimizu (2007) determined pitch rotation (or tilt) angle from a function involving wind direction and the ensemble average of the mean vertical angle at the sonic anemo-thermometer \((\tan ^{-1}\left( {\overline{w_\mathrm{s}} /\overline{U_\mathrm{s}}}\right) )\). However, applying an average vertical angle to estimate pitch rotation angle in a coordinate system potentially causes the instrumental offset error (e.g. Lee et al. 2004) to persist in the calculated fluxes.

Although there are uncertainties in each coordinate system, the effect of these systems on flux values has not been comprehensively examined. This is particularly true for complex terrain, where the choice of coordinate system may be more important than in flat topography. Whether fluxes calculated in complex terrain with a particular coordinate system are comparable to those calculated with another method has not been established. Accordingly, the objective of this study was to examine the effect of coordinate rotation systems on flux estimates over a forest in complex terrain. Using data from an AsiaFlux observation site in Japan, we compared momentum, heat, and \(\hbox {CO}_{2}\) fluxes calculated using each coordinate system. Furthermore, we examined the agreement between the standard deviations of wind components (\(w_\mathrm{r}\) and \(u_\mathrm{r}\)) by friction velocity (\(\sigma _\mathrm{wr}/u_{*}\) and \(\sigma _\mathrm{ur}/u_{*}\), respectively) or those of scalars (e.g. \(\sigma _{T}\), where \(T\) is air temperature) over their dynamic parameters (e.g. dynamic temperature \(T_{*}=\overline{w_\mathrm{r}^{\prime }T^{\prime }}/u_{*}\)) with equations obtained previously (see Foken 2008a). We also discuss the effects of dataset length for setting fixed coordinate systems, and the vertical wind offset error in the methods (except the planar fit and sector-wise planar fit) on calculated fluxes.

Fig. 1
figure 1

Maps of the Kahoku experimental watershed (KHEW): a location; b surface map, derived from the “Takaigawa” digital map with a 1/25000 scale published by the Geospatial Information Authority of Japan. Vertical scale is exaggerated by a factor of three; c topographic map modified from Fig. 1 in Shimizu (2007). Dotted line and numbers show the seven sectors used for the sector-wise planar fit system

2 Materials and Methods

Observations were made at the Kahoku Experimental Watershed (KHEW; \(33^{\circ }08^{\prime }\hbox {N}\), \(130^{\circ }43^{\prime }\hbox {E}\)), one of the AsiaFlux network sites on Kyushu Island, south-western Japan (Fig. 1). Planted conifers covered complex terrain, with Japanese cypress (Chamaecyparis obtusa) stands on a ridge area, and Japanese cedar (Cryptomeria japonica) extending from valley to hillside. We basically used 2 years of wind component data obtained in 2007 and 2008 to determine each fixed coordinate system. The analysis period for comparison and examination of flux data was August 8–September 17 2008; mean air temperature and total precipitation during the period were \(28.6\,^{\circ }\hbox {C}\) and 420 mm, respectively.

Measurements were made on a 50-m tall meteorological tower. An albedo meter (CM 14, Kipp & Zonen, Delft, The Netherlands) and two pyrgeometers (CG 3, Kipp & Zonen) were placed at 47.2 m height, to obtain upward and downward solar and longwave radiative fluxes, respectively, and hence net radiation \(R_{n}\). We distinguished daytime and nighttime by downward solar radiation greater than or equal to zero, respectively. Soil heat flux, \(G\), was obtained at 0.05-m depth (including about 0.04 m of litter) near the tower, using a heat flux plate (HFT 3.1, REBS, Seattle, Washington, USA), with soil heat storage assumed negligible because of the low heat capacity of litter. Air temperature and relative humidity were obtained at two heights (42 and 20 m above the ground), using wet- and dry-bulb thermometers (ML-020L, EKO Instruments, Tokyo, Japan) and a temperature–humidity probe (HMP-45A, Vaisala, Helsinki, Finland), respectively. The thermo-hygrometers were ventilated with a fan in a stainless-steel shield. The dual-height measurements of temperature and water vapour were used to estimate the atmospheric heat storage (\(S_{\mathrm{air}}\)).

A sonic anemo-thermometer (DAT-600 and TR-61C probe, Sonic Corporation; formerly Kaijo-Denki, Tokyo, Japan) and a gas intake mouth were installed at the top of the tower, with a 0.15-m separation. Height above the ground \((z)\) was 51.0 m. The sonic anemo-thermometer was extended on an aluminium alloy pole about 1.5 m from the tower, and its tilt was measured with a digital inclinometer (Pro360, Onset Computer Corp., Bourne, Massachusetts, USA). The tilt occurred only at \(0.3^{\circ }\) along the \(y\)-axis direction of the sonic anemo-thermometer. Sample air was drawn from the intake mouth into the closed-path infrared gas analyzer (IRGA: LI-7000, LI-COR, Lincoln, Nebraska, USA) through Teflon\(\circledR \) tubes of 57-m length and 6-mm inner diameter from the mouth to the intake pump, and 3.5 m of a 4-mm tube between the pump and IRGA through a solenoid. Flow rate was monitored continuously (SEF-405, Horiba Stec, Kyoto, Japan) and was 7–8 l \(\hbox {min}^{-1}\) under normal conditions. Thus, the typical Reynolds numbers were in the range 1650–1900 in the broader tube and 2470–2830 in the narrower tube. The IRGA was calibrated about once per week by manually switching the flow paths of sample and reference gases. This configuration nearly matched that of Shimizu (2007), except for the distance between the intake mouth and the sonic anemo-thermometer, an upgraded IRGA, and removal of the dehumidifier and flow controller. Analogue signals from the sonic anemo-thermometer and IRGAs were recorded at 10 Hz, using a data logger (DR-M3b, TEAC, Tokyo, Japan).

A relatively large offset error was found in the raw analogue output signal of vertical axis wind velocity from the sonic anemo-thermometer during the analysis period. This error was almost constant (\(-\)0.066 m s\(^{-1}\)), based on a test in which the sonic anemo-thermometer probe was encased in a plastic bag. Although the main cause of this offset was not determined, we used \(w_\mathrm{s}=w_\mathrm{m}+ 0.066\), where subscript \(m\) is the measured raw output from the instrument, including the offset error. Note that the corrected \(w_\mathrm{s}\) values (in m s\(^{-1}\)) were applied to determine all of the fixed coordinate systems and to calculate the fluxes used in this study, unless otherwise noted.

Average values and fluctuations in wind velocity components were calculated after a sonic transducer shadow correction for the TR-61C probe (Shimizu et al. 1999) and a sonic tilt correction based on the inclinometer measurement, applying 30-min block averages. All 30-min average values obtained in 2007 and 2008 were used to set the fixed coordinate systems, except the data screened out with the 5 % threshold over-range values and data spikes. Scalar fluctuations were also calculated, using a 30-min block average.

The calculated fluxes were screened additionally using quality control based on Foken et al. (2004). A steady-state test for the measured flux was carried out as a quality control, and the difference in the integral turbulence characteristic value (i.e., normalized standard deviations using \(u_{*}\) or a scalar dynamic parameter, \(\sigma _\mathrm{wr}/u_{*}\) or \(\sigma _{T}/T_{*}\) for example) measured and modelled was examined. The index of relative non-stationarity (RN) was calculated as the steady-state test for the flux data as follows (Foken et al. 2004),

$$\begin{aligned} RN_\mathrm{wx} =\left| {\frac{\left( {\overline{w_\mathrm{r}^{\prime }x^{\prime }}} \right) _\mathrm{wh} -\left( {\overline{w_\mathrm{r}^{\prime }x^{\prime }} } \right) _{a6}}{\left( {\overline{w_\mathrm{r}^{\prime }x^{\prime }} } \right) _\mathrm{wh}}} \right| , \end{aligned}$$
(2)

where \(x\) is a particular wind component or scalar, the subscript wh is the covariance calculated using all averaged time-series data (here, 30 min), and the subscript \(a6\) is the average of the covariance values calculated by dividing the time series six times equally (here, 5 min). The normalized standard deviations modelled obtained from previous studies were compiled by Foken (2008a), and are basically a power function of Obukhov length \((L)\), with general form,

$$\begin{aligned} \frac{\sigma _{x}}{X_{*}}=c_{1} \left| {\frac{z-d}{L}}\right| ^{c_2}, \end{aligned}$$
(3)

where \(\sigma \) is the standard deviation, and \(X_{*}\) is equal to \(u_{*}\) when \(x\) is \(u_\mathrm{r}\) or \(w_\mathrm{r}\), and is a dynamic parameter when \(x\) is a scalar, as mentioned above. Zero-plane displacement \((d)\) was determined to calculate the root-mean-square error (RMSE) from the modelled value at the minimum. Its value was 28.2 \(\pm \) 0.2 m among all coordinate systems. Note that \(c_{1}\) and \(c_{2}\) are parameters dependent on \((z -d)/L\) and \(x\) (Foken et al. 2004; Foken 2008a). The same parameters were applied for scalars (\(T, \chi _\mathrm{H}\), and \(\chi _\mathrm{C}\), where \(\chi \) is the mixing ratio to dry air, and the subscripts H and C are water vapour and \(\hbox {CO}_{2}\), respectively), and the function diverged under near-neutral conditions. Thus, we did not examine the normalized standard deviations for the scalars when (\(|z -d)/L|\) was \(< 0.005\). The following equations were applied for wind components (\(u_\mathrm{r}\) and \(w_\mathrm{r})\) under slightly stable conditions (\(0< (z-d)/L \underline{<} 0.4\)) (Thomas and Foken 2002),

$$\begin{aligned} \sigma _w /u_{*}= & {} 0.21 \ln \left( {\frac{z_{+}f}{u_{*}}} \right) +3.1,\end{aligned}$$
(4a)
$$\begin{aligned} \sigma _u /u_{*}= & {} 0.44 \ln \left( {\frac{z_{+}f}{u_{*}}} \right) +6.3, \end{aligned}$$
(4b)

where \(z_{+} = 1\) m, and \(f\) is the Coriolis parameter. The quality control thresholds are shown in Table 1. The class-1 data were compared for further analysis, although the lower classes of data are shown occasionally as a reference. The total of the class-1 data generally occupied about 40 % of the daytime and \(<\)10 % of the nighttime data.

Table 1 Data classification based on the quality control guidelines of Foken et al. (2004)

High-frequency loss of closed-path \(\hbox {CO}_{2}\) flux was corrected theoretically (Shimizu 2007). An additional correction is needed for the closed-path \(\hbox {H}_{2}\hbox {O}\) flux, particularly that obtained under high relative humidity (or low vapour pressure deficit \(D\)) conditions (Ibrom et al. 2007a, b). The parameters to correct the KHEW data in this study were determined preliminarily using the data obtained before the analysis period. Details are given in the Appendix.

3 Coordinate Rotation Systems and Their Comparison

The coordinate rotation systems applied for comparison herein are presented in Table 2, where all of these methods, except the double rotation, involve fixed coordinate systems. We outline two prevailing approaches, such as the double rotation and planar fit, as described in several other studies. Each fitting plane in the sector-wise planar fit is determined by the same procedure as the planar fit, and here we used seven planes with reference to average vertical wind components on the single plane determined by the planar fit using two years of wind data (Fig. 2a). As a result, \(\overline{w_\mathrm{r}}\) in the sector-wise planar fit system decreased remarkably for all wind directions (Fig. 2b).

Table 2 Coordinate rotation systems used in the comparison
Fig. 2
figure 2

Vertical wind-speed components \((\overline{w_\mathrm{r}})\) for planar fit (a) and the sector-wise planar fit (b) set using the 2-year wind dataset (obtained 2007–2008) to the horizontal angle of the sonic anemo-thermometer. Values were ensemble averaged by \(1^{\circ }\). Dotted lines and numbers correspond to the sectors in Fig. 1c

Besides the aforementioned three systems, the following four systems were tested, and in three of these the pitch rotation angle \((\theta )\) was determined from the mean vertical angle for the sonic anemo-thermometer obtained during the two-year period. The coefficients \(a_\mathrm{L0}\) and \(a_\mathrm{L1}\) in the following linear regression function in Lee (1998) were determined for every \(10^{\circ }\) wind sector,

$$\begin{aligned} \overline{w_\mathrm{s}} =a_\mathrm{L0} +a_\mathrm{L1} \overline{U_\mathrm{s}} , \end{aligned}$$
(5)

where \(\overline{U_\mathrm{s}} =\sqrt{\overline{u_\mathrm{s}} ^{2}+\overline{v_\mathrm{s}} ^{2}}\). Then, \(\theta \) was determined as

$$\begin{aligned} \tan \theta = \frac{(a_\mathrm{L0} +a_\mathrm{L1} \overline{U_\mathrm{s}})}{\overline{U_\mathrm{s}}}=\frac{a_\mathrm{L0}}{\overline{U_\mathrm{s}}}+a_\mathrm{L1} . \end{aligned}$$
(6)

As this system is the same as that of Lee (1998), it is henceforth referred to as “Lee’s method”. The constant offset error in \(w_\mathrm{s}\) directly increases or decreases \(a_{L0}\) and affects \(\theta \).

Kosugi et al. (2007) and Shimizu (2007) considered \(\theta \) as a dependent variable of wind direction \(\phi \), although they did not provide detailed procedures. They plotted \(\overline{w_\mathrm{s}}/\overline{U_\mathrm{s} }\) with \(\phi \) and conducted a regression analysis to determine the coefficients in the following,

$$\begin{aligned} \frac{\overline{w_\mathrm{s}}}{\overline{U_\mathrm{s}}}= \sum _{k=0}^n {a_{Kk} \varphi ^{k}} . \end{aligned}$$
(7)

Kosugi et al. (2007) separated wind direction into five sectors from an overview of \(\phi \) versus \(\overline{w_\mathrm{s}}/\overline{U_\mathrm{s}}\) plots, and determined linear function coefficients (\(n = 1\) in Eq. 7) for each section. Shimizu (2007) established a polynomial equation (\(n = 5\) in Eq. 7) for all \(\phi \), so we adopted that equation for the test used herein, and call it the “polynomial fit”. Once the coefficients were obtained, \(\theta \) was determined for all \(\phi \) by calculating the arctangent of the right side of Eq. 7. The constant offset error affects all \(a_{Kk}\).

Vickers and Mahrt (2006) developed a simpler approach to determine \(\theta \), as

$$\begin{aligned} \tan \theta =\left\langle {{\overline{w_\mathrm{s}}}/{\overline{U_\mathrm{s}}}} \right\rangle , \end{aligned}$$
(8)

where the angled brackets denote the ensemble average of the corresponding wind sector. The offset error in \(w_\mathrm{s}\) directly affects \(\theta \) estimation by Eq. 8. Vickers and Marht removed the weak mean flow condition \((\overline{U_\mathrm{s}} < 0.5 \hbox { m s}^{-1})\) from the ensemble average calculation, and we followed their procedure. They separated wind direction into 36 sectors (every \(10^{\circ }\)). The approach of Su et al. (2004), which was a moving average of the wind sector for all \(\phi \), was considered more continuous. Therefore, we used Eq. 8 and a moving average of \(\pm \)7.5\(^{\circ }\), which is designated the “moving average”. Note that we used the 30-min block average \(\overline{w_\mathrm{s}}\) and \(\overline{U_\mathrm{s}}\) to regulate pitch angle of the method; we did not use the moving average of the 10-Hz data.

In the aforementioned three systems, the mean vertical angles at the sonic anemo-thermometer were referenced to determine \(\theta \). We provide another moving average procedure, in which \(\theta \) is calculated from the ratio of the sonic anemo-thermometer mean vertical wind component to the horizontal wind component,

$$\begin{aligned} \tan \theta ={\left\langle {\overline{w_\mathrm{s}}} \right\rangle }\big /\left\langle {\overline{U_\mathrm{s}}} \right\rangle . \end{aligned}$$
(9)

The ensemble average of the numerator and that of the denominator are calculated independently on the right-hand side of Eq. 9. In contrast to the moving average, all two years of wind data, except those including more than 5 % of the spikes plus over-range values, were used to establish the coordinate system, regardless of wind speed. This system is called the “ratio of components’ moving average”.

The examination proceeded according to the following process. First, fluxes on each coordinate system were compared, setting the traditional double rotation as the interim standard. Momentum fluxes \(\overline{u_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }} \) were used to show how the basic turbulence quantities were altered by the coordinate rotation system. Total heat fluxes, sensible heat flux \(H\) plus latent heat flux \(\lambda E\), where \(\lambda \) is the latent heat of vapourization and \(E\) is the evapotranspiration, were compared from the standpoint of energy balance closure. The energy imbalance was minimal in summer (see Shimizu et al. 2015): the sum of the class-1 heat flux data \((H+\lambda E)\) estimated by the double rotation over the 40-day analysis period at the KHEW site was 98 % of (\(R_{n}-G-S_{\mathrm{air}}\)), with \(R^{2}= 0.69\). Note that the effect of atmospheric heat storage on the comparison was slight: the total was about 0.06 % of \(H+\lambda E\). The \(\hbox {CO}_{2}\) fluxes \((F_\mathrm{c})\) were also compared, separating the data into those obtained during the daytime and nighttime.

Second, we applied \(\sigma _{x}/X_{*}\) values calculated in each system to examine agreement with Eqs. 3 and 4. Deviations from the equations were summarized using values of RMSE, calculated separately for the daytime and nighttime data. As Eqs. 3 and 4 were derived from relatively ideal conditions, the errors were used to determine the system that was physically more appropriate under each condition. In other words, when \(\sigma _{x}/X_{*}\) calculated in a given coordinate system better agreed with the estimate from Eqs. 3 or 4, it was assumed that the wind data transformed by the system were closer to those obtained under ideal conditions.

We also checked the effect of the sonic anemo-thermometer vertical wind velocity offset error on estimated fluxes, assuming a constant experimental offset value of \(-0.066\hbox { m s}^{-1}\), which corresponds to applying the real offset that occurred in the measurement. As a given constant offset error should have no impact on the flux estimate using the planar fit and the sector-wise planar fit, those procedures were excluded from the examination. Furthermore, we compared fluxes calculated for the six fixed systems other than the double rotation by using two years of wind data and the 40-day wind dataset to check the effect of dataset length on the flux estimate.

Based on these results, we discuss which system is appropriate for our observation site for both daytime and nighttime.

Fig. 3
figure 3

Numbers of flux data passing the class-1 quality control criteria in Table 2 for each coordinate system. The abbreviations \(uw\), \(wT\), \(w\chi _\mathrm{H}\), and \(w \chi _\mathrm{C}\) correspond to momentum fluxes caused by main flow \((u)\), sensible and latent heat fluxes, and \(\hbox {CO}_{2}\) fluxes, respectively. Abbreviations under the vertical axis correspond to each coordinate system in Table 1. DR double rotation coordinate system, PF planar fit, SPF sector-wise planar fit, Lee’s Lee’s method, Poly polynomial fit, MA moving average, RMA ratio of the components’ moving average

Fig. 4
figure 4

Comparison of \(\overline{u_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }}\) momentum flux calculated by each coordinate rotation system with those calculated by the double rotation coordinate system (DR). Fluxes calculated by: a the planar fit (PF), b the sector-wise planar fit (SPF), c Lee’s method (Lee’s), d the polynomial fit (Poly), e the moving average (MA), and f the ratio of the components’ moving average (RMA) in Table 1. White and black circles are data that passed the class-1 quality control criterion and the class-2 and -3 data in Table 2, respectively. Dotted lines are the orthogonal regression carried out using the class-1 data

4 Results

4.1 Difference in Fluxes

We plotted the class-1 quality controlled data to compare fluxes calculated for each coordinate system and used the class-2 and class-3 data as a reference. The number of flux data regarded as class-1 data varied slightly with the coordinate system used (Fig. 3). The planar fit was most likely to pass the quality control filter, with the sector-wise planar fit second; the number of class-1 data was 2.4 % less than the planar fit. The moving average, the ratio of the components’ moving average, the polynomial fit, and Lee’s method were within several percentage points. Using the double rotation resulted in the smallest number of class-1 data, which was 9.5 % smaller than when using the planar fit system.

The comparison of the momentum fluxes \(\overline{u_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }}\) are shown in Fig. 4 as an example, using those with the double rotation as \(x\)-axis values. Orthogonal regression was carried out for the comparison. The regression line and the equation correspond to the relationship between the class-1 data calculated by the double rotation and those by the compared system, which is common for the following comparisons. The \(\overline{u_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }}\) values were linearly correlated with each other, with regression slopes of 0.93–0.99, except the smaller slope using the sector-wise planar fit, suggesting an underestimate of \(\overline{u_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }}\).

The trends in total heat flux \(H + \lambda E\) and \(F_\mathrm{c}\) during the daytime were similar to the \(\overline{u_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }}\) comparison, although the determination coefficient was slightly larger, and the slope of the regression approached unity for each comparison (Table 3). However, the table shows that the absolute values of \(H +\lambda E\) and \(F_\mathrm{c}\) in the daytime calculated by the double rotation were slightly larger by about 5 % than those calculated by the sector-wise planar fit. This result suggests that the energy imbalance at the KHEW site would expand slightly with use of the sector-wise planar fit, even though the coordinate planes were set using the two-year wind dataset, and the data were selected by strict quality control.

The plots were greatly scattered for \(F_\mathrm{c}\) obtained during the nighttime, when comparing the double rotation with the planar fit and the sector-wise planar fit, although the number of data compared was rather small (Fig. 5). The sector-wise planar fit underestimated \(F_\mathrm{c}\) by about 7 % relative to that of the double rotation, indicating that the difference between the sector-wise planar fit and the other systems may have been greater during the nighttime. It was more noticeable in the \(F_\mathrm{c}\) values than in the heat and momentum fluxes because the absolute value of nighttime ecosystem respiration is usually within a comparable range to daytime net ecosystem exchange, in contrast to the heat and momentum fluxes.

4.2 Normalized Standard Deviations of the Wind Components and Scalars

The measured \(\sigma _{w}/u_{*}\) and \(\sigma _{T}/T_{*}\) values calculated by the double rotation, the sector-wise planar fit, and the ratio of the components’ moving average are plotted against the modelled values in Fig. 6 as examples. The data were the class-1 quality controlled data. Small differences were found between the coordinate rotations, although the nighttime values seemed relatively scattered using the double rotation. A comparison of the RMSE values from the values modelled by Eqs. 3 and 4 supported the general impression of the figures, particularly that obtained during daytime (Table 4). The best \(\sigma _{x}/X_{*}\) values did not differ by 5 % from the second best values in the daytime. Meanwhile, the RMSE values for the nighttime \(\sigma _{T}/T_{*}\) using the sector-wise planar fit became smaller by about 9 % than that in all of the other systems. The RMSE in \(\sigma _{\chi C}/C_{*}\) also became the smallest using the sector wise-planar fit, although the difference from the planar fit was slight. These results suggest that the redistribution of wind components using the sector-wise planar fit at night caused the KHEW scalar flux data to be nearer to the flat and homogeneous surface condition for which the aforementioned theories were obtained. The sector-wise planar fit for \(\sigma _{u}/u_{*}\) during daytime also agreed better with the equation but use of the sector-wise planar fit for the daytime scalar fluxes resulted in worse agreement, although the differences from the other systems were slight.

Table 3 Correlation parameters for the comparisons between momentum flux \((\overline{u_\mathrm{r}^{\prime }w_\mathrm{r}^{\prime }})\), sum of heat fluxes \((H + \lambda E)\), and \(\hbox {CO}_{2}\) flux obtained during daytime, calculated in each system with those calculated by double rotation
Fig. 5
figure 5

Comparison of nighttime \(\hbox {CO}_{2}\) fluxes \((F_\mathrm{c})\) obtained using each system. Markers and dotted lines in panels (af) are the same as in Fig. 4

Fig. 6
figure 6

Examples of \(\sigma _{w}/u_{*}\) (left panels) and \(\sigma _{T}/T_{*}\) (right panels) plots modelled by Eqs. 3 and 4 in the text (horizontal axis) and measured in the three coordinate systems: the double rotation (DR, upper panels), the sector-wise planar fit (SPF, middle panels), and the ratio of the components’ moving average (RMA, lower panels). The class-1 quality controlled data are plotted. Solid and dotted lines are the 1:1 line and the \(\pm \)30 % lines, respectively. White and black squares correspond to daytime and nighttime, respectively

4.3 Impact of Offset Error on Sonic Vertical Wind Velocity

When the planar fit or the sector-wise planar fit was used for the flux calculations, the constant offset error in \(w_\mathrm{s}\) did not cause differences in the calculated fluxes based on their original definitions. Consequently, the impact of offset error was checked for the other five systems, except the planar fit and the sector-wise planar fit.

Figure 7 compares \(F_\mathrm{c}\) calculated after eliminating a \(-0.066\hbox { m s}^{-1}\) offset error in \(w_\mathrm{s}\) from the sonic vertical velocity values with those calculated from raw values, on the assumption \(w_\mathrm{s}=w_\mathrm{m}\) in each coordinate rotation system. The results indicate that the aforementioned offset error often caused large errors in \(F_\mathrm{c}\) for all systems. In particular, the average error was around 30 % for the polynomial fit, even using only the class-1 data for comparison. The errors were 5–10 % for the other systems, and the error rate exceeded or equalled the underestimate of the sector-wise planar fit. The same tendency occurred in \(H +\lambda E\), although the figures are not shown. However, the errors in \(F_\mathrm{c}\) were larger, and the plots were scattered more than those in \(H +\lambda E\), suggesting that the impact of offset error in \(w_\mathrm{s}\) on \(F_\mathrm{c}\) was stronger than that on the heat fluxes.

Table 4 Root-mean-square errors of the measured normalized standard deviations for friction velocity or the scalar dynamic parameters in each system from the values estimated using Eqs. 3 or 4 in the text
Fig. 7
figure 7

Effect of the sonic vertical wind component offset error on flux values calculated with each coordinate system: a double rotation (DR); b Lee’s method (Lee’s); c polynomial fit (Poly); d moving average (MA); and e the ratio of the components’ moving average (RMA). Assumed offset error is 0.066 m s\(^{-1}\). Left and right panels are comparisons of \(H +\lambda E\) and \(F_\mathrm{c}\), respectively. White and black circles are the same as in Fig. 4

4.4 Effect of Dataset Length on Fluxes for Framing Each System

The differences in fluxes caused by dataset length to set the fixed-method parameters were also examined. The \(F_\mathrm{c}\) errors were generally not large for any of the coordinate systems when the fluxes were calculated in a certain system set by using the 40-day wind data and when they were calculated in the system set by two-year wind data (Fig. 8). These \(F_\mathrm{c}\) errors were within 2 % for all systems when comparing the class-1 data. In particular, the average error remained within 2 % for the planar fit and the ratio of the components’ moving average after including the class-2 and class-3 data. This held true for \(H +\lambda E\) in all coordinate systems: the difference in the length of the dataset period, 40 days and two years for each system, only slightly affected the calculated heat flux values. The \(F_\mathrm{c}\) error in the planar fit was much smaller than expected from a previous study (Siebicke et al. 2012), and it could be attributed to a difference in observation site characteristics. The one to two months of wind data were sufficient at our site (KHEW) to set parameters for every fixed system considered here.

Fig. 8
figure 8

Effect of dataset length for determining the effect of each fixed system on \(F_\mathrm{c}\) values. Daytime and nighttime data are mixed in the same figure. Systems fixed by the two-year wind data (horizontal axis) and by the 40-day wind data are compared. a The planar fit (PF); b the sector-wise planar fit (SPF); c Lee’s method (Lee’s); d the polynomial fit (Poly); e the moving average (MA); and f the ratio of the components’ moving average (RMA). Markers are the same as in Fig. 4

5 Discussion

Given that our comparisons were carried out at only one site, it is difficult to determine the best coordinate system for any complex terrain. However, the optimum coordinate system for our site can be addressed from practical and conceptual points of view.

5.1 The Planar Fit and the Sector-Wise Planar Fit

The planar fit was no worse than the other systems considered in this study for our site and the 40-day analysis period: the number of class-1 quality controlled data became the maximum when using the planar fit, and the energy imbalance and the errors from modelled \(\sigma _{x}/X_{*}\) were not extended by using the planar fit. However, the planar fit applies only one fitting planar, as it was originally developed as an instrumental tilt correction method by Wilczak et al. (2001). Thus, it is inadequate to analyze airflow across complex terrain (e.g. Vickers and Mahrt 2006). Additionally, the system may be inadequate for instrumental correction as reported by Ono et al. (2008) and Li et al. (2013). In our case, backward flow from the sonic anemo-thermometer was distorted (Wieser et al. 2001), even after correcting the transducer shadow. Furthermore, Rebmann et al. (2012) indicated that the time and stability class should be well selected for setting the single planar. This may not be a limitation of the planar fit, but may make it difficult to apply this system for long-term measurements.

In contrast, using the sector-wise planar fit can solve these issues. This system covers complex terrain with multiple coordinate planes, and the average \(w_\mathrm{r}\) approaches zero for nearly all wind directions. Siebicke et al. (2012) successfully estimated nighttime net ecosystem exchange including advection terms using the sector-wise planar fit. Li et al. (2013) reported that the system is suitable to mitigate the effect of instrumental flow distortion on flux calculations. These results support the conclusion that the sector-wise planar fit is the best system for certain types of complex terrain.

Nevertheless, fluxes calculated with the sector-wise planar fit were underestimated relative to those from all other systems. A similar result was obtained in a comparison between the double rotation, the planar fit, and the sector-wise planar fit for complex terrain at the Gwangneung Forest site in South Korea (Yuan et al. 2007, 2011). This underestimation remained in our data, even after applying the two-year wind data to set the division of sectors and their parameters as in Siebicke et al. (2012) and after applying a strict quality control method (Foken et al. 2004). The systematic underestimate linearly reduced 5–7 % of the fluxes with large absolute values during daytime, i.e., momentum and heat fluxes and daytime \(F_\mathrm{c}\). The energy imbalance was exacerbated by about 5 % using the system.

The causes for the flux underestimate that occurred using the sector-wise planar fit were examined. As a result of the \(\sigma _\mathrm{wr}\) comparison in Fig. 9, the values were underestimated when using the sector-wise planar fit. However, the difference in \(\sigma _\mathrm{wr}\) of the sector-wise planar fit from that of the other systems was smaller than the difference in momentum and scalar fluxes. Figure 10 shows the ensemble average for the lag correlation between \(u_\mathrm{r}'\) and \(w_\mathrm{r}'\) calculated with the sector-wise planar fit, the double rotation, and the ratio of the components’ moving average. The figure shows that the correlation between \(u_\mathrm{r}'\) and \(w_\mathrm{r}'\) was slightly smaller in the sector-wise planar fit with a short lag time, whereas no systematic cause for the larger calculated flux was found in the double rotation or the ratio of the components’ moving average at longer lag times. These results suggest that the accumulation of smaller \(w'\) and the smaller correlation between \(w'\) and \(x'\) in the sector-wise planar fit than those of the other systems was the main cause for the difference in daytime fluxes, whereas overestimates by other systems relative to the sector-wise planar fit were not likely a cause. Furthermore, comparisons between daytime \(\sigma _{x}/X_{*}\) and Eqs. 3 and 4 did not show the superiority of the sector-wise planar fit. Although field measurements may not completely remove energy imbalance (e.g. Inagaki et al. 2006; Foken et al. 2006; Foken 2008b), a coordinate system that extends the problem would probably not be used without other clear advantages (e.g. Leuning et al. 2012). Therefore, the sector-wise planar fit is not the best coordinate system for daytime heat-flux calculations at the KHEW site, at least at present.

Fig. 9
figure 9

Comparison of vertical velocity component standard deviation \(\sigma _\mathrm{wr}\) for each system at the Kahoku experimental watershed over the entire study period. Panels (af), markers, and dotted lines are the same as in Fig. 4

Fig. 10
figure 10

Examples of the lag correlation between \(u_\mathrm{r}'\) and \(w_\mathrm{r}'\) for the three coordinate rotation systems: the double rotation (thick gray lines), the sector-wise planar fit (black lines), and the ratio of the components’ moving average (dashed lines). Ensemble averaged class-1 quality controlled data are plotted and were obtained under a unstable and b stable conditions

The underestimate in nighttime \(F_\mathrm{c}\) with the sector-wise planar fit was about 7 %, which was similar to that of the daytime fluxes. However, the nighttime \(\sigma _{T}/T_{*}\) and \(\sigma _{\chi C}/C_{*}\) values using the sector-wise planar fit were closer to Eq. 3 than to the other systems. These results coincide with Siebicke et al. (2012), in which the sector-wise planar fit was recommended because nighttime \(F_\mathrm{c}\) was estimated well using the system. Furthermore, nighttime \(\left\langle {\overline{w_\mathrm{r}}} \right\rangle \) was smaller and consistently near-zero for all wind directions when separately comparing \(\left\langle {\overline{w_\mathrm{r}} } \right\rangle \) using the sector-wise planar fit for daytime and nighttime (Fig. 11), whereas the values were occasionally large during daytime. This result suggests that nighttime fluxes are strongly affected by general topographic features because of a relatively large footprint and suppressed vertical exchange. However, terrain details may influence daytime fluxes under unstable conditions with a smaller footprint. Thus, considering these favourable findings, the sector-wise planar fit was possibly the most effective system among all coordinate systems considered here for estimating nighttime fluxes at the KHEW site. The tower at this site was built near a valley, and the \(z - d\) value was relatively small compared with the height of trees around the tower (larger near the valley) and the heights of surrounding ridges. Therefore, if the height or the location of the tower was changed, the sector-wise planar fit might have been the best choice for daytime data, even at our site.

Fig. 11
figure 11

Same as in Fig. 2b, but classifying the data obtained a during daytime and b nighttime. Ensemble average of \(\overline{w_{r(SPF)}}\) is recalculated for each period

5.2 Other Coordinate Systems

Because the sector-wise planar fit is not the first choice for daytime flux estimates and because planar fit is too simple to apply to complex terrain, we considered which of the other five coordinate systems would be suitable for estimating daytime fluxes at our site. Among them, the double rotation system was slightly worse than the other systems, based on the number of data passing the quality control process. However, either the double rotation or one of the four fixed systems without roll rotation was applicable overall, if class-1 data are applied for further analysis, and the \(w_\mathrm{s}\) offset error can be removed before the flux calculation. If that error is assumed constant, we can detect it in the field test as described and/or by determining \(b_{0}\) in the (sector-wise) planar fit for each period and comparing it with values from other periods. However, the offset error may sometimes occur without notice, because of an electric noise, blowing dust, and/or the inexact box calibration (ISO 2002). Calculated fluxes should be stable against the change in offset error with an optimal coordinate system. The fluxes calculated using the polynomial fit varied more than those calculated by other systems; therefore, the polynomial fit is slightly worse than the others. If a constant offset error cannot be obtained, such as when reanalyzing data acquired previously, the sector-wise planar fit should be the remaining choice even during the daytime because the offset error easily comprised 5–10 % of the average flux calculation error.

Dataset length was not a major issue to determine the coordinate system for our site, if it was longer than 1–2 months. As our site is covered with evergreen trees and snowfall is rare, the leaf area index and colour of the leaf/ground surface does not substantially change throughout the year, and a wind dataset of one year or longer would be suitable to set a stable fixed system. However, if the site has many deciduous trees and/or is covered with snow during the winter, surface conditions can change dramatically within a month, and dataset length should be adjusted to that condition. Even in such cases, the double rotation was basically applicable, given that it is not necessarily erratic relative to the other systems, as in this study. The ratio of the components’ moving average may also be applicable based on Fig. 8 because not only the class-1 data but also the class-2 and class-3 data were stable regardless of the length of the dataset period, although it may depend on site characteristics.

Among the six fixed systems, only the moving average applies the wind speed threshold as a data filter when setting the coordinate system. That is, data obtained for \(\overline{U_\mathrm{s}}< 0.5\hbox { m s}^{-1}\) were neglected when setting the system, although they might be regarded as acceptable if they pass the quality control process. If this is considered somewhat contradictory and/or a threshold value of 0.5 m s\(^{-1}\) as somewhat speculative, the ratio of the components’ moving average should be substituted for the moving average.

6 Concluding Remarks

We examined the effect of coordinate systems on turbulence fluxes calculated over a forest in complex terrain. Seven systems were tested, including the newly proposed the ratio of the components’ moving average. The calculated momentum fluxes, sensible plus latent heat fluxes, and \(\hbox {CO}_{2}\) flux \((F_\mathrm{c})\) during daytime were not significantly altered by the choice of coordinate system. The exception was the sector-wise planar fit, which always underestimated these fluxes by about 5 %. The validity of the sector-wise planar fit was not confirmed based on the comparison of daytime normalized standard deviations with the previously obtained Eqs. 3 and 4. These results suggest that the sector-wise planar fit is not the optimum choice for estimating daytime fluxes, at least at our site (KHEW). The double rotation or one of the fixed systems without roll rotation were suitable systems for daytime flux calculations in complex terrain, if the constant offset error in the sonic anemo-thermometer vertical wind velocity is effectively avoided.

The sector-wise planar fit also underestimated nighttime \(F_\mathrm{c}\), but the tendency was different from the other fluxes. The comparison with \(F_\mathrm{c}\) calculated using the double rotation was less correlated, with an average underestimate of about 7 %. Nighttime \(\sigma _{T}/T_{*}\) and \(\sigma _{\chi C}/C_{*}\) values obtained using the sector-wise planar fit were closer to the values modelled by Eq. 3 than those with the other systems. Furthermore, the nighttime \(\overline{w_\mathrm{r}}\) ensemble averages using the sector-wise planar fit were more stable than those during daytime with the same system. These results suggest the potential of the sector-wise planar fit as a suitable system for estimating nighttime fluxes at the KHEW site, as suggested in a recent study (e.g. Siebicke et al. 2012).