Tom - FWIW aeons ago I went the other way on my site and changed the links to the plots to say past 24 hrs, past 7 days, past 30 days and past year rather than the standard nomenclature of yesterday, week and month
Andrew On Tuesday, 3 October 2017 23:29:30 UTC+3, Tom Keffer wrote: > 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] > <javascript:>> 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] <javascript:>. >> 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.
