If this is the case, then the most likely problem is too low a number for "line_gap_fraction". Try upping it to 0.5, or even higher.
On Sun, Dec 4, 2022 at 10:13 AM [email protected] <[email protected]> wrote: > I have now tried to change the driver, so all reports send to weewx > contains a 'rain'. This seems to work around the problem (see attached > graph). > This workaround will require me to alter the database (which is not a big > issue) for older observations, but it is in my eyes not a good solution. On > the other hand, it seems to point at 'rain' records being 'None' is causing > the problem.. > > I have tried to play around with the get_scalar function in wxxtypes.py, > as it contains references to cumulative, and it could have something to do > with it, but with no effect. > > Regards > Henrik Ostergaard > > On Sunday, December 4, 2022 at 4:55:42 PM UTC+1 [email protected] > wrote: > >> Thanks for the answer! >> Very interesting that it is working for you! >> I have attached the requested files. >> One note: I get sensor data from multiple sources through the same >> driver, meaning that the packets send to Weewx mostly does not have any >> rain entry. I wonder if it would help to just always add a rain zero.. I >> can try that. >> Btw, the server can be seen on vejr.ostergaard.net. >> Weewx version 4.9.1. >> >> Regards >> Henrik Ostergaard >> >> On Sunday, December 4, 2022 at 2:06:09 PM UTC+1 [email protected] wrote: >> >>> Just tried it, and it works for me. >>> >>> [image: image.png] >>> >>> It's hard to go any further without seeing your configuration files. >>> Post the [StdReport] section of weewx.conf, and the entire skin.conf of >>> whatever skin you are using (looks like Standard). >>> >>> -tk >>> >>> On Sun, Dec 4, 2022 at 4:10 AM [email protected] < >>> [email protected]> wrote: >>> >>>> Hi, >>>> >>>> A few years ago, I came up with the cumulative aggregation type >>>> specifically for total rain graphs. Since then, Weewx has been updated a >>>> few times, and now the cumulative aggregation seems broken. >>>> >>>> It correctly sums up the totals, but the graphs will show zero (or >>>> None?) for intervals without rain, in stead of shoving the total so far. >>>> >>>> I have been looking a little into this, but I could not readily see >>>> where the problem is. If somebody could point me in the right direction, I >>>> would be happy to give it a try to fix it. >>>> >>>> If it is just a setting, I have missed, please let me know. >>>> >>>> I have enclosed an example of a daily total rain, and a yearly to show >>>> how I would have expected it (almost). >>>> >>>> Regards >>>> Henrik Ostergaard >>>> >>>> -- >>>> 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/5c24114c-965d-4095-9b29-a29c89f1ce22n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/weewx-user/5c24114c-965d-4095-9b29-a29c89f1ce22n%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/1f0ab70e-3e92-47af-b74a-5e250890e60bn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/1f0ab70e-3e92-47af-b74a-5e250890e60bn%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/CAPq0zEAKMQHyneK%3DoHaPZVw1S%3D-WcO6f6YpqS8-yWTE-OR_vog%40mail.gmail.com.
