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

Ouranosinc / xclim / 35754402123
91%

Build:
DEFAULT BRANCH: main
Ran 22 Sep 2026 04:32PM UTC
Jobs 8
Files 63
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 Sep 2026 04:28PM UTC coverage: 90.551% (+0.03%) from 90.523%
35754402123

push

github

web-flow
Put history back on DataArray outputs as `xclim_description` - Fix units metadata handling (#2431)

<!--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:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #xyz
- [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?

* Puts a `history` on DataArray outputs, as before. Dataset outputs only
get one global history, their variables do not get one. DataArray
outputs do not get a "merge" of inputs' history, only the xclim part.
* Moves the history -editing methods to `_MetadataFormatter`
* Adds a new `base_variables` attribute to all indicator outputs,
listing xclim variables names of the inputs.

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


### Other information:
@RondeauG @juliettelavoie and anyone else. This currently adds a
space-separated list (common in cf) of input variables, using the
indicator's argument names. This means it's `da` for generic indicator,
but also means it's `tas` even if the input was named
`température_de_lair_à_2m`.

Is this sufficient ? I also thought of doing something like :
`{arg_name}={input name}`. So a generic could look like `da=tas` and a
funky one like my example : `tas=température_de_lair_à_2m`. Opinions ?

41 of 41 new or added lines in 4 files covered. (100.0%)

8117 of 8964 relevant lines covered (90.55%)

7.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.13-ubuntu-latest- - 35754402123.1 22 Sep 2026 04:35PM UTC 63
86.87
GitHub Action Run
2 run-3.13-macos-latest- - 35754402123.2 22 Sep 2026 04:36PM UTC 63
89.83
GitHub Action Run
3 run-3.12-ubuntu-latest-offline - 35754402123.3 22 Sep 2026 04:37PM UTC 63
89.27
GitHub Action Run
4 run-3.13-windows-latest-prefetch - 35754402123.4 22 Sep 2026 04:39PM UTC 63
89.08
GitHub Action Run
5 run-3.12-ubuntu-latest-doctests - 35754402123.5 22 Sep 2026 04:32PM UTC 63
55.95
GitHub Action Run
6 run-3.12-ubuntu-latest- - 35754402123.6 22 Sep 2026 04:32PM UTC 63
86.35
GitHub Action Run
7 run-{{ matrix.python-version }}-conda - 35754402123.7 22 Sep 2026 04:33PM UTC 63
89.84
GitHub Action Run
8 run-3.14-ubuntu-latest- - 35754402123.8 22 Sep 2026 04:33PM UTC 63
86.33
GitHub Action Run
Source Files on build 35754402123
  • Tree
  • List 63
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35754402123
  • 7b1ef5d0 on github
  • Prev Build on main (#35261583179)
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