Skip to content

Commit

Permalink
removed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kthyng committed Aug 28, 2023
1 parent 0addfed commit b4b1a1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions oceans/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,8 +621,7 @@ def pl33tn(x, dt=1.0, T=33.0, mode="valid", t=None):
if isinstance(x, xr.DataArray):
dt = (x.cf["T"][1] - x.cf["T"][0]) / np.timedelta64(
360_000_0000_000,
) # This is a bit more readable.
# dt = (x.cf["T"][1] - x.cf["T"][0]) * 1e-9 / 3600
)
elif isinstance(x, pd.Series):
dt = (x.index[1] - x.index[0]) / pd.Timedelta("1H")

Expand Down

0 comments on commit b4b1a1e

Please sign in to comment.