Noticed that the statistics.html page giving wrong data.

53 views
Skip to first unread message

Banana Bob

unread,
May 15, 2020, 1:49:14 AM5/15/20
to weewx-user

Screenshot from 2020-05-15 17-46-11.png

Please look at the screenshot and notice that the Year and the Rain Year columns give the same data. I suspect that this is not correct.

Andrew Milner

unread,
May 15, 2020, 2:01:39 AM5/15/20
to weewx-user
very hard to say from the screenshot!!  Do you have any rain recorded for between september 2019 and january 2020 which you believe should be added to the rain year total??

Banana Bob

unread,
May 15, 2020, 2:06:19 AM5/15/20
to weewx-user
If you right click on the screenshot and select view image you will get a large version. It will show exactly what I said that the last row contains the same data as the previous row.

Andrew Milner

unread,
May 15, 2020, 2:18:10 AM5/15/20
to weewx-user
Oh - I see what you mean - the year column and the rain year column are showing same values for ALL readings.

Doesn't that just imply that your rain year start is set to start January 1st rather than to some date in 2019??

Banana Bob

unread,
May 15, 2020, 2:24:27 AM5/15/20
to weewx-user
Sorry but maybe I am reading this page incorrectly. I was assuming that Rain Year was a column for how much Rain fell in the year. Does it have another meaning?

Andrew Milner

unread,
May 15, 2020, 2:35:05 AM5/15/20
to weewx-user
rain_year_start is a date set in weewx.conf - in the station_url section, and should be set to the month in which the rain year starts.

the rain year is then the period from rain year start to current date

so yes, i think you are misreading the column - the column represents a time period

Banana Bob

unread,
May 15, 2020, 3:38:52 AM5/15/20
to weewx-user
Andrew
Thanks very much for your help
What does the term Rain Year mean?
James

Andrew Milner

unread,
May 15, 2020, 4:02:58 AM5/15/20
to weewx-user
countries often measure annual rainfall as being the 12 monthes from the start of the rainy period (often september) rather than the annual calender period from january 1.  weewx caters for this by allowing the user to define the month when the annual period should start, in this case the reported annual rainfall will be for the current rain year rather than the calendar year.  If you want your rain year to start in september edit weewx.cong rain_year_start to be 9 rather than the default 1 (=january), and then you will see the two columns (year and rain year) will contain different values, one will be measuring from start of calendar year and one from start of rain year (as defined in weewx.conf).  Rain year is thus the timespan from from start of current rain year.

Banana Bob

unread,
May 15, 2020, 6:17:35 AM5/15/20
to weewx-user
Andrew
Thanks for that excellent explanation. Now all I have to do is find out the Rain Year for New Zealand.
James
Reply all
Reply to author
Forward
0 new messages