Does anyone have a neat formula for calculating average direction from a 16 direction wind vane ? I've tried to implement some consensus averaging, but I'm not convinced I have it right. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.buoy.com/pipermail/weather/attachments/20061110/d0e63515/attachment.htm