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

Ouranosinc / xscen / 16940395907
90%

Build:
DEFAULT BRANCH: main
Ran 13 Aug 2025 02:42PM UTC
Jobs 7
Files 18
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

13 Aug 2025 02:32PM UTC coverage: 88.067% (+0.04%) from 88.03%
16940395907

push

github

web-flow
update get_period_from_warming_level to allow an array (#630)

<!-- 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 #629 
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [x] (If applicable) Tests have been added.
- [x] This PR does not seem to break the templates.
- [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?

* get_period_from_warming_level can now accept a numpy array of warming
levels, in addition to a scalar. This will return a list of periods.

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

### Other information:
* Also supports DataArray and DataFrame by adding dims+coords in the
former, and using a multi-index in the latter.

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

4059 of 4609 relevant lines covered (88.07%)

6.07 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Python3.12-conda - 16940395907.1 13 Aug 2025 02:42PM UTC 17
87.96
GitHub Action Run
2 run-Python3.11 - 16940395907.2 13 Aug 2025 02:44PM UTC 18
85.35
GitHub Action Run
3 run-Python3.13-conda - 16940395907.3 13 Aug 2025 02:43PM UTC 17
87.96
GitHub Action Run
4 run-Python3.11-conda - 16940395907.4 13 Aug 2025 02:43PM UTC 17
87.96
GitHub Action Run
5 run-Python3.12 - 16940395907.5 13 Aug 2025 02:44PM UTC 18
85.35
GitHub Action Run
6 run-Python3.10 - 16940395907.6 13 Aug 2025 02:44PM UTC 18
84.96
GitHub Action Run
7 run-Python3.10-conda - 16940395907.7 13 Aug 2025 02:43PM UTC 17
87.57
GitHub Action Run
Source Files on build 16940395907
  • Tree
  • List 18
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16940395907
  • cd86e350 on github
  • Prev Build on main (#16890495015)
  • Next Build on main (#17305831137)
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