• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Ouranosinc / xclim / 8914243817
92%

Build:
DEFAULT BRANCH: main
Ran 01 May 2024 08:00PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8914243817

push

github

web-flow
Add support for method argument in ensemble_percentile (#1732)

<!--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:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #1694 
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [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?

* Add method argument to ensemble_percentile. I chose to expose `method`
rather than `alpha`, `beta` as it felt more user friendly, since this is
what numpy and xarray use.

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

### Other information:

Raise an error if used with weights. 

Note that `test_calc_perc` takes 26 sec. on my laptop to run. I think
the test could be sped up by restricting computations to the things that
are ultimately checked.
Source Files on build 8914243817
Detailed source file information is not available for this build.
  • Back to Repo
  • aed20588 on github
  • Prev Build on main (#8896391295)
  • Next Build on main (#8915373528)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc