Page 1 of 1

bug in maxgust template?

Posted: Tue Dec 30, 2014 1:07 am
by stormpilgrim
Hi I have a Davis Vantage vue with a meteobridge sending data to a hosted MySQL database.

I noticed when I used the field in my database that is fed with [wind0wind-max2=kn.1] from the meteobridge I seem to be getting results grouped in certain values without "in between" values that I'd expect;
query.png
query.png (105.56 KiB) Viewed 4013 times
For example it seems unlikely I'd have 2222 results of 1.8kn and 3417 results of 2.5kn without anything in between?

I first noticed it when making the below chart when it had data only at certain ringed intervals;
WindScatter.png
WindScatter.png (103.97 KiB) Viewed 4012 times

Re: bug in maxgust template?

Posted: Tue Dec 30, 2014 2:17 am
by admin
Vantage delivers wind speed in mp/h without decimals. Therefore you have these steps.

Re: bug in maxgust template?

Posted: Tue Dec 30, 2014 5:40 am
by stormpilgrim
Ah I see thanks... would I be able to get around this by getting m/s instead and converting it myself to knots or would there be similar rounding issues?

*edit*
Actually according to vantage vue specs it can do a resolution of 1 km/h and 0.5 m/s - and 1km/h is 0.27 m/s - so it'd be great to use km/h - is this possible?

Re: bug in maxgust template?

Posted: Tue Dec 30, 2014 11:38 am
by admin
The Davis logger protocol just reports wind in a 1 mp/h resolution. There is nothing I can do against this.