Skip to content

Commit

Permalink
fix loffset to work with latest xarray
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbuntemeyer committed Aug 6, 2024
1 parent 90abf8f commit 17b2510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cordex/cmor/cmor.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _resample(
if has_flox:
mean_kwargs["engine"] = "flox"
mean_kwargs["method"] = default_flox_method
return ds.resample(time=time, label=label, loffset=loffset, **kwargs).mean(
return ds.resample(time=time, label=label, offset=loffset, **kwargs).mean(
**mean_kwargs
)
else:
Expand Down

0 comments on commit 17b2510

Please sign in to comment.