Skip to content

Commit

Permalink
Update src/icesat2_tracks/local_modules/JONSWAP_gamma.py
Browse files Browse the repository at this point in the history
Co-authored-by: John Gerrard Holland <[email protected]>
  • Loading branch information
kmilo9999 and hollandjg authored Mar 4, 2024
1 parent ac0ae99 commit f1ff41e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/icesat2_tracks/local_modules/JONSWAP_gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def pierson_moskowitz_fetch_limit(f, X, U):
delta = np.exp(-((w - wp) ** 2) / (2.0 * sigma**2.0 * wp**2.0))
peak_factor = gamma**delta

# Hz**-5 m**2 /s**4 = m**2 sec
return alpha * g**2.0 * w ** (-5.0) * np.exp(-5.0 / 4.0 * (w / wp) ** -4)


Expand Down

0 comments on commit f1ff41e

Please sign in to comment.