Skip to content

Commit

Permalink
fix a new bug in feb29()
Browse files Browse the repository at this point in the history
  • Loading branch information
paolap committed Feb 19, 2024
1 parent 0ab526e commit 87722bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions xmhw/identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,11 @@ def feb29(ts, dim="doy"):
-------
Interpolated values for Feb29
"""
ts['doy'] = ts.doy.compute()
return (
ts.where(ts.doy.isin([59, 60, 61]), drop=True).mean(
dim=dim, skipna=True).values
)
# return (ts.where(ts.doy.isin([59,61]),drop=True).mean(
# dim=dim, skipna=True).values)


@dask.delayed(nout=1)
Expand Down

0 comments on commit 87722bc

Please sign in to comment.