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

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

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2025 02:33PM UTC
Files 59
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

18 Jul 2025 02:24PM UTC coverage: 88.941%. First build
16372976415.1

push

github

web-flow
Smooth transition between ice and water formulas for saturation vapour pressure + Dewpoint indicator (#2206)

<!--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 #2165
- [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?

* New arguments `interp_power` and `water_thresh` for
`saturation_vapor_pressure` and all related functions. When given,
`interp_power` controls the shape of the transition between ice and
water as reference for the saturation vapour pressure formulas.
+ Deprecated 4 letters methods, but only from the doc. A conversion is
done to support them anyway.
* Rewrite of the e_sat function to make this simpler (?) and extensible
* New methods "buck81" and "aerk96".
* New method "ECMWF" that combines both.
* New indicators:
   + `vapor_pressure` : To compute the partial pressure of water vapor.
+ `dewpoint_from_specific_humidity` : To get `tdps` from `huss` and
`ps`.


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

I changed the value for $\epsilon$ in `specific_humidity` and
`specific_humidity_from_dewpoint` so all three uses of the same constant
are now identical. The change is on the 5th decimal, I don't think it
really "breaks".

I also changed the "var_name" of indicator
`specific_humidity_from_dewpoint` to `huss`, which makes more sense!

7383 of 8301 relevant lines covered (88.94%)

0.89 hits per line

Source Files on job run-3.11-ubuntu-latest-standard - 16372976415.1
  • Tree
  • List 59
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16372976415
  • 8a3cff5e on github
  • Next Job for on main (#16418539286.2)
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