-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix hawkins sutton smoke tests, linting #1769
Conversation
xclim/ensembles/_filters.py
Outdated
@@ -51,6 +51,7 @@ def _concat_hist(da, **hist): | |||
|
|||
# Select historical scenario and drop it from the data | |||
h = da.sel(**hist).dropna("time", how="all") | |||
h = h.drop_vars(dim) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relevant changes here.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy if it still works.
I've set the test to be ignored for this specific xarray version. The upstream dev version seems to be working fine, so I don't want to risk changing outputs for a bug in the current xarray. |
Pull Request Checklist:
number
) and pull request (:pull:number
) has been addedWhat kind of change does this PR introduce?
codespell
. Now ignoringSVG
files.test_hawkins_sutton_smoke
test due to strange behaviour withxarray
.Does this PR introduce a breaking change?
No, AFAIK.