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

Ouranosinc / xclim / 6539332487
90%
main: 92%

Build:
Build:
LAST BUILD BRANCH: eco-ci-project
DEFAULT BRANCH: main
Ran 16 Oct 2023 09:20PM UTC
Jobs 2
Files 70
Run time 3s
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 Oct 2023 09:12PM UTC coverage: 90.407% (-0.001%) from 90.408%
6539332487

push

github

web-flow
More generic `generic.stats` - Allow 3H inputs (#1498)

<!--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 an issue raised in discussions with @vindelico 
- [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] CHANGES.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?

* Relax indicator `generic.STATS` so it accepts non-daily inputs. I saw
no particular reason for it to be limit to daily values, except from the
metadata.
* Add variance to the supported `op` of `to_agg_units`.
* Add a `out_units` to `select_resample_op` so that one can use it with
an `op` `to_agg_units` doesn't know, and explicitly pass the expected
units.

### Does this PR introduce a breaking change?
Not a big one, but all YAML indicators previous constructed from
`select_resample_op` should add `out_units: null` in their `parameters`
section to remove the new argument from the signature. Altough its
presence is not problematic in itself.

### Other information:

16 of 18 new or added lines in 4 files covered. (88.89%)

8406 of 9298 relevant lines covered (90.41%)

4.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-{{ matrix.tox-env }}-opt-slow - 6539332487.1 16 Oct 2023 09:26PM UTC 0
89.93
2 run-{{ matrix.tox-env }} - 6539332487.2 16 Oct 2023 09:26PM UTC 0
90.41
Source Files on build 6539332487
Detailed source file information is not available for this build.
  • Back to Repo
  • c11c06c4 on github
  • Prev Build on master (#6537832368)
  • Next Build on master (#6539834386)
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