Skip to content

Conversation

DamienIrving
Copy link
Member

Minor stuff

@@ -253,6 +253,7 @@ def open_dataset(
if no_leap_days:
ds = ds.sel(time=~((ds[time_dim].dt.month == 2) & (ds[time_dim].dt.day == 29)))
if rolling_sum_window:
ds = ds.compute()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This compute was inserted to avoid this issue with rolling windows: pydata/xarray#9862

I should probably take it out and tell the user to rechunk their data instead using the chunks argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant