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

Ouranosinc / xclim / 7933071554 / 1
90%
main: 92%

Build:
Build:
LAST BUILD BRANCH: support-socket-blocked
DEFAULT BRANCH: main
Ran 16 Feb 2024 04:10PM UTC
Files 70
Run time 2s
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

16 Feb 2024 04:00PM UTC coverage: 89.876% (+0.02%) from 89.857%
7933071554.1

push

github

web-flow
Better degree_days_exceedance_date and ensemble stats (#1647)

### What kind of change does this PR introduce?
Implements two solutions for #1459.

* `min_members` argument to ensemble stats functions. Simply mask
elements when there are fewer valid (non-nan) members than this
threshold. Similar to `min_periods` of xarray's `rolling`, but with a
different default value.
* `never_reached` argument to `degree_days_exceedance_date`. A value
(int, doy) to assign when the `sum_thresh` is not reached at the end of
the period, to differentiate from missing values.

### Does this PR introduce a breaking change?
No. Both default options preserve the previous behaviour (which means
`min_members` doesn't have the same default as it's inspiration
`min_periods`).

8602 of 9571 relevant lines covered (89.88%)

1.79 hits per line

Source Files on job run-{{ matrix.tox-env }}-opt-slow - 7933071554.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7933071554
  • d1741bd9 on github
  • Prev Job for on master (#7932361302.2)
  • Next Job for on master (#7933542357.1)
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