Fix height units to meters
This commit is contained in:
parent
ecdaf35c49
commit
ff0891f345
1 changed files with 3 additions and 3 deletions
|
@ -379,9 +379,9 @@ class RAOBObs():
|
||||||
return dict()
|
return dict()
|
||||||
|
|
||||||
tens = int(heights[1])
|
tens = int(heights[1])
|
||||||
h1 = (10000 * tens) + (1000 * int(heights[2]))
|
h1 = 0.3048 * (10000 * tens) + (1000 * int(heights[2]))
|
||||||
h2 = (10000 * tens) + (1000 * int(heights[3]))
|
h2 = 0.3048 * (10000 * tens) + (1000 * int(heights[3]))
|
||||||
h3 = (10000 * tens) + (1000 * int(heights[4]))
|
h3 = 0.3048 * (10000 * tens) + (1000 * int(heights[4]))
|
||||||
|
|
||||||
return {
|
return {
|
||||||
h1: self.parse_wind(tokens[1]),
|
h1: self.parse_wind(tokens[1]),
|
||||||
|
|
Loading…
Add table
Reference in a new issue