heating_base

62 views
Skip to first unread message

MaKi68

unread,
Mar 6, 2024, 4:27:27 AM3/6/24
to weewx-user
Hello,
Where do I need to change the heating_base so that the value is used for NOAA and history reports?
I have changed the heating_base in
[StdReport]
     [[Defaults]]
         [[[Units]]]
             [[[[DegreeDays]]]]
                 heating_base = 20, degree_C
but this value is only used in the NOAA report and not in the history report (heatdeg).

I'm using weewx 5.0.2 pip on a Raspi5 with a Vantage Pro2.

Thanks in advance
LG Manfred

gjr80

unread,
Mar 6, 2024, 4:43:45 AM3/6/24
to weewx-user
I'm familiar with heating degree days in the NOAA reports but what are the 'history reports' you refer to?

Gary

MaKi68

unread,
Mar 6, 2024, 7:24:04 AM3/6/24
to weewx-user
Like this:
https://season.wetter-ruppersthal.at/
All-time

Now i edited xtypes.py (/home/pi/weewx-venv/lib/python3.11/site-packages/weewx)
class AggregateHeatCool(XType):
    """Calculate heating and cooling degree-days."""

    # Default base temperature and unit type for heating and cooling degree days,
    # as a value tuple
    default_heatbase = (20.0, "degree_C", "group_temperature")
and it works for history-report.
For NOAA-report I have to edit it in weewx.conf.
Reply all
Reply to author
Forward
0 new messages