Use Sounding.hodograph_samples()
This commit is contained in:
parent
e5b95b3079
commit
857814bdbf
1 changed files with 1 additions and 4 deletions
|
@ -167,10 +167,7 @@ class Hodograph():
|
|||
return self.COLORS[key]
|
||||
|
||||
def each_significant_sample(self, sounding: Sounding):
|
||||
for sample in sounding.samples:
|
||||
if sample.height is None:
|
||||
continue
|
||||
|
||||
for sample in sounding.hodograph_samples():
|
||||
if self.color(sample.height) is None:
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue