Fix TTBB parser to stop parsing at tropopause

This commit is contained in:
XANTRONIX 2025-03-29 16:55:50 -04:00
parent aca0547b93
commit 36dcd603ca

View file

@ -440,6 +440,12 @@ class RAOBObs():
while i < len(self.tokens):
prefix = self.tokens[i][0:2]
#
# Stop parsing at the tropopause.
#
if prefix == '88':
break
if prefix in self.PRESSURE_CODES:
samples.append(self.parse_ttbb_sample(self.tokens[i:i+2]))