From 4b5b69ca210fccdcc27c11df7398c5e76bb84dbe Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Sat, 1 Mar 2025 14:02:20 -0500 Subject: [PATCH] Filter out soundings with incomplete set of levels --- lib/xmet/rawins.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/xmet/rawins.py b/lib/xmet/rawins.py index cfdc537..683e2ab 100644 --- a/lib/xmet/rawins.py +++ b/lib/xmet/rawins.py @@ -152,6 +152,15 @@ class RawinsObs(): } def parse_ttaa(self): + # + # Return None if there is no height data up to 100mb. + # + if self.values[0][4] != '1': + return None + + # + # Return None if there is no station identifier. + # if self.values[1][0:3] == 'NIL': return None