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

Ouranosinc / xscen / 8707929667
90%

Build:
DEFAULT BRANCH: main
Ran 16 Apr 2024 03:05PM UTC
Jobs 8
Files 19
Run time 1min
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: 73.679% (+0.01%) from 73.666%
8707929667

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).

2 of 2 new or added lines in 1 file covered. (100.0%)

2970 of 4031 relevant lines covered (73.68%)

5.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Python3.10-conda - 8707929667.1 16 Apr 2024 03:07PM UTC 0
73.54
2 run-Python3.12-conda - 8707929667.2 16 Apr 2024 03:07PM UTC 0
73.54
3 run-Python3.12 - 8707929667.3 16 Apr 2024 03:07PM UTC 0
71.08
4 run-Python3.9-conda - 8707929667.4 16 Apr 2024 03:07PM UTC 0
73.5
5 run-Python3.11-conda - 8707929667.5 16 Apr 2024 03:07PM UTC 0
73.54
6 run-Python3.9 - 8707929667.6 16 Apr 2024 03:07PM UTC 0
71.04
7 run-Python3.11 - 8707929667.7 16 Apr 2024 03:07PM UTC 0
71.08
8 run-Python3.10 - 8707929667.8 16 Apr 2024 03:07PM UTC 0
71.08
Source Files on build 8707929667
Detailed source file information is not available for this build.
  • Back to Repo
  • 520fb457 on github
  • Prev Build on main (#8667307042)
  • Next Build on main (#8743956959)
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