a week is a week not 7 days the start of the week is set by week_start to a day of the week where 0 = sunday, 1=Monday, 2=Tuesday etc
if you want the last 7 days then use $span($day_delta=7).rain.sum On Tuesday, 3 October 2017 18:09:59 UTC+3, Tom McCullough wrote: > I am having trouble listing weekly rain total. > In skins/Standard/week.html.tmpl is an item > $week.rain.sum which per weewx customization guide > “represents an aggregation over time, using a certain aggregation type. In > this example, the aggregation time is a week, and the aggregation type is > summation. So, this tag represents the total rainfall over a week.” > > In my case I expect a value of 0.51 inch, however the value displayed is > 0.16, > only the last of three days showing 0.13, 0.22, and 0.16. > > It appears that $week.rain.sum is aggregating only over the day that has > the most recent rain rather than the whole week as per the documentation. > Monthly summary for Sept 2017 shows total rain of 0.51. > > I am using weewx v3.7.1 running in a BeagleBone Black Debian distribution. > > Anyone know what is going on here? > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
