No. You'd have to either create a WeeWX extension that calculates year-to-date rain and puts it in the database as a separate type, or create an xtypes extension <https://github.com/weewx/weewx/wiki/WeeWX-V4-user-defined-types>.
On Thu, Oct 8, 2020 at 1:42 PM Invisible Man <[email protected]> wrote: > *It works ! Indeed it had not been refreshed !* > > Now next question : the year grouping is for the last 12 months. Is there > a way to get only data for a given year ?, e.g 2020. So if I'm in October, > that'll be only 10 months of cumulated data. > > On Thursday, October 8, 2020 at 12:13:06 AM UTC+2 [email protected] wrote: > >> Are you sure you are looking at a new image? Images do not get refreshed >> any longer than their aggregation interval, which, in this case, would be >> once a week. >> >> Delete the image, wait for the next reporting cycle. >> >> On Wed, Oct 7, 2020 at 1:42 PM Invisible Man <[email protected]> >> wrote: >> >>> Hmmm... looks like it doesn't change anything... ? >>> >>> [[[yearrain]]] >>> yscale = None, None, 0.02 >>> plot_type = bar >>> [[[[rain]]]] >>> aggregate_type = cumulative >>> # aggregate_interval = 2629800 # Magic number: the >>> length of a nominal month >>> aggregate_interval = 604800 # == 1 week >>> label = Rain (weekly total) >>> >>> >>> On Wednesday, October 7, 2020 at 1:40:39 AM UTC+2 [email protected] >>> wrote: >>> >>>> Try >>>> >>>> aggregate_type = cumulative >>>> >>>> >>>> >>>> >>>> On Tue, Oct 6, 2020 at 11:49 AM Invisible Man <[email protected]> >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> In Weewx, is it possible to generate a graph with cumulated bars? For >>>>> example, for year's rain, you'd see rain in January, then rain of January >>>>> + >>>>> February, then rain of January + February + March etc. >>>>> >>>>> In skin.conf, I see this config. But tweaking the aggregate interval >>>>> won't help me, because it won't sum the previous months... And plot_type >>>>> only has bar, line or vector available. >>>>> >>>>> So, is this possible ? >>>>> Thanks >>>>> >>>>> [[[yearrain]]] >>>>> yscale = None, None, 0.02 >>>>> plot_type = bar >>>>> [[[[rain]]]] >>>>> aggregate_type = sum >>>>> # aggregate_interval = 2629800 # Magic number: the >>>>> length of a nominal month >>>>> aggregate_interval = 604800 # == 1 week >>>>> label = Rain (weekly total) >>>>> >>>>> -- >>>>> 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]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/4cd03028-e945-47b6-8b78-9cca1b22711fn%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/4cd03028-e945-47b6-8b78-9cca1b22711fn%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> 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]. >>> >> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/2b314311-1f5f-44e6-ae16-17a6cf6c313cn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-user/2b314311-1f5f-44e6-ae16-17a6cf6c313cn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/731133fd-0944-4e18-8ee4-9cf066895c85n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/731133fd-0944-4e18-8ee4-9cf066895c85n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEC7uh7Q-Du-DdH%3D5Auhc6B4p9Xvfkuo%2BU0hb8CST5k-xw%40mail.gmail.com.
