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

Ouranosinc / xsdba / 21526505102 / 5
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 30 Jan 2026 06:39PM UTC
Files 23
Run time 0s
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

30 Jan 2026 06:33PM UTC coverage: 78.306% (-0.03%) from 78.331%
21526505102.5

push

github

web-flow
Address warnings, refactor grouped_time_indexes (#250)

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

* Addresses warnings stemming from the use of now deprecated
`xarray.cftime_range` (now `xarray.date_range(..., use_cftime=True)`).
* Adds an import check for `numpy.trapezoid`
* Ignores a division by zero `RuntimeWarning` from `numpy` raised by
tests (as is expected).
* Refactors `grouped_time_indexes` to use `GroupBy.map` instead of
`GroupBy.apply`, as well as moderately adjusts internal logic of the
function.

### Does this PR introduce a breaking change?

It should not.

### Other information:

The `grouped_time_indexes` function was refactored with the aid of AI.

2801 of 3577 relevant lines covered (78.31%)

0.78 hits per line

Source Files on job run-3.11 - 21526505102.5
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21526505102
  • 45a2e4ab on github
  • Prev Job for on main (#20971143029.5)
  • 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