Don't stop at minimum pressure
This commit is contained in:
parent
018c7fdc40
commit
7bf9081e4a
1 changed files with 0 additions and 5 deletions
|
@ -10,8 +10,6 @@ WIND_SPEED_STEP = 10
|
||||||
|
|
||||||
WIND_DIR_STEP = 90 # degrees
|
WIND_DIR_STEP = 90 # degrees
|
||||||
|
|
||||||
PRESSURE_MIN = 100
|
|
||||||
|
|
||||||
def radians(degrees: float) -> float:
|
def radians(degrees: float) -> float:
|
||||||
return (degrees + 90) * (math.pi / 180.0)
|
return (degrees + 90) * (math.pi / 180.0)
|
||||||
|
|
||||||
|
@ -140,9 +138,6 @@ class Hodograph():
|
||||||
if sample.pressure < 0 or sample.pressure is None:
|
if sample.pressure < 0 or sample.pressure is None:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if sample.pressure < PRESSURE_MIN:
|
|
||||||
break
|
|
||||||
|
|
||||||
color = self.color(sample.height)
|
color = self.color(sample.height)
|
||||||
|
|
||||||
if color is None:
|
if color is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue