Skip samples with no wind speed/direction in hodographs

This commit is contained in:
XANTRONIX 2025-03-30 13:55:56 -04:00
parent ee801726a8
commit 5b63b52dab

View file

@ -168,6 +168,9 @@ class Hodograph():
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