Fix height units to meters

This commit is contained in:
XANTRONIX 2025-03-28 22:55:08 -04:00
parent ecdaf35c49
commit ff0891f345

View file

@ -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]),