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

Ouranosinc / xclim / 21299416273
92%

Build:
DEFAULT BRANCH: main
Ran 23 Jan 2026 08:15PM 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

22 Jan 2026 11:21PM UTC coverage: 91.968% (-0.04%) from 92.003%
21299416273

push

github

web-flow
Remove `keep_attrs` option - follow xarray for preserving attributes (#2312)

<!--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 #2308
- [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?
Removes xclim's `keep_attrs` option. Attributes for indicators are now
implicitly controlled by xarray's option.

When option `as_dataset` is True and a dataset is given as input, or
when a DataTree is given as input, the global attributes are managed
explicitly by xclim, but still following xarray's option.

### Does this PR introduce a breaking change?
Yes. An option was removed.

### Other information:
The documentation of the `as_dataset` option has been updated. A line
has been added to the "usage" notebook.

3 of 3 new or added lines in 1 file covered. (100.0%)

35 existing lines in 4 files now uncovered.

7924 of 8616 relevant lines covered (91.97%)

6.27 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
97.3
0.0% src/xclim/core/options.py
3
77.69
-1.24% src/xclim/testing/utils.py
7
97.31
0.0% src/xclim/core/formatting.py
23
96.78
0.0% src/xclim/core/indicator.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.10-ubuntu-latest- - 21299416273.1 23 Jan 2026 08:16PM UTC 60
88.1
GitHub Action Run
2 run-3.13-macos-latest- - 21299416273.2 23 Jan 2026 08:16PM UTC 60
91.17
GitHub Action Run
3 run-3.12-ubuntu-latest- - 21299416273.3 23 Jan 2026 08:18PM UTC 60
88.78
GitHub Action Run
4 run-3.13-ubuntu-latest- - 21299416273.4 23 Jan 2026 08:16PM UTC 60
88.09
GitHub Action Run
5 run-3.14-ubuntu-latest- - 21299416273.5 23 Jan 2026 08:15PM UTC 60
88.09
GitHub Action Run
6 run-{{ matrix.python-version }}-conda - 21299416273.6 23 Jan 2026 08:18PM UTC 60
91.55
GitHub Action Run
Source Files on build 21299416273
  • Tree
  • List 60
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21299416273
  • c113745a on github
  • Prev Build on main (#21299381822)
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