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

Ouranosinc / xclim / 10114731662 / 2
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 26 Jul 2024 05:02PM UTC
Files 70
Run time 12s
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

26 Jul 2024 04:46PM UTC coverage: 90.38% (-0.04%) from 90.423%
10114731662.2

push

github

web-flow
Fix wet spells - generic spell statistics (#1838)

<!--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 #1834
- [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?

* Implements a generic spell length statistics function
* Use that function in dry and wet spells, which fixes wet spells
* That required me to implement the `reducer='count'` case in 1d
`rle_statistics`.

### Does this PR introduce a breaking change?
Yes, results for all wet spells indicators will change. But they were
not correct before.

Results for `dry_spell_frequency` are also different, were also not
correct previsouly.

### Other information:

9029 of 9990 relevant lines covered (90.38%)

3.98 hits per line

Source Files on job run-{{ matrix.tox-env }}-{{ matrix.os }} - 10114731662.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10114731662
  • b053b266 on github
  • Prev Job for on main (#10069141429.1)
  • Next Job for on main (#10146220766.1)
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