From 57c3f2fe655f0785d894676f207e234f6c8fe0ba Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Sat, 29 Mar 2025 18:49:29 -0400 Subject: [PATCH] Fix check for null pressures --- lib/xmet/skew_t.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmet/skew_t.py b/lib/xmet/skew_t.py index 01ef6a5..134cd8a 100644 --- a/lib/xmet/skew_t.py +++ b/lib/xmet/skew_t.py @@ -195,7 +195,7 @@ class SkewTGraph(): first = True for sample in sounding.samples: - if sample.pressure < 0 or sample.pressure is None: + if sample.pressure is None or sample.pressure < 0: continue if sample.pressure < PRESSURE_MIN: