Ah, so there is a special hack included for that problem.

Thank you for explaining.

[email protected] schrieb am Montag, 30. November 2020 um 03:33:06 UTC+1:

> An aggregate_interval of 365.25 / 12 * 24 * 3600 = 2629800 is a "magic 
> number" and recognized by WeeWX as a nominal month. 
>
> The example you gave should get you what you want: monthly highs, lows, 
> and averages.
>
> On Sun, Nov 29, 2020 at 10:10 AM Karen K <[email protected]> wrote:
>
>> To create a diagramm I have to set a value for "aggregate_interval" in 
>> seconds. That works fine for days and weeks, as they are always the same 
>> length in seconds. In contrast, months have a variable length of 28, 30, or 
>> 31 days. Even 29 days are possible sometimes. So, is there a possibility to 
>> aggregate by calendar month?
>>
>> And then, it is not sure, that the aggregation interval starts at the 
>> beginning of a month.
>> Is there any possibility to force that?
>>
>> Example:
>>     [[[yearhilowmonth]]] 
>>         time_length = 31536000 # 365 days 
>>         aggregate_interval = 2629800 # month?
>>         line_gap_fraction = None 
>>         [[[[hi]]]] 
>>             data_type = outTemp 
>>             aggregate_type = max 
>>             label = month max 
>>         [[[[low]]]] 
>>             data_type = outTemp 
>>             aggregate_type = min 
>>             label = min 
>>         [[[[avg]]]] 
>>             data_type = outTemp 
>>             aggregate_type = avg 
>>             label = average temperature
>>
>> -- 
>> 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/fff1ce23-4428-4fea-bf8d-165b95c27624n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/fff1ce23-4428-4fea-bf8d-165b95c27624n%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/731fa600-86b4-46a2-856c-6204ba956a80n%40googlegroups.com.

Reply via email to