Skip to content

Commit 29820ce

Browse files
authored
Update filters.py: division number was wrong
1 parent f56a02c commit 29820ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oceans/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def pl33tn(x, dt=1.0, T=33.0, mode="valid", t=None):
620620
# find dt in units of hours
621621
if isinstance(x, xr.DataArray):
622622
dt = (x.cf["T"][1] - x.cf["T"][0]) / np.timedelta64(
623-
360_000_000_000,
623+
3_600_000_000_000,
624624
)
625625
elif isinstance(x, pd.Series):
626626
dt = (x.index[1] - x.index[0]) / pd.Timedelta("1H")

0 commit comments

Comments
 (0)