bug in maxgust template?

Davis Vantage Pro2, Pro1 (not firmware A)

Moderator: Mattk

Post Reply
stormpilgrim
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Mon Nov 10, 2014 9:59 am

bug in maxgust template?

Post 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 4012 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 4011 times
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: bug in maxgust template?

Post by admin »

Vantage delivers wind speed in mp/h without decimals. Therefore you have these steps.
stormpilgrim
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Mon Nov 10, 2014 9:59 am

Re: bug in maxgust template?

Post 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?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: bug in maxgust template?

Post by admin »

The Davis logger protocol just reports wind in a 1 mp/h resolution. There is nothing I can do against this.
Post Reply