Wind rose with trend
Posted: Mon 18 Jan 2010 10:23 am
I have made a wind rose for average wind bearing http://www.retrodata.com/weather/vadretjustnu-it.asp and it works fine. I used a table background. (Really fun making your own site with the webtags!) It´s going to be implemented on a RC modelplane site.
But I want to present a wind trend, by showing the average wind bearing 1 hour ago and an arrow towards the present wind bearing. http://www.retrodata.com/weather/vindtrend.jpg . I managed to get my hands on the wind bearing data by putting the data into a array and calculated average for the first 10 min.
Issues:
Knowing from which direction the wind bearing comes from (less bearing or more bearing).
Making layers visible depending which wind bearings are involved (working with 360/22.5 numbers of layers and images).
Thinking right when the wind turns from bearing 10 to 270.
Have anyone done this?
But I want to present a wind trend, by showing the average wind bearing 1 hour ago and an arrow towards the present wind bearing. http://www.retrodata.com/weather/vindtrend.jpg . I managed to get my hands on the wind bearing data by putting the data into a array and calculated average for the first 10 min.
Issues:
Knowing from which direction the wind bearing comes from (less bearing or more bearing).
Making layers visible depending which wind bearings are involved (working with 360/22.5 numbers of layers and images).
Thinking right when the wind turns from bearing 10 to 270.
Have anyone done this?