Fix sign on temperature parsing
This commit is contained in:
parent
fbb3cdf4d5
commit
16693a686b
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class RawinsObs():
|
|||
temp = None
|
||||
else:
|
||||
tenths = int(value[2])
|
||||
sign = -1 if tenths % 1 == 0 else 1
|
||||
sign = 1 if tenths % 2 == 0 else -1
|
||||
|
||||
temp = sign * 0.1 * float(value[0:3])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue