Oupss It seems to be correct but the aggregate_interval is not correct, every 5 mn instead of 1 day for monthly graphic... aggregate_type=none is not appropriate... (with aggregate_type=last the curve continue after "now") I think the problem is linked with rainTotal variable,
Le lun. 22 juin 2020 à 22:18, Didier Decoodt <didier.deco...@gmail.com> a écrit : > Thanks for this documentation > > Le lun. 22 juin 2020 à 21:10, Pat <p...@obrienphoto.net> a écrit : > >> rain total works? That's good though I don't know how! :) >> >> For the aggregates, Belchertown borrows that from weewx's Seasons and >> Standard skins. Here's more information from their documentation >> <http://weewx.com/docs/customizing.htm#Individual_line_options>. >> >> On Monday, June 22, 2020 at 2:47:40 PM UTC-4, Didier Decoodt wrote: >>> >>> Pat, I put aggregate_type = none instead of max, and it's work!!! >>> I don't really understand aggregate_type effect.... >>> differences between none, sum, min, max and avg? >>> [image: image.png] >>> >>> Le lun. 22 juin 2020 à 19:40, Pat <p...@obrienphoto.net> a écrit : >>> >> I raised this as an issue <https://github.com/weewx/weewx/issues/577>and >>>> Tom mentioned for the day charts you should probably be using last as the >>>> aggregate, not max. >>>> >>>> I'll look into rainTotal since that's a Belchertown observation. >>>> >>>> >>>> On Friday, June 19, 2020 at 2:02:44 PM UTC-4, Pat wrote: >>>>> >>>>> No, not sure. I assume it's because the data points aren't reset to >>>>> "None" using this new way of getting data for the rain observation? >>>>> >>>>> Gary - did you create an issue for this? I'd hate to patch something >>>>> in the skin to only undo it if/when Tom properly patches this. >>>>> >>>>> On Friday, June 19, 2020 at 1:06:11 PM UTC-4, didier....@gmail.com >>>>> wrote: >>>>>> >>>>>> Oh, just a small problem: >>>>>> For Rain graph, the curve continue after "now"! (screenshot attached) >>>>>> All others curves stop at datetime=now, it's correct) >>>>>> The problem concern "rainTotal" and is also available for day, week, >>>>>> month and year time_length >>>>>> Have you an idea? >>>>>> >>>>>> hereafter the part of grah.conf >>>>>> >>>>>> [week] >>>>>> # Chart Timespan Defaults >>>>>> title = "Cette semaine" >>>>>> show_button = true >>>>>> button_text = "SEMAINE" >>>>>> time_length = week >>>>>> tooltip_date_format = "LLLL" >>>>>> type = spline >>>>>> aggregate_type = max >>>>>> aggregate_interval = 3600 # 1 hour >>>>>> gapsize = 3600000 # 1 hour in milliseconds >>>>>> >>>>>> [[chart1]] >>>>>> title = Température >>>>>> [[[outTemp]]] >>>>>> color = "#b2df8a" >>>>>> [[[dewpoint]]] >>>>>> yAxis_label = ( °C ) >>>>>> yAxis_tickInterval = 2 >>>>>> yAxis_softMin = 0 >>>>>> >>>>>> [[chart2]] >>>>>> title = Pluie >>>>>> [[[rainTotal]]] <============ Problem >>>>>> color = "#f7a35c" >>>>>> name = Cumul >>>>>> [[[rain]]] >>>>>> color = "#268bd2" >>>>>> aggregate_type = sum >>>>>> name = pluie >>>>>> type = column >>>>>> yAxis_tickInterval = 1 >>>>>> yAxis_label = ( mm ) >>>>>> yAxis_min = 0 >>>>>> >>>>>> >>>>>> Le lundi 15 juin 2020 à 14:58:26 UTC+2, Pat a écrit : >>>>>> >>>>>>> Awesome! Glad that it worked for you >>>>>>> >>>>>>> >>>>>>> On Monday, June 15, 2020 at 5:29:59 AM UTC-4, didier....@gmail.com >>>>>>> wrote: >>>>>>>> >>>>>>>> Thanks it's work !!!! >>>>>>>> >>>>>>>> >>>>>>>> Le lundi 15 juin 2020 à 11:12:27 UTC+2, Manfred Maier a écrit : >>>>>>>> >>>>>>>>> Thanks, Gary, for this comprehensive explanation. >>>>>>>>> >>>>>>>>> Based on what you wrote I was now able to plot an entire day. >>>>>>>>> >>>>>>>>> [image: Bildschirmfoto 2020-06-15 um 11.07.53.png] >>>>>>>>> >>>>>>>>> The trick is quite simple: I just had to define an aggregation for >>>>>>>>> the daily charts. I.e. adding the following two lines to the >>>>>>>>> graphs.conf: >>>>>>>>> >>>>>>>>> aggregate_type = max >>>>>>>>> >>>>>>>>> aggregate_interval = 300 >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>> 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...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/35aa4d91-2dd6-4fc5-882d-78ddfd99c18co%40googlegroups.com >>>> <https://groups.google.com/d/msgid/weewx-user/35aa4d91-2dd6-4fc5-882d-78ddfd99c18co%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 weewx-user+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/d738ffbd-0729-42a0-8b0e-15aa37381d95o%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/d738ffbd-0729-42a0-8b0e-15aa37381d95o%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAAvt3%3DRr1moeyZp5FLHrz86KftF-g_7uLK99KRDshbycXuqtEw%40mail.gmail.com.