Thanks.

What I'm trying to work out is if this is expected / correct behavior of 
weewx now.   Reading Gary's comment back in June 2020 sort of makes sense, 
but I'm still not 100% sure.

James

On Monday, May 3, 2021 at 7:19:03 PM UTC+1 Arend wrote:

> This new behaviour is caused by this WeeWX 4.5.1 commit:
>
>
> https://github.com/weewx/weewx/commit/a6098878562e4a35345051c45ee6aadf31edbdce
>
>             for stamp in weeutil.weeutil.intervalgen(startstamp, 
> stopstamp, aggregate_interval):
>                 # Get the aggregate as a ValueTuple
>                 agg_vt = get_aggregate(obs_type, stamp, do_aggregate, 
> db_manager)
> *                if agg_vt[0] is None:*
> *                    continue*
>                 if unit:
>                     # It's OK if the unit is unknown (=None).
>                     if agg_vt[1] is not None and (unit != agg_vt[1] or 
> unit_group != agg_vt[2]):
>
> Comment out the text marked as bold in xtypes.py to restore previous 
> behaviour or wait for Pat (or someone else) to create a fix for Belchertown 
> skin.
> Op maandag 3 mei 2021 om 19:48:20 UTC+2 schreef James Taylor:
>
>> Not sure.   Under weewx 4.4.0 my Temperature chart were as follows under 
>> Belchertown
>> [image: IMG_2780.png]
>>
>> Under weewx 4.5.1 it was displaying as the following
>>
>> [image: IMG_2781.png]
>>
>> I made no changes other than upgrade to 4.5.1.
>>
>> # Global Chart Defaults
>> # These are fallback options that charts will use if an option is not 
>> defined.
>> aggregate_type = None
>> time_length = 90000 # Last 25 hours
>> type = line
>> colors = "#7cb5ec, #b2df8a, #f7a35c, #8c6bb1, #dd3497, #e4d354, #268bd2, 
>> #f45b5b, #6a3d9a, #33a02c"
>> tooltip_date_format = "LLL"
>>
>> [day]
>>     # Chart Timespan Defaults
>>     title = "Today since Midnight"
>>     show_button = true
>>     button_text = "Day"
>>     time_length = today
>>     tooltip_date_format = "LLL"
>>
>>     aggregate_type = max
>>     aggregate_interval = 300
>>     gapsize = 300000 # This should be your archive_interval from 
>> weewx.conf multiplied by 1000 to get milliseconds. Standard is 5 minutes
>>
>>     [[chart1]]
>>         title = Temperature
>>         start_at_midnight = true
>>         [[[outTemp]]]
>>             zIndex = 1
>>             name = Temperature
>>         [[[windchill]]]
>>         [[[heatindex]]]
>>             color = "#f7a35c"
>>         [[[dewpoint]]]
>>             color = purple
>>
>> Obviously 4.4.0 came out this year so I'm wondering if something has been 
>> changed in Tom's code.
>>
>> James
>>
>> On Friday, April 9, 2021 at 7:08:29 AM UTC+1 grua...@gmail.com wrote:
>>
>>> should this still work with weewx 4.5.1 ?
>>>
>>> i updated and my full day charts are gone
>>>
>>> Manfred Maier schrieb am Montag, 15. Juni 2020 um 11:12:27 UTC+2:
>>>
>>>> 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-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e1cb79c1-15f1-460a-b2eb-31056bef7bb7n%40googlegroups.com.

Reply via email to