This calculation method is based upon comprehensive research carried out by Smith, Bourassa and Sharp (Florida State University) detailed in a paper titled "Establishing more truth in true winds" and published in the Journal of Atmospheric and Oceanic Technology (December 1999).
Originally developed for ships, the required parameters include the vessels course over the ground, speed over the ground, heading, any anemometer offset and observed wind speed and direction relative to the vessel. Note that the vessels heading (indicated by compass) and course over the ground (as measured by GPS track) may well be different due to the effects of tide and leeway.
The technique can also be applied to moving land platforms but in this case the course over the ground and heading values will almost certainly be the same. All calculations are performed in the mathematical coordinate system which has an angle of zero degrees on the positive x-axis with angles increasing in a counterclockwise direction. Each vector direction, originally defined using the meteorological conventions is converted to mathematical coordinates prior to other calculations. Primes (') denote values in math coordinates.
where h is the vessels heading, R the anemometer offset (if any) from zero and P the platform relative observed wind direction.
where positive Tu and Tv are eastwards and northwards components of the true wind in the earth reference frame.
The 270°converts the value of the arctan to a direction from which the wind is blowing (meteorological convention) in the earth coordinate system.