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

Ouranosinc / xscen / 17412019148
90%

Build:
DEFAULT BRANCH: main
Ran 02 Sep 2025 06:13PM UTC
Jobs 7
Files 18
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

02 Sep 2025 06:04PM UTC coverage: 88.148% (+0.06%) from 88.09%
17412019148

push

github

web-flow
Rotate vectors - get crs (#635)

<!-- 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
- [x] (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] CHANGELOG.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?
Two new functions in `xs.spatial`
* `rotate_vectors` to rotate vectors from their native grid axes to
actual S-N W-E axes. Mostly useful for wind that comes out of some
models. Can also do the opposite rotation.
* `get_crs` to get a cartopy crs from a grid mapping variable. This is
only temporary, waiting for my PR in cartopy: SciTools/cartopy#2548.

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

### Other information:
@aslibese fyi

40 of 41 new or added lines in 3 files covered. (97.56%)

4098 of 4649 relevant lines covered (88.15%)

6.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.95
-0.16% src/xscen/spatial.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.11 - 17412019148.1 02 Sep 2025 06:15PM UTC 18
85.37
GitHub Action Run
2 run-Python3.11-conda - 17412019148.2 02 Sep 2025 06:14PM UTC 17
88.04
GitHub Action Run
3 run-Python3.13-conda - 17412019148.3 02 Sep 2025 06:15PM UTC 17
88.04
GitHub Action Run
4 run-Python3.10 - 17412019148.4 02 Sep 2025 06:15PM UTC 18
85.07
GitHub Action Run
5 run-Python3.10-conda - 17412019148.5 02 Sep 2025 06:14PM UTC 17
87.57
GitHub Action Run
6 run-Python3.12-conda - 17412019148.6 02 Sep 2025 06:14PM UTC 17
88.04
GitHub Action Run
7 run-Python3.12 - 17412019148.7 02 Sep 2025 06:15PM UTC 18
85.37
GitHub Action Run
Source Files on build 17412019148
  • Tree
  • List 18
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 94fdefa3 on github
  • Prev Build on main (#17409063702)
  • Next Build on main (#17414994792)
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

© 2025 Coveralls, Inc