Skip to content
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

Fixes for xclim 0.50 - Better defaults for opening #398

Merged
merged 3 commits into from
May 7, 2024
Merged

Conversation

aulemahal
Copy link
Collaborator

@aulemahal aulemahal commented May 7, 2024

Pull Request Checklist:

What kind of change does this PR introduce?

  • Fix usage of xclim.core.indicator.Parameter to fit xclim's deprecation of the dict-like access.
  • Remove change_significance test for ensemble_stats, function was removed from xclim.
  • Both extract_dataset and to_dataset will default to chunks={}.

Does this PR introduce a breaking change?

No.

Other information:

@aulemahal aulemahal requested a review from RondeauG May 7, 2024 18:00
Copy link
Contributor

@RondeauG RondeauG left a comment

Choose a reason for hiding this comment

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

LGTM

@aulemahal aulemahal merged commit d006e89 into main May 7, 2024
23 checks passed
@aulemahal aulemahal deleted the fix-xc-050 branch May 7, 2024 18:32
aulemahal added a commit that referenced this pull request May 15, 2024
<!-- Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #xyz
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [ ] (If applicable) Tests have been added.
- [x] This PR does not seem to break the templates.
- [x] CHANGES.rst has been updated (with summary of main changes).
- [x] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added.

### What kind of change does this PR introduce?

* In #398, I introduced a new way of setting defaults for
`xr_combine_kwargs` in `extract_dataset`, but I missed one use of the
argument, which make `extract_dataset` fail when nothing is given to the
argument.

### Does this PR introduce a breaking change?
No.


### Other information:
Seen by Dominic et Oumou.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants