Vantage Pro2 Wind average and RMS integers

29 views
Skip to first unread message

Thomas Carlin

unread,
Jan 19, 2020, 10:35:20 PM1/19/20
to weewx-user
Good evening,

I know that the Vantage Pro2 reports wind speed in integer values, but the average should calculate out to a decimal value, however in my reports I only get the integer.  I have checked my skin config file, and both mile_per_hour and mile_per_hour2 are both %0.2f, (2 decimal points, right?) but my reports don't reflect this.  How can get a 2 decimal value in my reports for these averages?

Thank you all for the great software you have made available to us!

John Kline

unread,
Jan 19, 2020, 10:46:10 PM1/19/20
to weewx...@googlegroups.com
weewx.conf has the highest precedence and *might* be overriding your choice in skin.conf.  Another possibility is that you don’t have the correct number of brackets in your skin.conf entry.

Perhaps you could try the following and report back.

In weewx.conf, under the report in question (labeled XxxReport here), add the 3 lines below.  Or change them if they already exist.

[[XxxReport]]

[[[Units]]]
            [[[[StringFormats]]]]
                mile_per_hour = %.2f
                mile_per_hour2 = %.2f


On Jan 19, 2020, at 7:35 PM, Thomas Carlin <thomas...@gmail.com> wrote:


Good evening,

I know that the Vantage Pro2 reports wind speed in integer values, but the average should calculate out to a decimal value, however in my reports I only get the integer.  I have checked my skin config file, and both mile_per_hour and mile_per_hour2 are both %0.2f, (2 decimal points, right?) but my reports don't reflect this.  How can get a 2 decimal value in my reports for these averages?

Thank you all for the great software you have made available to us!

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cdd99d8a-96ee-4bd8-b3bc-191c08f08eeb%40googlegroups.com.

Thomas Keffer

unread,
Jan 19, 2020, 11:22:02 PM1/19/20
to weewx-user

--

Thomas Carlin

unread,
Jan 20, 2020, 12:24:07 AM1/20/20
to weewx...@googlegroups.com
Thanks all,
John: I did check and I don't have any string formats in weewx.conf, but I'll add them and see if it makes any difference, it will be tomorrow before I have a chance.

tk: I know I am using software record generation, as I have a home brew interface that doesn't support hardware generation, and my graphs look normal and continuous, unlike the one in the linked post.  The average and RMS values are calculated on the fly based on the archive record in the database, are they not?

For reference, my station is visible at Carlincomputing.duckdns.org/weewx if you can glean any useful information from there.



You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/m1BJlv8GOU4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/DF4C29E4-FB82-4157-AB3A-C48335CF6DB8%40johnkline.com.

Thomas Carlin

unread,
Jan 20, 2020, 12:33:11 AM1/20/20
to weewx-user
Never mind, John, you were absolutely right, weewx.conf had mile_per_hour = %.0f. corrected, restarted, and I'm good to go.

Thanks for pointing out the obvious for me!

Reply all
Reply to author
Forward
0 new messages