From e3df02db877ee3df4dd0009a0393e6c7e94fd591 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Mon, 3 Mar 2025 10:43:03 -0500 Subject: [PATCH] Skip plotting unknown height values --- lib/xmet/hodograph.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/xmet/hodograph.py b/lib/xmet/hodograph.py index b3f2100..d1c3c2b 100644 --- a/lib/xmet/hodograph.py +++ b/lib/xmet/hodograph.py @@ -158,6 +158,9 @@ class Hodograph(): if sample.pressure < 0 or sample.pressure is None: continue + if sample.height is None: + continue + color = self.color(sample.height) if color is None: