Aggregates like heating, cooling, or growing degree-days are not hardwired
into WeeWX. They are actually XType extensions
<https://github.com/weewx/weewx/wiki/WeeWX-V4-user-defined-types>. You are
free to define your own extension, or even override the existing
definitions.

Take a look at class AggregateHeatCool
<https://github.com/weewx/weewx/blob/master/bin/weewx/xtypes.py#L484>, and
follow the pattern.

-tk

On Tue, Dec 15, 2020 at 8:13 AM Karen K <[email protected]> wrote:

> I found the aggregation type "growing degree day" ("growdeg").
>
> There is a special version of that in Europe. In Germany it is called
> "Grünlandtemperatursumme". I found no translation to English. The word in
> the subject is translated word by word.
>
> It is based on the daily average temperature, as growing degree day is.
> The base temperature is 0 degrees centigrade (32 degrees Fahrenheit).
>
>    - In January, all the values are multiplied by 0.5.
>    - In February, all the values are multiplied by 0.75.
>    - Form March on, the values are used as is.
>
> The sum is calculated from Jan. 1st to May 31st.
>
> The day, when the value exceeds 200 in spring (if calculated in
> centigrade), is considered the start of growing of the plants.
>
> Some german weather networks ask for those values (sum and date).
>
> It seems to me that the actual aggregation function does not cover that
> version.
>
>
>
> --
> 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/422873ce-dcbd-4e15-9748-573af73f6ccfn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/422873ce-dcbd-4e15-9748-573af73f6ccfn%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/CAPq0zEA%3DN-bJVwNNaBvtCSt7K-yabEWcp7Yz0-5yOzEc%2BZ2ohw%40mail.gmail.com.

Reply via email to