Winddirection

Hi Brian,

When the winddirection Is mostly North, the direction arrow (the red and green one) doesnt move smoothly but with steps…

in WD or WDL?

Sorry, In wd mainscreen direction dial.
Latest build.

there has been no change to the code with the way this works , so its not related to the latest version
maybe your station has some data points missing around north

Good morning Brian,

No, its doing this since you got wd working with my setup.
This is the piece of crbasic regarding the winddirection used for my program regarding the .dat output:

If Windr > 360 Then Windr = Windr - 360
If Windr < 0 Then Windr = Windr + 360
If Windr>=360 Then Windr=0

I dont know which values are used by eg davis winddirection values? 0-359 or 0-360 and its resolution…

My windvane has a range of 0 to 360 degrees, divided via a 6 bits Gray Code in 64 directions. Consequently its resolution is 5.6

Hi Brian,

May I conclude that by the absence of a response (to my last reaction) it is not going to be resolved/looked at? Then we can close this subject yes?

its not clear to me what the info you have provided is trying to day
as that code sample implies the raw value can go over 360 or below 0 and yet the range value you provided is 0 to 360, which is fine for what WD accepts and uses

Thanks alot Brian, much appreciated.

as a side note, in wdl its working fine…