Trixology
WeatherCat => WeatherCat General Discussion => Topic started by: quanglewangle on June 26, 2014, 07:18:34 PM
-
Although the onscreen monitor reports wind direction to one decimal place, by the time it emerges from the GET request it is rounded to 45 degree increments. Is this behavior configurable? Could I get one degree resolution?
Peter
-
Hello Peter,
Have a look at the data WeatherCat is sending in the CGI pane of the preferences - every time it sends the data, it will be updated here. Is the data rounded there? If not, the issue is at the receiving end.
-
Thanks, WCDev. Yes, it is rounded in the CGI pane. The receiving end is mine and all I do is peel it off the GET request name-value pairs to convert it to XML for subsequent processing.
-
Thanks, that's what I thought you were going to see.
The WH1080/3080 output wind direction with a resolution to 22.5 degrees. What WeatherCat logs is the average wind direction, which it computes, but what is sent to the custom CGI is the immediate wind direction direct from the console; hence the 22.5 you're seeing (you can see the immediate wind direction from your station in the 'Live Data' view from WeatherCat's 'Tools' menu).
I'll raise a feature request to either change what we send to be the average wind direction for these stations, or add average wind direction to the protocol.
-
That's helpful and informative. I don't need the average. Instantaneous is fine. I am driving display dials and the volatility in the pointer movements actually conveys some subjective "blustery-ness" information to the viewer.
I didn't know about the "live data" display. I just didn't understand why the figure in the "log" display was different (and apparently higher resolution) from what was emerging from the CGI feed. Now I do!
Thanks again.
Peter
-
FYI below is a link to what I am putting together - its very much work in progress and only the gauges work, not any pages. The gauges are based on the svg ones by veleta.info but I have removed the purely decorative background and added animation.
The pages *should* be responsive i.e. should display nicely on a mobile phone browser.
Check this out. Warning Incomplete.
http://www.fimblefowl.co.uk/respWeather/ (http://www.fimblefowl.co.uk/respWeather/)
Peter
-
Starting to look nice Peter.