1. Introduction
The turbulent exchange process plays an important role in land–atmosphere interaction. Accurate representation of the eddy fluxes is essential for understanding the energy transfer in the land–atmosphere system and for successful numerical simulations of the atmosphere processes (Lee 1997). Generally, the momentum and heat fluxes are estimated by the Bowen ratio energy balance (BREB) method (Fritschen and Simpson 1989) and the profile method based on the Monin–Obukhov similarity theory (MOST). It is well known that the BREB, which estimates surface heat fluxes on the basis of measurements of temperature and specific humidity gradients and surface energy budget, becomes computationally unstable and results in spurious large values when the Bowen ratio is in the vicinity of −1. Meanwhile, many attempts have been made to develop and improve the profile method. Some flux-profile relationships suitable for various conditions of atmospheric stability have been well documented (Businger et al. 1971, hereinafter B71; Dyer 1974, hereinafter D74; Beljaars and Holtslag 1991, hereinafter BH91; Högström 1996, hereinafter H96; Cheng and Brutsaert 2005; Yang et al. 2008; Song et al. 2010, hereinafter S10). Despite all these efforts, the estimated fluxes are still scattered compared with observations. The disagreements mainly result from the lack of consideration of the energy budget, the limitation of the MOST over a flat homogeneous surface, and the uncertainties of the input parameters in the flux-profile relationship functions, especially under the stable stratification condition.
To make sufficient use of the observed meteorological information and the similarity law, Xu and Qiu (1997) applied the variational method to compute surface heat fluxes over a flat homogeneous surface. The variational method searches for realistic meteorological variables (e.g., the friction velocity, potential temperature, and specific humidity scale) through constructing a cost function, aiming to minimize the difference between the estimated and observed fluxes. It is found that the variational method is more reliable and useful in practical applications of flux calculations by including different physical constraints in the cost function [i.e., the heat transfer coefficient as a constraint in Ma and Daggupaty (2000), the surface energy budget in Zhang et al. (2004), and temperature variance in Cao and Ma (2005)]. Meanwhile, the applicability of the variational method has been tested over a heterogeneous surface and sea ice surface (Cao and Ma 2005, 2009). Although the results of the variational method with those physical constraints show evident improvements in flux calculations, the observed information such as surface energy flux, radiation measurements, soil temperature, and soil humidity are not included in many observational datasets. This makes it impossible to adopt the physical constraints for use in the variational method. The classical variational method, which is derived from maximum likelihood estimation theory, performs better under overdetermined circumstances (Lorenc 1986), that is, the number of observations in the cost function is greater than the number of unknown parameters. Ma and Daggupaty (2000) also pointed out that the variational method would reduce to the profile method if the number of constraints is equal to that of unknowns. Accordingly, to make use of most of the conventional observational data, it is necessary and important to introduce physical constraints into the cost function in a reasonable way. The mass conservation principle, proposed by Tajchman (1981), is used for determining the zero-plane displacement and roughness length (Molion and Moore 1983; De Bruin and Moore 1985; Lo 1990, 1995; Zhong et al. 2011). It is suggested that the mass conservation principle is a useful concept as a weak constraint for the variational method in most field experiments, where only wind, temperature, and humidity profiles are measured and no additional experimental configurations are available. In this work, on the basis of measurements of wind, temperature, and relative humidity, we intend to verify the application of the variational method with mass conservation constraint to estimate surface fluxes. The results have been compared against the direct measurements and against those estimated by the variational method without physical constraints and by the conventional flux-profile method. Section 2 introduces the measured dataset used for flux calculations and comparisons. The description of the flux-profile method and the variational method based on the mass conservation principle is given in section 3, the computational results and the sensitivity test are presented and compared with the eddy-correlation-measured fluxes in section 4, and the conclusions are given in section 5.
2. Data



3. Descriptions of methods
a. Flux-profile method




































Since the wind speed, temperature, and specific humidity gradients are measured directly, the Monin–Obukhov length can be computed by an iterative procedure through substituting Eqs. (7)–(11) into Eqs. (2)–(4). The three unknowns, that is, the friction velocity, temperature, and humidity scale, can be obtained to calculate momentum and sensible and latent heat fluxes simultaneously by Eqs. (5)–(7). While only the vertical profiles are needed in the flux-profile method, it is evident that the disagreement between the estimated and observed fluxes can be attributed to the uncertainty of universal stability functions and the inadequacy of observational data.
b. Variational method with mass conservation constraint


























On the basis of the study of De Bruin and Moore (1985), the mass conservation assumption could be used as a reasonable working hypothesis in neutral condition. Lo (1990, 1995) applied the mass conservation hypothesis to determine zero-plane displacement height and roughness length. In their study, the general forms of the logarithmic wind and temperature profiles, including diabatic influence functions, are introduced. Zhong et al. (2011) have extended the hypothesis to non-neutral conditions to estimate the effective roughness length. Figure 1 shows the comparison between the measured and estimated mass flow during 11–25 August 2010, where the estimations are computed by Eqs. (2) and (14) using the measured

(a) The variations of the measured (dashed line) and estimated (solid line) mass flow vs
Citation: Journal of Applied Meteorology and Climatology 53, 1; 10.1175/JAMC-D-13-0121.1
























- Suppose the initial guessed values of the unknowns are
, , and ; can be computed. - Calculate
, , and from Eqs. (2)–(4) and from Eq. (17) based on the estimated . - Calculate the cost function J in Eq. (16) and its gradients with respect to the three unknowns. If the convergence criterion is reached, the expected estimates (
, , ) are obtained; otherwise, the scanning direction and the step size can be determined in terms of the gradients and the scanning direction of the previous iteration. - Along the scanning direction, a line search is performed within predetermined bounds to find the minimum J, and new estimates are obtained at each iteration.
- Repeat steps 2–4 until the procedure converges.
The variational method explores all conventional observed data of wind speed, temperature, and relative humidity. It is suitable for the variational approach whereby an overdetermined system including three unknowns and four constraints is formed when additional information of mass conservation is introduced.
4. Results and discussion
a. Estimations of the momentum, sensible, and latent heat fluxes
To evaluate the performance of the variational method with mass conservation (hereinafter VWM) in this study, we compare the fluxes computed by the new scheme and by the conventional flux-profile method with those measured by eddy correlation. In addition, the variational method without the mass conservation constraint (hereinafter VOM) is designed following the same approach of Xu and Qiu (1997), which simply inputs multiple-level observed data into the cost function and constructs the overdetermined system. The results estimated by VOM are also examined. Note that for the flux-profile method, the schemes of H96 for unstable cases and BH91 for stable cases are used and are denoted as BHH. The results are plotted as points in their respective correlation diagrams (Fig. 2). In the stable stratification (Figs. 2a–c), the correlation diagram contains 101 points corresponding to the 101 samples of observations during the selected period. For unstable stratification, there are 246 samples (Figs. 2d–f). It is seen in Fig. 2a that the correlation points of the three methods are distributed near the diagonal line in most cases. Note that they are above the diagonal line when the momentum fluxes

For (top) stable and (bottom) unstable conditions, the (a),(c) momentum fluxes, (b),(d) sensible heat fluxes, and (c),(e) latent heat fluxes of the observed vs the values computed by the flux-profile method (dots), the variational method without mass conservation constraint (circles), and the VWM constraint (plus signs).
Citation: Journal of Applied Meteorology and Climatology 53, 1; 10.1175/JAMC-D-13-0121.1
RMSE (W m−2) between the observed momentum fluxes (

Figure 3 shows the time evolution of the relative errors (relative differences between measured and calculated variables) of

Time series of relative differences between observed and computed friction velocity (circles), sensible heat flux (dots), and latent heat flux (plus signs) obtained by the (a) BHH, (b) VOM, and (c) VWM methods. (d) The variation of mean relative difference of estimated heat fluxes by the VWM method or continuous days. Time starts at 0000 LST 11 Aug 2010.
Citation: Journal of Applied Meteorology and Climatology 53, 1; 10.1175/JAMC-D-13-0121.1
The mean relative difference between the observed and computed heat fluxes by the VWM with constraint during the daytime (0800–1800 LST) and nighttime (2000–0600 LST).

b. Sensitivity tests











































The RMSEs of sensible heat fluxes between the measured values and values estimated by the VOM method, namely, the weight of the mass conservation term (
Citation: Journal of Applied Meteorology and Climatology 53, 1; 10.1175/JAMC-D-13-0121.1

The RMSEs of sensible heat fluxes between the measured values and values estimated by the VWM with constraint for different weights: (a)
Citation: Journal of Applied Meteorology and Climatology 53, 1; 10.1175/JAMC-D-13-0121.1

The scatterplot of selected values of
Citation: Journal of Applied Meteorology and Climatology 53, 1; 10.1175/JAMC-D-13-0121.1
List of experiments, parameters of assumed





The sensible heat fluxes estimated by (a) VWM and (b) profile methods using different flux-profile functions.
Citation: Journal of Applied Meteorology and Climatology 53, 1; 10.1175/JAMC-D-13-0121.1
The MAEs (W m−2) and correlation coefficients (COR) of sensible heat fluxes estimated between different flux-profile empirical functions: B71, D74, S10, and BHH, employed by the VWM with constraint and profile methods (PFM). Here U and S stand for the unstable stratification and stable stratification, respectively.

To investigate the sensitivities of the estimated fluxes to the observational errors in wind, temperature, and specific humidity, eight sensitivity experiments were conducted. Errors of ±0.5 m s−1, ±0.2
Sensitivities of estimated fluxes to observational errors. Here BHH, VOM, and VWM denote the flux-profile method and variational method without and with mass conservation constraint, respectively.

5. Conclusions
In this study, the mass conservation principle, which is based on wind profiles and has clear physical meanings, is chosen as a weak constraint in the cost function in the variational method for turbulent flux calculations. With the mass conservation constraint, the number of observations in the cost function is greater than the number of unknown parameters, namely, the overdetermined situation, and only the conventional meteorological data are taken into consideration. By using the limited memory quasi-Newton algorithm for large-scale bound-constrained optimization (L-BFGS-B), the optical friction velocity, potential temperature, and specific humidity scales are scanned within predefined scales for estimation of momentum and sensible and latent heat fluxes.
Data collected by YRSRORS during 11–25 August 2010 at the Maqu observation site are used to test the variational method with mass conservation constraint (VWM). Briefly, the computational results of momentum and sensible and latent heat fluxes are consistent with the eddy-correlation measurements. In addition, it is shown that the VWM results are highly correlated with the measured fluxes. Biases of fluxes calculated by the VWM method are much smaller than that by the VOM method and by the conventional flux-profile method. Note that the heat fluxes estimated by the VWM agree better with the measurements under unstable conditions because of the sufficiently large number of samples and reliable stability functions.
Sensitivity tests of the weights in the cost function have been carried out for the VWM method. The results show that compared to the VOM, the effect of changing weights is insignificant in estimation of sensible heat flux. Although the estimated fluxes varied in a limited range, an evident linear relationship is found between the weight of the mass conservation term and that of the temperature difference term, resulting in smaller RMSEs. Moreover, the computed heat fluxes by the VWM have similar values when the weight of the specific humidity difference term is changed within certain scales. Relative to the VOM and the flux-profile method, the VWM method shows less sensitivity to errors in meteorological data. The sensible heat fluxes' sensitivity to errors in temperature and the latent heat fluxes' sensitivity to errors in specific humidity are greatly reduced in VWM than in VOM and BHH, whereas the heat fluxes' sensitivity to wind speed errors is intermediate. In addition, since no consensus has been reached on the stability functions experimentally, in the paper the sensible heat fluxes estimated by the VWM using different empirical functions are examined. The results show good agreement, especially for the stable cases, and the mean absolute errors of computed fluxes using different functions are only about half of those by the profile methods. This suggests that the stability function has no substantial impact on the VWM results. Hence, introducing the mass conservation into the cost function is a reliable and simple way to carry out flux calculations. It makes full use of the existing conventional observational information in an effective approach. It is noteworthy that the VWM can be applied for flux estimations over a heterogeneous underlying surface because the mass conservation applies to significantly heterogeneous terrain complexity (Andre and Blondin 1986).
This work was supported by National Key Basic Research and Development Project of China under Grants 2010CB428505 and 2011CB952002 and by the R&D Special Fund for Public Welfare Industry (Meteorology) under Grant GYHY201306025.
APPENDIX
Analytical Expressions of the Gradient Components




























































REFERENCES
Andre, J. C., , and C. Blondin, 1986: On the effective roughness length for use in numerical three-dimensional models. Bound.-Layer Meteor., 35, 231–245.
Beljaars, A. C. M., , and A. A. M. Holtslag, 1991: Flux parameterization over land surfaces for atmospheric models. J. Appl. Meteor., 30, 327–341.
Bertsekas, D. P., 1982: Projected Newton methods for optimization problems with simple constraints. SIAM J. Control Optim., 20, 221–246.
Businger, J. A., , J. C. Wyngaard, , Y. Izumi, , and E. F. Bradley, 1971: Flux profile relationships in the atmospheric surface layer. J. Atmos. Sci., 28, 181–189.
Cao, Z., , and J. Ma, 2005: An application of the variational method to computation of sensible heat flux over a deciduous forest. J. Appl. Meteor., 44, 144–152.
Cao, Z., , and J. Ma, 2009: A variational method for computation of sensible heat flux over the Arctic sea ice. J. Atmos. Oceanic Technol., 26, 838–845.
Cao, Z., , J. Ma, , and W. R. Rouse, 2006: Improving computation of sensible heat flux over a water surface using the variational method. J. Hydrometeor., 7, 678–686.
Cheng, Y., , and W. Brutsaert, 2005: Flux-profile relationships for wind speed and temperature in the stable atmospheric boundary layer. Bound.-Layer Meteor., 114, 519–538.
Conn, A. R., , N. I. M. Gould, , and P. H. L. Toint, 1988: Testing a class of methods for solving minimization problems with simple bounds on the variables. Math. Comput., 50, 399–430.
Daley, R., 1996: Atmospheric Data Analysis. Cambridge University Press, 457 pp.
De Bruin, H. A. R., , and C. J. Moore, 1985: Zero-plane displacement and roughness length for tall vegetation, derived from a simple mass conservation hypothesis. Bound.-Layer Meteor., 31, 39–49.
Dyer, A. J., 1974: A review of flux-profile relationships. Bound.-Layer Meteor., 7, 363–372.
Foken, T., , and B. Wichura, 1996: Tools for quality assessment of surface-based flux measurements. Agric. For. Meteor., 78, 83–105.
Foken, T., , M. Gockede, , M. Mauder, , L. Mahrt, , B. Amiro, , and W. Munger, 2004: Post-field data quality control. Handbook of Micrometeorology: A Guide for Surface Flux Measurement and Analysis, X. Lee, W. Massman, and B. Law, Eds., Kluwer Academic, 181–208.
Fritschen, L. J., , and J. R. Simpson, 1989: Surface energy and radiation balance systems: General description and improvements. J. Appl. Meteor., 28, 680–689.
Guilloteau, E., 1998: Optimized computation of transfer coefficients in surface layer with different momentum and heat roughness lengths. Bound.-Layer Meteor., 87, 147–160.
Högström, U., 1996: Review of some basic characteristics of the atmospheric surface layer. Bound.-Layer Meteor., 78, 215–246.
Lee, H., 1997: Improvement of surface flux calculation in the atmospheric layer. J. Appl. Meteor., 36, 1416–1423.
Li, S., , S. Lv, , Y. Liu, , Y. Zhang, , Y. Ao, , Y. Gao, , S. Cheng, , and L. Shang, 2006: Determination of aerodynamical parameter in Maqu Area in the upper reach of Yellow River and its application in land surface process model (in Chinese). Plateau Meteor., 29, 1408–1413.
Liu, D. C., , and J. Nocedal, 1989: On the limited memory BFGS method for large scale optimization. Math. Program., 45, 503–528.
Lo, A. K., 1990: On the determination of zero-plane displacement and roughness length for flow over forest canopy. Bound.-Layer Meteor., 51, 255–268.
Lo, A. K., 1995: Determination of zero-plane displacement and roughness length of a forest canopy using profiles of limited height. Bound.-Layer Meteor., 75, 381–402.
Lo, A. K., 1996: On the role of roughness lengths in flux parameterizations of boundary-layer models. Bound.-Layer Meteor., 80, 403–413.
Lorenc, A. C., 1986: Analysis methods for numerical weather prediction. Quart. J. Roy. Meteor. Soc., 112, 1177–1194.
Ma, J., , and S. M. Daggupaty, 2000: Using all observed information in a variational approach to measuring z0m and z0t. J. Appl. Meteor., 39, 1391–1401.
Marunich, S. V., 1971: Kharakteristiki turbulentnosti v usloviyakh lesa po gradientnym i strukturnym wablyudeniyam. Trudy G. G. I., 198, 154–165.
Molion, L. C. B., , and C. J. Moore, 1983: Estimating the zero-plane displacement for tall vegetation using a mass conservation method. Bound.-Layer Meteor., 26, 115–125.
Moré, J. J., , and D. J. Thuente, 1994: Line search algorithms with guaranteed sufficient decrease. ACM Trans. Math. Software, 20, 286–307.
Schaudt, K. J., 1998: A new method for estimating roughness parameters and evaluating the quality of observations. J. Appl. Meteor., 37, 470–476.
Song, X., , H. Zhang, , J. Chen, , and S. Park, 2010: Flux-gradient relationship in the atmospheric surface layer over the Gobi Desert in China. Bound.-Layer Meteor., 134, 487–498.
Tajchman, S. J., 1981: Comments on measuring turbulent exchange within and above forest canopy. Bull. Amer. Meteor. Soc., 62, 1550–1559.
Xu, Q., , and C. Qiu, 1997: A variational method for computing surface heat fluxes from ARM surface energy and radiation balance systems. J. Appl. Meteor., 36, 3–11.
Yang, K., , T. Koike, , H. Ishikawa, , J. Kim, , X. Li, , H. Liu, , S. Liu, , Y. Ma, , and J. Wang, 2008: Turbulent flux transfer over bare-soil surfaces: Characteristics and parameterization. J. Appl. Meteor. Climatol., 47, 276–290.
Yu, G., , X. Wen, , X. Sun, , B. D. Tanner, , X. Lee, , and J. Chen, 2006: Overview of ChinaFLUX and evaluation of its eddy covariance measurement. Agric. For. Meteor., 137, 125–137.
Zhang, S., , C. Qiu, , and W. Zhang, 2004: Estimating heat fluxes by merging profile formulae and the energy budget with a variational technique. Adv. Atmos. Sci., 21, 627–636.
Zhong, Z., , W. Lu, , S. Song, , and Y. Zhang, 2011: A new scheme for effective roughness length and effective zero-plane displacement in land surface models. J. Hydrometeor., 12, 1610–1620.
Zhu, C., , R. H. Byrd, , P. Lu, , and J. Nocedal, 1997: Algorithm 778: L-BFGS-B: Fortran subroutines for large-scale bound-constrained optimization. ACM Trans. Math. Software, 23, 550–560.