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

Ouranosinc / xclim / 31811554733
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: dev-v099
DEFAULT BRANCH: main
Ran 14 Aug 2026 02:55PM UTC
Jobs 8
Files 61
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

14 Aug 2026 02:50PM UTC coverage: 90.668% (-0.005%) from 90.673%
31811554733

push

github

web-flow
Rename module `xclim.indices` to `xclim.compute` (#2330)

<!--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 #2320
- [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)
- [ ] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added

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

* Expose `ensembles` and `calendar` directly on `import xclim as xc`. 
* ~Remove `xclim.xsdba`~ (done in #2342)
* But mostly : rename `xclim.indices` to `xclim.compute`

Functions previously called "indices" are now called "compute
functions", with the additional qualifier "index-like" when needed. I
tried to remove the word "indices" as much as possible, but preserved it
when it actually meant the plural of "index" (like for SPI-like things)
or when the usage comes from an external source (ex: "fire weather
indices", "icclim indices").

### Does this PR introduce a breaking change?
You bet it does!

### Other information:
This must come with a major revision of the documentation, I might
delete duplicate/useless notebooks. But I'll try to limit the changes to
the subject here : indices vs indicators. Other documentation
reorganisation/revision for v1 is to be done elsewhere.

103 of 107 new or added lines in 35 files covered. (96.26%)

7918 of 8733 relevant lines covered (90.67%)

7.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
94.48
0.0% src/xclim/analog.py
1
96.55
0.0% src/xclim/core/indicator.py
1
88.91
0.0% src/xclim/core/units.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.13-macos-latest- - 31811554733.1 14 Aug 2026 02:59PM UTC 61
89.93
GitHub Action Run
2 run-3.12-ubuntu-latest- - 31811554733.2 14 Aug 2026 02:56PM UTC 61
86.24
GitHub Action Run
3 run-3.12-ubuntu-latest-offline - 31811554733.3 14 Aug 2026 02:59PM UTC 61
89.32
GitHub Action Run
4 run-3.13-windows-latest-prefetch - 31811554733.4 14 Aug 2026 03:03PM UTC 61
89.09
GitHub Action Run
5 run-{{ matrix.python-version }}-conda - 31811554733.5 14 Aug 2026 02:56PM UTC 61
89.95
GitHub Action Run
6 run-3.13-ubuntu-latest- - 31811554733.6 14 Aug 2026 02:57PM UTC 61
86.82
GitHub Action Run
7 run-3.14-ubuntu-latest- - 31811554733.7 14 Aug 2026 02:56PM UTC 61
86.22
GitHub Action Run
8 run-3.12-ubuntu-latest-doctests - 31811554733.8 14 Aug 2026 02:55PM UTC 61
56.22
GitHub Action Run
Source Files on build 31811554733
  • Tree
  • List 61
  • Changed 25
  • Source Changed 25
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31811554733
  • a52645b2 on github
  • Prev Build on dev-v099 (#30651178963)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc