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]
|
return self.COLORS[key]
|
||||||
|
|
||||||
def each_significant_sample(self, sounding: Sounding):
|
def each_significant_sample(self, sounding: Sounding):
|
||||||
for sample in sounding.samples:
|
for sample in sounding.hodograph_samples():
|
||||||
if sample.height is None:
|
|
||||||
continue
|
|
||||||
|
|
||||||
if self.color(sample.height) is None:
|
if self.color(sample.height) is None:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue