From 5fea00a7d53d292ddf1203e5a43265c122cfffa0 Mon Sep 17 00:00:00 2001 From: Matthew Wall Date: Sat, 5 Dec 2015 16:19:15 -0500 Subject: [PATCH] fix wind speed conversion --- bin/weewx/drivers/wmr300.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/weewx/drivers/wmr300.py b/bin/weewx/drivers/wmr300.py index fe2b5f0f..eafe3ac9 100644 --- a/bin/weewx/drivers/wmr300.py +++ b/bin/weewx/drivers/wmr300.py @@ -1281,9 +1281,9 @@ class Station(object): pkt = dict() pkt['ts'] = Station._extract_ts(buf[2:7]) pkt['channel'] = buf[7] - pkt['wind_gust'] = Station._extract_value(buf[8:10], 0.36) # km/hr + pkt['wind_gust'] = Station._extract_value(buf[8:10], 0.1) # m/s pkt['wind_gust_dir'] = Station._extract_value(buf[10:12], 1.0) # degree - pkt['wind_avg'] = Station._extract_value(buf[12:14], 0.36) # km/hr + pkt['wind_avg'] = Station._extract_value(buf[12:14], 0.1) # m/s pkt['wind_avg_dir'] = Station._extract_value(buf[14:16], 1.0) # degree pkt['wind_dir'] = Station._extract_heading(buf[16:18]) return pkt