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

Ouranosinc / xscen / 8652973393 / 2
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 11 Apr 2024 08:45PM UTC
Files 19
Run time 2s
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

11 Apr 2024 08:38PM UTC coverage: 73.535% (-0.04%) from 73.572%
8652973393.2

push

github

web-flow
Make xscen.utils.change_units() update unit name on equal units (#373)

Make xscen.utils.change_units() update unit name on equal units

<!-- 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
- [ ] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [ ] (If applicable) Tests have been added.
- [ ] This PR does not seem to break the templates.
- [x] CHANGES.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?

During unit conversion ``xscen.utils.change_units`` will adopt the name
from the `variables_and_units` dictionary if the physical units are
equal but their names are not (ex. degC <-> ˚C)

Useful for harmonizing unit names when processing datasets of varying
origin.

### Does this PR introduce a breaking change?

No.

### Other information:

There is no testing for xscen.utils (yet). Right?

2962 of 4028 relevant lines covered (73.54%)

0.74 hits per line

Source Files on job run-Python3.11-conda - 8652973393.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8652973393
  • ea3df9ff on github
  • Prev Job for on main (#8651680914.8)
  • Next Job for on main (#8653206349.6)
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