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

Ouranosinc / xclim / 11217070145
92%

Build:
DEFAULT BRANCH: main
Ran 07 Oct 2024 01:59PM UTC
Jobs 7
Files 73
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

07 Oct 2024 01:54PM UTC coverage: 89.445% (+0.009%) from 89.436%
11217070145

push

github

web-flow
Heat wave magnitude indicator (#1926)

Closes #994 

### Pull Request Checklist:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #994 
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] (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?
* Adds a heat_wave_magnitude indicator based on a variable definition on
heat waves (consecutive days of maximum temperature above a given
threshold), which yields the highest magnitude in the form of
accumulated maximum temperature differences above a threshold along a
consecutive heat wave
* Adds a windowed_max_run_sum function to indices.run_length which
yields the maximum accumulated values of runs per `freq` period
* Adds a rse (termed run sum encoding) function which sums positive
values for runs

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

### TODO:
- [x] one of the test doesn't convert units properly
- [x] french translation (need help with that one)

19 of 20 new or added lines in 3 files covered. (95.0%)

9220 of 10308 relevant lines covered (89.45%)

6.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.11-ubuntu-latest-py311-coverage-sbck-offline-prefetch - 11217070145.1 07 Oct 2024 02:08PM UTC 0
83.75
GitHub Action Run
2 run-{{ matrix.python-version }}-conda - 11217070145.2 07 Oct 2024 02:08PM UTC 0
87.31
GitHub Action Run
3 run-3.12-ubuntu-latest-standard - 11217070145.3 07 Oct 2024 02:08PM UTC 0
81.68
GitHub Action Run
4 run-3.10-windows-latest-py310-coverage-prefetch - 11217070145.4 07 Oct 2024 02:08PM UTC 0
81.67
GitHub Action Run
5 run-3.11-ubuntu-latest-standard - 11217070145.5 07 Oct 2024 02:08PM UTC 0
83.6
GitHub Action Run
6 run-3.10-ubuntu-latest-standard - 11217070145.6 07 Oct 2024 02:08PM UTC 0
81.84
GitHub Action Run
7 run-3.11-macos-latest-py311-coverage-extras - 11217070145.7 07 Oct 2024 02:08PM UTC 0
87.16
GitHub Action Run
Source Files on build 11217070145
Detailed source file information is not available for this build.
  • Back to Repo
  • 5263632a on github
  • Prev Build on main (#11170369815)
  • Next Build on main (#11217798028)
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