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

Ouranosinc / xscen / 8707929667 / 3
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2024 03:07PM UTC
Files 19
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 Apr 2024 03:01PM UTC coverage: 71.081% (+0.01%) from 71.067%
8707929667.3

push

github

web-flow
Guess cf coords before subsetting (#384)

<!-- 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 #xyz
- [ ] (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] 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 one of "longitude" or "latitude" can't be found in the CF-compliant
coordinates of the input dataset, `spatial.subset` will try to guess
them ( `cf-xarray` does it really).

### Does this PR introduce a breaking change?
No. Nothing is touched if coordinates are present. If they can't be
found, it will fail silently and we can expect the `subset` to fail
further down the line with some (hopefully) explicit message.


### Other information
This allows the seamless usage of `extract_dataset` with datasets which
lack proper attributes on their coordinates (our copy of ERA5, for
example).

2866 of 4032 relevant lines covered (71.08%)

0.71 hits per line

Source Files on job run-Python3.12 - 8707929667.3
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8707929667
  • 520fb457 on github
  • Prev Job for on main (#8667307042.1)
  • Next Job for on main (#8743956959.7)
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