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

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

Build:
Build:
LAST BUILD BRANCH: eco-ci-project
DEFAULT BRANCH: main
Ran 28 Sep 2023 04:10PM UTC
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

28 Sep 2023 03:55PM UTC coverage: 90.481% (+0.01%) from 90.468%
6341312292.1

push

github

web-flow
Raise when reduced dims are chunked in map_blocks (#1482)

<!--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 #1481
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] (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?
If a `map_blocks`-wrapped function receives input chunked along the
dimensions marked as "reduced", it raises an error.

This means one cannot chunk the training dataset (`QM.ds`, for example)
along the distribution ('quantiles') or group ('month', 'dayofyear')
dimensions.

Previously, this didn't raise an error, but the adjustment would be done
separately for each chunk, yielding incorrect results, silently.

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

### Other information:

8355 of 9234 relevant lines covered (90.48%)

3.47 hits per line

Source Files on job run-{{ matrix.tox-env }} - 6341312292.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6341312292
  • e9596e59 on github
  • Prev Job for on master (#6265573929.1)
  • Next Job for on master (#6341802572.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