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

Ouranosinc / xclim / 19360018668 / 1
92%
main: 92%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2025 09:29AM UTC
Files 60
Run time 4s
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

14 Nov 2025 09:19AM UTC coverage: 91.977% (+0.04%) from 91.941%
19360018668.1

push

github

web-flow
Fix cooling degree day approximation (#2273)

<!--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 #2272 
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] (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?

* One of the conditions in `atmos.cooling_degree_days_approximation` had
the wrong computation and has been fixed: `(tasmax - tasmin)/4` is
replaced by `(tasmax - thresh)/4`

### Does this PR introduce a breaking change?

Yes, values of `cdda` can be changed, but they were not right before.

### Other information:
`hdd` looks fine, it was just `cdd`

7841 of 8525 relevant lines covered (91.98%)

1.84 hits per line

Source Files on job run-{{ matrix.python-version }}-conda - 19360018668.1
  • Tree
  • List 60
  • Changed 3
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19360018668
  • ca49462e on github
  • Prev Job for on main (#19306930543.8)
  • Next Job for on main (#19433287004.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