There is an inconsistency there. As Andrew says, $week.rain.sum returns the "rain since Sunday."
By contrast, the plots show aggregation "over seven days," the start of which is almost arbitrary. It's set by whatever is the current day. That should probably be changed to aggregations over the week starting on Sunday. I've started issue #279 <https://github.com/weewx/weewx/issues/279> to track this. -tk On Tue, Oct 3, 2017 at 10:05 AM, Tom McCullough <[email protected]> wrote: > Thanks Andrew, that works much better. Now matches the chart, which shows > a 7-day week anyway. > -Tom > > On Tuesday, October 3, 2017 at 10:47:50 AM UTC-5, Andrew Milner wrote: >> >> 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 >> >> -- > 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. > -- 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.
