Matthew,

You did commit d4ff72d
<https://github.com/weewx/weewx/commit/d4ff72d8dc8775dec72f8cfbc6a17ee8d9a05d96>
that was supposed to fix this bug. Are you now saying that you are having
doubts it does?

-tk

On Wed, Sep 6, 2017 at 4:30 AM, mwall <[email protected]> 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.
>

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

Reply via email to