From ff0891f345789d6d125bcc6fd57d740daec9b7ac Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Fri, 28 Mar 2025 22:55:08 -0400 Subject: [PATCH] Fix height units to meters --- lib/xmet/raob.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/xmet/raob.py b/lib/xmet/raob.py index 3db1426..7ee98af 100644 --- a/lib/xmet/raob.py +++ b/lib/xmet/raob.py @@ -379,9 +379,9 @@ class RAOBObs(): return dict() tens = int(heights[1]) - h1 = (10000 * tens) + (1000 * int(heights[2])) - h2 = (10000 * tens) + (1000 * int(heights[3])) - h3 = (10000 * tens) + (1000 * int(heights[4])) + h1 = 0.3048 * (10000 * tens) + (1000 * int(heights[2])) + h2 = 0.3048 * (10000 * tens) + (1000 * int(heights[3])) + h3 = 0.3048 * (10000 * tens) + (1000 * int(heights[4])) return { h1: self.parse_wind(tokens[1]),