Almost. "trend_dict" is undefined.
So, I looked thru the weewx codebase and found this bit of code in
cheetahgenerator.py that I inserted prior to the "all_stats =
TimespanBinder(timespan)" line in xstats.py:
try:
trend_dict = self.generator.skin_dict['Units']['Trend']
except KeyError:
trend_dict = {'time_delta' : 10800,
'time_grace' : 300}
Now, $seven_day.heatdeg.sum works!
--
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].
For more options, visit https://groups.google.com/d/optout.