Yes, its on the to-do list.
Gary
On Thursday, 23 February 2017 23:40:09 UTC+10, Bill Morrow wrote:
>
> On Thursday, 23 February 2017 05:52:55 UTC-4, Devonian wrote:
>>
>> I noticed 0.2.6 late last night and installed it.
>> Works fine, but no chance to see a 'no wind' situation as it's blowing a
>> hooligan outside with gust predicted to 70MPH later...
>>
>> Nigel.
>>
>
> Gary, I tried rtgd (0.2.6) last night for the first time, and have an
> issue. My driver yields packets which don't always contain the same data. I
> have a station which provides indoor conditions and a separate one that
> provides outdoor conditions. If the indoor station reports first, I get an
> error because outTemp is not in the packet. See the log extract below.
>
> In your opinion, should I handle this in my driver, is there something I
> can do in weewx, or should rtgdthread handle this? The indoor station
> reports every 2-3 seconds, To conserve power, the outdoor about every 30
> seconds.
>
> Feb 22 16:20:46 walrus weewx[29153]: wxMesh: key: TIME value: 1487794846
> Feb 22 16:20:46 walrus weewx[29153]: wxMesh: key: INTE value: 22.60
> Feb 22 16:20:46 walrus weewx[29153]: wxMesh: key: INHU value: 32.59
> Feb 22 16:20:46 walrus weewx[29153]: rtgd: queued loop packet: {
> 'barometer': None, 'windchill': None, 'dewpoint': None, 'humidex': None,
> 'maxSolarRad': None, 'pressure': None, 'altimeter': None, 'usUnits': 17,
> 'appTemp': None, 'rainRate': 0.0, 'heatindex': None, 'dateTime':
> 1487794846.0, 'inHumidity': 32.59, 'inTemp': 22.600000000000005,
> 'cloudbase': None, 'inDewpoint': 41.58132605144329}
> Feb 22 16:20:46 walrus weewx[29153]: rtgdthread: received packet: {
> 'barometer': None, 'windchill': None, 'dewpoint': None, 'humidex': None,
> 'maxSolarRad': None, 'pressure': None, 'altimeter': None, 'usUnits': 17,
> 'appTemp': None, 'rainRate': 0.0, 'heatindex': None, 'dateTime':
> 1487794846.0, 'inHumidity': 32.59, 'inTemp': 22.600000000000005,
> 'cloudbase': None, 'inDewpoint': 41.58132605144329}
> Feb 22 16:20:46 walrus weewx[29153]: rtgdthread: Unexpected exception of
> type <type 'exceptions.KeyError'>
> Feb 22 16:20:46 walrus weewx[29153]: *** Traceback (most recent call last
> ):
> Feb 22 16:20:46 walrus weewx[29153]: *** File
> "/usr/share/weewx/user/rtgd.py", line 773, in run
> Feb 22 16:20:46 walrus weewx[29153]: *** self.process_packet(_package[
> 'payload'])
> Feb 22 16:20:46 walrus weewx[29153]: *** File
> "/usr/share/weewx/user/rtgd.py", line 790, in process_packet
> Feb 22 16:20:46 walrus weewx[29153]: *** self.buffer.setLowsAndHighs(
> packet)
> Feb 22 16:20:46 walrus weewx[29153]: *** File
> "/usr/share/weewx/user/rtgd.py", line 1614, in setLowsAndHighs
> Feb 22 16:20:46 walrus weewx[29153]: *** outTemp = packet_d['outTemp']
> Feb 22 16:20:46 walrus weewx[29153]: *** KeyError: 'outTemp'
>
>
--
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.