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

Ouranosinc / xclim / 9782292169
92%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2024 05:30PM UTC
Jobs 2
Files 70
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

03 Jul 2024 05:26PM UTC coverage: 90.658% (+0.009%) from 90.649%
9782292169

push

github

web-flow
Fix for Fahrenheit deltas, degree-days and others. (#1804)

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

* New function `ensure_absolute_temperature` that converts temperature
units to their absolute counterpart _assuming_ they represented a delta.
So °C becomes K and °F becomes °R. Anything else goes unmodified
(including compound units like `°C m` (whatever that means)).
* Use this function in `to_agg_units` to ensure a correct output for
`op` "std", "var" and "integral".

### Does this PR introduce a breaking change?

No.

### Other information:

Pint has "delta_degC" and "delta_degF" for temperature differences, but
CF does not. So this new function helps in the specific case where we
know the data is delta-like, which happens for the given `op`.

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

8831 of 9741 relevant lines covered (90.66%)

5.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.tox-env }}-opt-slow - 9782292169.1 03 Jul 2024 05:36PM UTC 0
89.72
GitHub Action Run
2 run-{{ matrix.tox-env }}-{{ matrix.os }} - 9782292169.2 03 Jul 2024 05:36PM UTC 0
90.62
GitHub Action Run
Source Files on build 9782292169
Detailed source file information is not available for this build.
  • Back to Repo
  • 26a47efa on github
  • Prev Build on main (#9779451032)
  • Next Build on main (#9796653861)
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