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

Ouranosinc / xclim / 13185465372
92%

Build:
DEFAULT BRANCH: main
Ran 06 Feb 2025 06:36PM UTC
Jobs 8
Files 72
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

06 Feb 2025 06:29PM UTC coverage: 89.976% (+0.01%) from 89.962%
13185465372

push

github

web-flow
Exportable function for fao_allen98 (#2067)

<!--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 #2004
    - Also see discussion #1853 for more information
- [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?

* Adds a new function `fao_allen98` that implements the FAO-56
Penman-Monteith equation and is used inside
`potential_evapotranspiration` for the `allen98` method. This allows
providing some variables directly instead of using estimates e.g. tas
mean or the different vapour pressures can be taken from datasets
directly instead of being estimated. See discussion #1853 or issue
#2004.
* Fixes a bug where hurs provided in `%` lead to wrong results for PET
when using `allen98`

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

### Questions:
I would like to fix the units of the input for the new function exactly.
Is there an easy way to do this? And how can I provide a scalar value as
a default with units?

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

9550 of 10614 relevant lines covered (89.98%)

7.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.python-version }}-conda - 13185465372.1 06 Feb 2025 06:39PM UTC 72
88.14
GitHub Action Run
2 run-3.10-ubuntu-latest-preliminary - 13185465372.2 06 Feb 2025 06:39PM UTC 72
82.42
GitHub Action Run
3 run-3.10-windows-latest-py310-coverage-prefetch - 13185465372.3 06 Feb 2025 06:40PM UTC 72
82.19
GitHub Action Run
4 run-3.12-ubuntu-latest-standard - 13185465372.4 06 Feb 2025 06:40PM UTC 72
82.77
GitHub Action Run
5 run-3.11-ubuntu-latest-py311-coverage-sbck-offline-prefetch - 13185465372.5 06 Feb 2025 06:40PM UTC 72
84.25
GitHub Action Run
6 run-3.11-ubuntu-latest-standard - 13185465372.6 06 Feb 2025 06:40PM UTC 72
84.3
GitHub Action Run
7 run-3.11-macos-latest-py311-coverage-extras - 13185465372.7 06 Feb 2025 06:40PM UTC 72
88.11
GitHub Action Run
8 run-3.10-ubuntu-latest-standard - 13185465372.8 06 Feb 2025 06:40PM UTC 72
82.42
GitHub Action Run
Source Files on build 13185465372
  • Tree
  • List 72
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9845b7fb on github
  • Prev Build on main (#13165971617)
  • Next Build on main (#13266961193)
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

© 2025 Coveralls, Inc