Skip to content

Commit

Permalink
made sure pc is always lower than pn
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenvanormondt committed Jul 8, 2024
1 parent f2394d5 commit e91b030
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cht_cyclones/tropical_cyclone.py
Original file line number Diff line number Diff line change
Expand Up @@ -2782,6 +2782,7 @@ def wpr_holland2008(

# vmax to be determined
if not vmax:
pc = min(pc, pn - 1.0)
dp = pn - pc
x = 0.6 * (1 - dp / 215)
bs = (
Expand Down

0 comments on commit e91b030

Please sign in to comment.