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

Ouranosinc / xclim / 45702715480
90%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 09:19PM 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

25 Nov 2026 09:15PM UTC coverage: 90.487%. Remained the same
45702715480

push

github

web-flow
CF compatible standard names and aliases (#2482)

<!--
Please ensure the PR fulfills the following requirements!

- If this is your first PR, make sure to add your details to the
AUTHORS.rst and .zenodo.json!
- If AI was used in the development of this contribution, please detail
this information under "Other information"
-->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue
    - This PR fixes #2480
- [x] Tests for the relevant changes have been added to this PR
- [ ] Documentation has been added / updated
- [x] CHANGELOG.rst has been updated (with a short summary of the main
changes)
- [x] Links to issue (:issue:`number`) and pull request (:pull:`number`)
have been added

### What kind of change does this PR introduce?
Adds a `compatible_standard_names` field to the variable entries in
`data/variables.yml`. This list contains standard names are that aliases
to the main one as set in the standard name table (I used version 95,
downloaded today). It also list standard names that are recognized as
quantities that are automatically convertible to the main one. For now,
this only concerns the "amount2lwethickness" conversions that xclim
automatically activates through the "hydro" context, i.e. the implicit
multiplication by the density of liquid water (1000 kg m-3).

The other « known » conversion, `amount2rate` is not automatically done,
so these were not added here.

I also realized we had some aliases as the main standard names, this is
now fixed. This concerns `psl` and the radiation variables.

Finally, I removed the entry for `thickness_of_rainfall_amount`, it
wasn't used anywhere ? I'll look around to understand why it was there.

### Does this PR introduce a breaking change?
No. Fewer not-so-relevant warnings will be raised now.


### Other information
To fill this, I used the official standard names table, but in a
interactive interpreter. In the future, we could look at parsing this
automatically to update the packaged... (continued)

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

8247 of 9114 relevant lines covered (90.49%)

7.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.13-windows-latest-prefetch - 45702715480.1 25 Nov 2026 09:28PM UTC 63
88.97
GitHub Action Run
2 run-3.12-ubuntu-latest-offline - 45702715480.2 25 Nov 2026 09:25PM UTC 63
89.17
GitHub Action Run
3 run-3.13-ubuntu-latest- - 45702715480.3 25 Nov 2026 09:21PM UTC 63
86.86
GitHub Action Run
4 run-3.12-ubuntu-latest-doctests - 45702715480.4 25 Nov 2026 09:19PM UTC 63
55.76
GitHub Action Run
5 run-3.13-macos-latest- - 45702715480.5 25 Nov 2026 09:23PM UTC 63
89.75
GitHub Action Run
6 run-3.12-ubuntu-latest- - 45702715480.6 25 Nov 2026 09:22PM UTC 63
86.31
GitHub Action Run
7 run-3.14-ubuntu-latest- - 45702715480.7 25 Nov 2026 09:21PM UTC 63
86.3
GitHub Action Run
8 run-{{ matrix.python-version }}-conda - 45702715480.8 25 Nov 2026 09:20PM UTC 63
89.76
GitHub Action Run
Source Files on build 45702715480
  • Tree
  • List 63
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45702715480
  • 6032c6ba on github
  • Prev Build on main (#45207993828)
  • Next Build on main (#45880692660)
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