Warning  This page is not for the faint heartedWind shear describes the change in wind speed as it gets closer to the ground. Experiments by the Danish Wind Industry Association (The world leaders in wind power technology) have developed a mathematical function that gives an estimated wind speed at any height given a measured mean wind speed at a known height and a description of ground roughness.
We calculate wind shear based on this calculation supplied by The Danish Wind Industry Association. v = v^{ref} ln(z/z^{0})/ln(z^{ref}/z^{0})
 v = wind speed at height z above ground level.
 v^{ref} = reference speed, i.e. a wind speed we already know at height z^{ref}. ln(...) is the natural logarithm function.
 z = height above ground level for the desired velocity, v.
 z^{0} = roughness length in the current wind direction.
Roughness lengths may be found in the Reference Manual .
 z^{ref} = reference height, i.e. the height where we know the exact wind speed v^{ref}.
Source: http://www.windpower.org/en/tour/wres/shear.htm
