Many thanks m, made the change in manager.py as suggested and it is running now..
I'll keep my fingers crossed that one of the other gents may be able to suggest. No doubt it is am issue in the historic data; it was originally imported from wview several years ago. I am considering dumping the historical data when I get a new station, I rarely view back further than a few months. Regards, On Wednesday, September 6, 2017 at 9:30:42 PM UTC+10, mwall wrote: > > > On Wednesday, September 6, 2017 at 7:00:52 AM UTC-4, Damien Beeby wrote: >> >> Hi m, >> >> Station is WMR200 (hopefully not for much longer!) and its associated >> driver as present in the RPM. >> > > i thought there might be a problem with the historical packets from the > wmr200, but it *seems* to add the 'interval' field to historical records > (kinda hard to say without more study of the wmr200 driver). > > maybe gary or tom could help. it looks like something to do with the > accumulators, and there have been changes to manager.py since 3.7.1 was > released... > > as a short-term hack you could modify manager.py so that this: > > def _calc_weight(self, record): > weight = 60.0 * record['interval'] if self.version >= '2.0' else > 1.0 > return weight > > becomes this: > > def _calc_weight(self, record): > if 'interval' not in record: > return 1.0 > weight = 60.0 * record['interval'] if self.version >= '2.0' else > 1.0 > return weight > > that will make the calculations in the daily tables be non-weighted, but > at least weewx will run > > m > -- 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.
