Use height of 0 for surface (For now)

This commit is contained in:
XANTRONIX 2025-03-30 00:23:30 -04:00
parent 2c7c1cfc84
commit c1d3e57fa0

View file

@ -334,6 +334,7 @@ class RAOBObs():
def parse_ttaa_sample(self, tokens: list[str]) -> dict: def parse_ttaa_sample(self, tokens: list[str]) -> dict:
if tokens[0][0:2] == '99': if tokens[0][0:2] == '99':
hp = self.parse_pressure(tokens[0]) hp = self.parse_pressure(tokens[0])
hp['height'] = 0
else: else:
hp = self.parse_height_pressure(tokens[0]) hp = self.parse_height_pressure(tokens[0])