
On 24 Jun 2023, at 2:27 pm, Greg from Oz <ubea...@gmail.com> wrote:
I have made a graph to show the cumulative rainfall and it seems to show the correct values on the graphs for day, week and month. They tally up with the figures that weewx has calculated but the year total is way out and the graph numbers are way out as well.I cannot see why it would be so different.I am using weewx version 4.10.2 and mysqlHere is the year configuration I am using which is similar to the day, week and month.[[[yearraincumulation]]]
[[[[rain1]]]]
data_binding = wx_binding
data_type = rain
aggregate_type = cumulative
aggregate_interval = 604800 #1 day
label = Rain cumulative
plot_type = line
line_type = solid
line_gap_fraction = 0.5It generates the graph:
<weewxcumulative.png>The total weewx tells me for the year is:478.8 mmwhich is nowhere near the 1200 on the graph.Very strange the other graphs work.Here is my web page:Any ideas?Thanks
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/97c7b8b9-d177-465a-b258-692a1e06226dn%40googlegroups.com.
<weewxcumulative.png>
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/35952BFA-6255-4349-88DD-E1BB7B954697%40geddy.au.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4665860b-848b-4ac9-8231-b266de44581fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/E8B1FD15-0728-4F55-9756-9C86FAAD67AE%40geddy.au.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAD_tbc-uuQx8J3%2B44SLoHsvS-1w6qZpzm55veuPc4ZGzDCQqtw%40mail.gmail.com.


Thanks Gary I will try your extension.The instructions say to do this:The above is not found .Should be below statement:?
OK I have installed the extension and it seems to work!Thanks GaryYou might want to put in the documentation about how to set the reset times examples.I used:reset = dayreset = weekreset =monthreset = year[[[yearraincumulation]]]
[[[[rain1]]]]
data_binding = wx_bindingrain_year_start = 1
data_type = rain
aggregate_type = cumulative
aggregate_interval = 604800 #1 day
label = Rain cumulative
plot_type = line
line_type = solid
line_gap_fraction = 0.5reset = year
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f9f2d466-681d-4570-82be-71998ff2eba7n%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/Td-2dHCXwaA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/3684743c-e491-5297-5e7c-37b2d49a6729%40gmail.com.
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAD_tbc8b5E47XCULGH9%2BLnaT%3DgC%3DJca26k-JptVA0sTrJf_Gng%40mail.gmail.com.