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

Ouranosinc / xsdba / 21648734949
79%

Build:
DEFAULT BRANCH: main
Ran 03 Feb 2026 09:38PM UTC
Jobs 8
Files 23
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 Feb 2026 09:34PM UTC coverage: 78.48% (-0.1%) from 78.585%
21648734949

push

github

web-flow
add permissive option and fix for 0 (#194)

<!-- 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.
- [ ] CHANGELOG.rst has been updated (with summary of main changes).
- [ ] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added.

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

* Fix clip for 0. When we had a 0 in float32 and we clipped to the next
float32, it would become a 0 (float 32) again in `data_prime`. If we
cast it to float64, it could stay not exactly 0.
  * our tests did not catch this because the inputs were in 64.
  * The casting behavior is different for numpy <2.0, so I pin it above.
* I have encountered climate models with hurs above 100... I have found
that the data_request suggested to clip the data, but not everybody did
it.
(https://earthscience.stackexchange.com/questions/22850/why-are-the-cmip6-model-outputs-for-relative-humidity-not-scaled-to-between-1-10)
* I am thinking maybe we can do the clipping ourselves, so I added that
option with "permissive".


### Does this PR introduce a breaking change?
yes, the behavior will be different for 0.

### Other information:

21 of 22 new or added lines in 1 file covered. (95.45%)

7 existing lines in 2 files now uncovered.

2819 of 3592 relevant lines covered (78.48%)

6.13 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.53
0.41% src/xsdba/processing.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
85.53
0.41% src/xsdba/processing.py
6
25.58
-3.49% src/xsdba/nbutils.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.14-conda - 21648734949.1 03 Feb 2026 09:39PM UTC 23
76.09
GitHub Action Run
2 run-3.12 - 21648734949.2 03 Feb 2026 09:40PM UTC 23
76.09
GitHub Action Run
3 run-3.11 - 21648734949.3 03 Feb 2026 09:40PM UTC 23
78.37
GitHub Action Run
4 run-Python3.13-conda - 21648734949.4 03 Feb 2026 09:38PM UTC 23
76.09
GitHub Action Run
5 run-Python3.10-conda - 21648734949.5 03 Feb 2026 09:39PM UTC 23
76.09
GitHub Action Run
6 run-Python3.12-conda - 21648734949.6 03 Feb 2026 09:39PM UTC 23
76.09
GitHub Action Run
7 run-Python3.11-conda - 21648734949.7 03 Feb 2026 09:39PM UTC 23
78.37
GitHub Action Run
8 run-3.10 - 21648734949.8 03 Feb 2026 09:40PM UTC 23
76.09
GitHub Action Run
Source Files on build 21648734949
  • Tree
  • List 23
  • Changed 4
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21648734949
  • d7a036e9 on github
  • Prev Build on main (#21638271661)
  • Next Build on main (#21870355011)
  • Delete
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