Yamartino method

From Wikipedia, the free encyclopedia

The Yamartino method is an algorithm for calculating an approximation to the standard deviation σθ of wind direction θ during a single pass through the incoming data.[1] The standard deviation of wind direction is a measure of lateral turbulence, and is used in a method for estimating the Pasquill stability category.

The typical method for calculating standard deviation requires two passes through the list of values. The first pass determines the average of those values; the second pass determines the sum of the squared differences between the values and the average. This double-pass method requires access to all values, and special consideration must be made for a discontinuous variable such as wind direction.

The single-pass method is used as a rapid way to compute a standard deviation, although this method is not practical for angular data such as wind direction.

The Yamartino method avoids the need to have access to the original n values of wind direction. The United States Environmental Protection Agency (EPA) has chosen it as the preferred way to compute the standard deviation of wind direction.[2]

[edit] Algorithm

During the single pass through n values of wind direction measurements (θ) two values are computed; the average values of sin θ defined as

s_a=n^{-1}\sum_{i=1}^n \sin \theta_i,

and average cos θ

c_a=n^{-1}\sum_{i=1}^n \cos \theta_i.

The average wind direction is then given as

\theta_a=\tan^{-1} \left (\frac{s_a}{c_a} \right ).

From twenty different functions for θ using variables obtained in a single-pass of the wind direction data Yamartino found the best function to be

\sigma_\theta = \sin^{-1} (\varepsilon) \left[1+\left(\tfrac{2}{\sqrt 3} -1\right)\varepsilon^3\right],

where

\varepsilon=\sqrt{1-(s^2_a+c^2_a)}.

The use of \varepsilon alone produces a result close to that produced with a double-pass when the dispersion of angles (in radians) is small, but by construction it is always between 0 and 1. Taking the arcsine then produces the double-pass answer when there are just two equally common angles: in the extreme case of an oscillating wind blowing backwards and forwards, it produces a result of \tfrac{\pi}{2} radians, i.e. a right angle. The final factor adjusts this figure upwards so that it produces the double-pass result of \tfrac{\pi}{\sqrt{3}} radians for an almost uniform distribution of angles across all directions, while making minimal change to results for small dispersions.

The theoretical maximum error against the correct double-pass σθ is therefore about 15% with an oscillating wind. Comparisons against Monte Carlo generated cases indicate that Yamartino's algorithm is within 2% for more realistic distributions.

[edit] References

  1. ^ Yamartino, R.J. (1984). "A Comparison of Several "Single-Pass" Estimators of the Standard Deviation of Wind Direction". Journal of Climate and Applied Meteorology 23: 1362–1366. doi:10.1175/1520-0450(1984)023<1362:ACOSPE>2.0.CO;2. 
  2. ^ Meteorological Monitoring Guidance for Regulatory Modeling Applications (section 6.2.1)