-------- Forwarded Message --------
Subject:        Re: [weewx-user] Rain cumulative total wrong total in graph
Date:   Sat, 24 Jun 2023 14:42:09 +0200
From:   Rainer Lang <[email protected]>
To:     [email protected]



the below works for me ...
        [[[yearrain1]]]
            # Make sure the y-axis increment is at least 0.02 for the rain plot
            yscale = None, None, 0.02
            plot_type = bar
            width = 1
            [[[[rain1]]]]
                fill_color = "#ff4500"  #red
                 data_binding = wx_binding
                 data_type = rain
                aggregate_type = cumulative
                label = text

On 24.06.2023 08:42, Greg Reive wrote:
I just want the cumulative total for the year to date.
It seems to work for day, week, month.

On Sat, 24 June 2023, 16:40 Graham Eddy, <[email protected]> wrote:

    i just assumed you were comparing aggregation of 12 months with
    aggregation since start of rainyear
    *⊣GE⊢*

    On 24 Jun 2023, at 3:52 pm, Greg from Oz <[email protected]> wrote:

    I put this part in:
                  rain_year_start = 1
    But still not correct.


    On Saturday, 24 June 2023 at 15:03:26 UTC+10 Greg Reive wrote:

        What do you mean rain year date?


        On Sat, 24 June 2023, 14:50 Graham Eddy, <[email protected]> wrote:

            rainyear date?
            *⊣GE⊢*

            On 24 Jun 2023, at 2:27 pm, Greg from Oz
            <[email protected]> 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 mysql

            Here 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.5
            It generates the graph:
            <weewxcumulative.png>
            The total weewx tells me for the year is:
            478.8 mm
            which is nowhere near the 1200 on the graph.
            Very strange the other graphs work.

            Here is my web page:
            https://weather.ubeaut.work/year.html

            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 [email protected].
            To view this discussion on the web visit
            
https://groups.google.com/d/msgid/weewx-user/97c7b8b9-d177-465a-b258-692a1e06226dn%40googlegroups.com
            
<https://groups.google.com/d/msgid/weewx-user/97c7b8b9-d177-465a-b258-692a1e06226dn%40googlegroups.com?utm_medium=email&utm_source=footer>.
            <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 [email protected].
            To view this discussion on the web visit
            
https://groups.google.com/d/msgid/weewx-user/35952BFA-6255-4349-88DD-E1BB7B954697%40geddy.au
            
<https://groups.google.com/d/msgid/weewx-user/35952BFA-6255-4349-88DD-E1BB7B954697%40geddy.au?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/4665860b-848b-4ac9-8231-b266de44581fn%40googlegroups.com
    
<https://groups.google.com/d/msgid/weewx-user/4665860b-848b-4ac9-8231-b266de44581fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 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 [email protected].
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/weewx-user/E8B1FD15-0728-4F55-9756-9C86FAAD67AE%40geddy.au
    
<https://groups.google.com/d/msgid/weewx-user/E8B1FD15-0728-4F55-9756-9C86FAAD67AE%40geddy.au?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/CAD_tbc-uuQx8J3%2B44SLoHsvS-1w6qZpzm55veuPc4ZGzDCQqtw%40mail.gmail.com <https://groups.google.com/d/msgid/weewx-user/CAD_tbc-uuQx8J3%2B44SLoHsvS-1w6qZpzm55veuPc4ZGzDCQqtw%40mail.gmail.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/145f45bc-ab5f-bbeb-61de-f56ae9d8543e%40gmail.com.

Reply via email to