Fix lapse() calculation
This commit is contained in:
parent
65c500b9be
commit
56c1dc608e
1 changed files with 1 additions and 1 deletions
|
@ -55,4 +55,4 @@ def lapse(temp: float, rate: float, delta: float) -> float:
|
|||
Return the temperature of a parcel cooled at either the dry or moist lapse
|
||||
rate for a given increase in height (in meters).
|
||||
"""
|
||||
return temp - (rate * (delta / 1000))
|
||||
return temp - (rate * delta)
|
||||
|
|
Loading…
Add table
Reference in a new issue