If it is any help. The boys from Berkeley have an routine for averaging the anemometer direction. It is somewhat specific to their product, but the explanation may be of help. Has links to the math routines.
http://www.emesystems.com/OL2wind.htm#Wind_vane
Bookmarks