The cloud base units are based on the realtime gauge data group_altitude config option in weewx.conf:
[RealtimeGaugeData]
[[Groups]]
group_altitude =
Available options are meter and foot. If omitted the default is meter. This affects the cloud base units used in the gauge-data.txt file. Irrespective of the units used in the file, the user is still free to select ft or m on the SteelSeries Weather Gauges page to display (and retain if cookies are enabled) cloudbase in feet or metres.
Gary
I am wanting glatest to be the peak gust over the moving rtgd 'min_interval'. I realize wgust already provides peak gust over a 10-minute moving window, but in contrast, glatest would provide near-real-time gust information if min_interval is made short.
I realize SteelSeries Weather Gauges enhancement is beyond the scope of rtgd. However, standard installations would ignore glatest and remain compatible and I can provide a modified gauges.js file with a near-real-time gust pointer to weewx users who want it (or ideally to the SS Weather Gauges author if he is willing to incorporate it for weewx users). Unrelated to the gust issue, I have fixed gauges.js coding mistakes that should be submitted to him anyway.
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'
Gary
Feb 26 10:26:08 weewx[22818]: rtgdthread: **** Traceback (most recent call last):
Feb 26 10:26:08 weewx[22818]: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 851, in process_packet
Feb 26 10:26:08 weewx[22818]: rtgdthread: **** data = self.calculate(cached_packet)
Feb 26 10:26:08 weewx[22818]: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 989, in calculate
Feb 26 10:26:08 weewx[22818]: rtgdthread: **** humTL = min(i for i in [self.buffer.humL_loop[0], self.day_stats['outHumidity'].min] if i is not None)
Feb 26 10:26:08 weewx[22818]: rtgdthread: **** ValueError: min() arg is an empty sequence
Gary
[StdQC]
[[MinMax]]
...
outHumidity = -30, 100
Feb 26 10:31:18 weewx[23716]: rtgdthread: **** Traceback (most recent call last):
Feb 26 10:31:18 weewx[23716]: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 851, in process_packet
Feb 26 10:31:18 weewx[23716]: rtgdthread: **** data = self.calculate(cached_packet)
Feb 26 10:31:18 weewx[23716]: rtgdthread: **** File "/usr/share/weewx/user/rtgd.py", line 1022, in calculate
Feb 26 10:31:18 weewx[23716]: rtgdthread: **** dewpointTL = min(i for i in [dewpointL_loop, dewpointTL] if i is not None)
Feb 26 10:31:18 weewx[23716]: rtgdthread: **** ValueError: min() arg is an empty sequence