Skip plotting unknown height values
This commit is contained in:
parent
2221dd6770
commit
e3df02db87
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ class Hodograph():
|
||||||
if sample.pressure < 0 or sample.pressure is None:
|
if sample.pressure < 0 or sample.pressure is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if sample.height is None:
|
||||||
|
continue
|
||||||
|
|
||||||
color = self.color(sample.height)
|
color = self.color(sample.height)
|
||||||
|
|
||||||
if color is None:
|
if color is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue