Implement follow_dewpoint()
This commit is contained in:
parent
6b94de7784
commit
f2c28d75e4
1 changed files with 8 additions and 0 deletions
|
@ -185,6 +185,14 @@ class Sounding(DatabaseTable):
|
||||||
|
|
||||||
return series
|
return series
|
||||||
|
|
||||||
|
def follow_dewpoint(self) -> Series:
|
||||||
|
series = Series()
|
||||||
|
|
||||||
|
for sample in self.samples:
|
||||||
|
series[sample.pressure] = sample.dewpoint
|
||||||
|
|
||||||
|
return series
|
||||||
|
|
||||||
def between(n, a, b):
|
def between(n, a, b):
|
||||||
return n > a and n < b
|
return n > a and n < b
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue