The Yamartino method is an algorithm for calculating an approximation of wind direction during a single pass through the incoming data.