As for plotting the data, the number 1 rule for the weeWX plot engine is "it can only be plotted if it's stored in the archive". Heating and cooling degree days are not in the default weeWX schema nor are they calculated for each archive/loop period. Rather they are calculated as an aggregate over some period, eg $month.heatdeg.sum, for use in a cheetah generated report. I am sure heating and cooling degree days could be archived so that weeWX can plot them but there will be a bit of coding involved.
I know little of the life cycle of the cydia pomonella, but I suspect the NOAA format monthly report (with an adjusted base temp if required) may be the simplest approach to get the info you are after. A customised report could be produced that generates a running total, the report for the current month is updated each report cycle so it would be very close to being current (within an archive period) if that matters. If a more funky weeWX generated plot is required then I suspect there will be some significant work required.
Gary
Gary
Certainly interesting, and you've put a bit of work into it.
There is no link to the actual file.
The existing installer is missing files. It only has dead symlinks for
the required files.
May 18 16:18:26 hesba weewx-weewx[518]: reportengine: Caught unrecoverable exception in generator weewx.cydiagenerator.CydiaGenerator
May 18 16:18:26 hesba weewx-weewx[518]: **** 'dd_cumulative'
May 18 16:18:26 hesba weewx-weewx[518]: **** Traceback (most recent call last):
May 18 16:18:26 hesba weewx-weewx[518]: **** File "/home/weewx/bin/weewx/reportengine.py", line 239, in run
May 18 16:18:26 hesba weewx-weewx[518]: **** obj.start()
May 18 16:18:26 hesba weewx-weewx[518]: **** File "/home/weewx/bin/weewx/reportengine.py", line 273, in start
May 18 16:18:26 hesba weewx-weewx[518]: **** self.run()
May 18 16:18:26 hesba weewx-weewx[518]: **** File "/home/weewx/bin/weewx/cydiagenerator.py", line 90, in run
May 18 16:18:26 hesba weewx-weewx[518]: **** self.cydia_report_generator.recs = self.zip_vectors()
May 18 16:18:26 hesba weewx-weewx[518]: **** File "/home/weewx/bin/weewx/cydiagenerator.py", line 547, in zip_vectors
May 18 16:18:26 hesba weewx-weewx[518]: **** if rec['dd_cumulative'].raw > horizon_dd:
May 18 16:18:26 hesba weewx-weewx[518]: **** KeyError: 'dd_cumulative'
May 18 16:18:26 hesba weewx-weewx[518]: **** Generator terminated
May 18 16:18:26 hesba weewx-weewx[518]: copygenerator: copied 0 files to /home/weewx/public_html
#if rec['dd_cumulative'].raw > horizon_dd: <<---
for rec in result:finally have a look at http://wetter.hes61.de/index1.html the y-scale is degree_C