From 1602b447d2f986febd4caeb9165cf41d731e91d8 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Sun, 30 Mar 2025 14:02:17 -0400 Subject: [PATCH] Render every sample with height in hodographs --- lib/xmet/hodograph.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/xmet/hodograph.py b/lib/xmet/hodograph.py index e89b060..f713ce6 100644 --- a/lib/xmet/hodograph.py +++ b/lib/xmet/hodograph.py @@ -166,14 +166,13 @@ class Hodograph(): if height < key: return self.COLORS[key] + return (0.4, 0.4, 1.0) + def each_significant_sample(self, sounding: Sounding): for sample in sounding.hodograph_samples(): if sample.wind_speed is None or sample.wind_dir is None: continue - if self.color(sample.height) is None: - break - yield sample def find_extents(self, sounding: Sounding):