Confirming this. The problem is one too many sets of brackets around the
DegreeDays section in weewx.conf. Work around is to remove one set of
brackets. Same with Trend. So, instead of this
# The following section sets the base temperatures used for
the
# calculation of heating and cooling degree-days.
[[[[[DegreeDays]]]]]
# Base temperature for heating days, with unit:
heating_base = 60, degree_F
# Base temperature for cooling days, with unit:
cooling_base = 60, degree_F
# Base temperature for growing days, with unit:
growing_base = 50, degree_F
# A trend takes a difference across a time period. The
following
# section sets the time period, and how big an error is
allowed to
# still be counted as the start or end of a period.
[[[[[Trend]]]]]
time_delta = 10800 # 3 hours
time_grace = 300 # 5 minutes
you want this
# The following section sets the base temperatures used for
the
# calculation of heating and cooling degree-days.
[[[[DegreeDays]]]]
# Base temperature for heating days, with unit:
heating_base = 60, degree_F
# Base temperature for cooling days, with unit:
cooling_base = 60, degree_F
# Base temperature for growing days, with unit:
growing_base = 50, degree_F
# A trend takes a difference across a time period. The
following
# section sets the time period, and how big an error is
allowed to
# still be counted as the start or end of a period.
[[[[Trend]]]]
time_delta = 10800 # 3 hours
time_grace = 300 # 5 minutes
I've opened up issue #432 <https://github.com/weewx/weewx/issues/432> to
track. Thanks for finding this!
-tk
On Sun, Jul 14, 2019 at 1:32 AM mph <[email protected]> wrote:
>
> Hello,
>
> I'd decided to change my base temperatures for DegreeDays and NOAA reports.
>
> I've changed the values in /etc/weewx/weex.conf
>
> pi@rpi-meteo:~ $ grep "_base" -r /etc/weewx/*
>> /etc/weewx/weewx.conf: heating_base = 21, degree_C
>> /etc/weewx/weewx.conf: cooling_base = 25, degree_C
>>
>
> then restarted weewx and deleted all the content of the
> var/weewx/reports/NOAA directory.
>
> The NOAA reports were re-generated, but the reports and thus base
> temperatures are still the same (avg_temp - cool_days_deg = 18.3 ~ 65,
> degree_F)
> I've dropped and regenerated the weewx daily data
>
> sudo service weewx stop
>> sudo wee_database --drop-daily
>> sudo wee_database --rebuild-daily
>> sudo service weewx start
>>
>
> Then I've slightly modified the NOAA templates to be sure the reports are
> newly generated, and then removed the old reports again.
> The reports were re-generated, see example NOAA-2019-06.txt in
> attachment. But there's still no change in the DegDays calculations -
> compare to an old NOAA-2019-06_backup.txt.
>
> Seems the weewx.conf values are ignored, the default *_base value "65,
> degree_F" is always used.
> Or am I doing something wrong?
>
> --
> 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/3befa67e-d797-4248-816b-f00cf2039c86%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/3befa67e-d797-4248-816b-f00cf2039c86%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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/CAPq0zEDcoOeUfcx_rKthda5hnHyRmqpTQBUBF50B2BPNsvrNOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.