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 
<http://weewx.com/docs/5.1/reference/skin-options/units/#degreedays>.

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
On Monday 30 September 2024 at 18:31:13 UTC+10 [email protected] 
wrote:

> 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
>

-- 
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/b1c5e51a-c1fd-4b5a-b151-07d6444084d0n%40googlegroups.com.

Reply via email to