NOAA Reports - Heating Degree Days

83 views
Skip to first unread message

Rory Gillies

unread,
Sep 30, 2024, 4:31:13 AM9/30/24
to weewx-user
Hi, quick question about the heating degree days algorithm used in the NOAA text reports. I assume this uses the US base temperature of 18.3°C (65°F)? In the UK we use 15.5°C (59.9°F), is there any way of changing it to this?

Thanks,

Rory

gjr80

unread,
Sep 30, 2024, 5:02:55 AM9/30/24
to weewx-user
The simple part of the answer - you want a [Units] [[DegreeDays]] stanza in your skin config file. It's covered in the v5.1 documentation here.

The challenge you will now face is where to put your setting(s). The answer is it depends. You could create a [Units] [[DegreeDays]] stanza in your skin config file and those settings will apply to each report in your skin. You could alter your [StdReport] [[Defaults]] [[[Units]]] stanza in weewx.conf by adding your [[[[DegreeDays]]]] there, this would change the default settings for all reports (skins) but has the advantage of not needing any changes to any skin config files. You could also place a [[[Units]]] [[[[DegreeDays]]]] stanza under any of your reports (skins) listed under [StdReport] in weewx.conf. Any such settings would apply to only the report (skin) under which the settings are included.

Note the different number of [] on each stanza heading depending on where it is used. The documentation shows the correct number of [] for the skin config file, a different number of [] pairs are used in weewx.conf due to the stanzas being pushed further down the config hierarchy.

Really is a personal preference where to put skin settings. I prefer to keep my customisations in weewx.conf, it means I can freely upgrade/update skins and my customisations (well settings) are in one place only, but it does make my weewx.conf larger. Horses for courses.

Gary

Rory Gillies

unread,
Sep 30, 2024, 9:11:04 AM9/30/24
to weewx...@googlegroups.com
Thanks for the detailed response Gary, I should have said I am still on 4.10.2, are the base temperature stanzas available in this version? I like the idea of putting it in the Weewx config rather than the skin.

Rory

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/YtozXyVAtjM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b1c5e51a-c1fd-4b5a-b151-07d6444084d0n%40googlegroups.com.

Karen K

unread,
Sep 30, 2024, 9:19:33 AM9/30/24
to weewx-user
Rory Gillies schrieb am Montag, 30. September 2024 um 15:11:04 UTC+2:
Thanks for the detailed response Gary, I should have said I am still on 4.10.2, are the base temperature stanzas available in this version? I like the idea of putting it in the Weewx config rather than the skin.

Not changed between these versions.
 
Reply all
Reply to author
Forward
0 new messages