Skip to content

Commit

Permalink
remove width=0.5 that is deprecated in xcdat latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
lee1043 committed Dec 16, 2023
1 parent 471bdda commit 019e497
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ def Avg_PS_DomFrq(d, frequency, ntd, dat, mip, frc):
dmask = d

dmask = dmask.to_dataset(name="ps")
dmask = dmask.bounds.add_bounds(axis="X", width=0.5)
dmask = dmask.bounds.add_bounds(axis="Y", width=0.5)
dmask = dmask.bounds.add_bounds(axis="X")
dmask = dmask.bounds.add_bounds(axis="Y")

if "50S50N" in dom:
am = dmask.sel(lat=slice(-50, 50)).spatial.average(
Expand Down

0 comments on commit 019e497

Please sign in to comment.