Render every sample with height in hodographs

This commit is contained in:
XANTRONIX 2025-03-30 14:02:17 -04:00
parent af666f9c98
commit 1602b447d2

View file

@ -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):