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

Ouranosinc / xclim / 23750608729
92%

Build:
DEFAULT BRANCH: main
Ran 30 Mar 2026 02:45PM UTC
Jobs 6
Files 60
Run time 1min
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

30 Mar 2026 02:40PM UTC coverage: 91.875% (-0.007%) from 91.882%
23750608729

push

github

web-flow
More SPI/SPEI pre-approved dists & Fix `rv_continuous` bug (#2327)

<!--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 #2326 
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features)
- [x] CHANGELOG.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?

* Fix bug preventing the use of `rv_continuous` distributions in
SPI/SPEI
* Add direct support for genextreme/lognorm in SPI/SPEI
* Fix a bug in `lognorm`'s `_fit_start` (like other cases, `loc0` should
not exceed `min(x)`)
* Don't allow the use of `genextreme` with method='APP'.

### Does this PR introduce a breaking change?
I'd like to remove the support for `method="APP"` with `genextreme`. I
can add a message to say why it was removed. I'd be enclined to simply
not allow previous procedure. Contrary to other `_fit_start` cases, the
shape param of `genextreme` doesn't use data for a first gross
estimation. I don't think this should be promoted as an approximately
correct fit. Other cases like `gamma` can still be defended on the other
hand (and in case of `gamma`, reproduce monocongo's approach)

### Other information:

20 of 22 new or added lines in 4 files covered. (90.91%)

7927 of 8628 relevant lines covered (91.88%)

6.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
88.36
-0.25% src/xclim/indices/stats.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.10-ubuntu-latest- - 23750608729.1 30 Mar 2026 02:45PM UTC 60
88.07
GitHub Action Run
2 run-3.13-macos-latest- - 23750608729.2 30 Mar 2026 02:47PM UTC 60
91.08
GitHub Action Run
3 run-3.13-ubuntu-latest- - 23750608729.3 30 Mar 2026 02:46PM UTC 60
88.06
GitHub Action Run
4 run-3.14-ubuntu-latest- - 23750608729.4 30 Mar 2026 02:45PM UTC 60
88.06
GitHub Action Run
5 run-3.12-ubuntu-latest- - 23750608729.5 30 Mar 2026 02:47PM UTC 60
88.75
GitHub Action Run
6 run-{{ matrix.python-version }}-conda - 23750608729.6 30 Mar 2026 02:48PM UTC 60
91.46
GitHub Action Run
Source Files on build 23750608729
  • Tree
  • List 60
  • Changed 6
  • Source Changed 6
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23750608729
  • 8f11fe81 on github
  • Prev Build on main (#22311596568)
  • Next Build on main (#23826759810)
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