Filter out soundings with incomplete set of levels
This commit is contained in:
parent
8b03ed0c46
commit
4b5b69ca21
1 changed files with 9 additions and 0 deletions
|
@ -152,6 +152,15 @@ class RawinsObs():
|
||||||
}
|
}
|
||||||
|
|
||||||
def parse_ttaa(self):
|
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':
|
if self.values[1][0:3] == 'NIL':
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue