Skip to content

Commit

Permalink
Merge pull request #2 from thiagovmdon/patch-3
Browse files Browse the repository at this point in the history
Update meteo_indexes.py
  • Loading branch information
dalmo1991 authored Oct 20, 2024
2 parents 537368b + c1531e6 commit 7ac491f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydroanalysis/meteo_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def fit_t(pars, x, y):
delta_t = temp_pars.x[0]
st = temp_pars.x[1]

sig = delta_p * np.sign(delta_t) * np.cos(2 * np.pi * (sp - st / 365.25))
sig = delta_p * np.sign(delta_t) * np.cos(2 * np.pi * (sp - st) / 365.25)

return(float(sig))

Expand Down

0 comments on commit 7ac491f

Please # to comment.