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

roocs / clisops / 26303027872
87%

Build:
DEFAULT BRANCH: master
Ran 22 May 2026 05:49PM UTC
Jobs 5
Files 32
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

22 May 2026 05:42PM UTC coverage: 87.459% (+0.2%) from 87.288%
26303027872

push

github

web-flow
Subset gridpoint masking and distance and geographic methods for all grid types (#493)

<!--Please ensure the PR fulfills the following requirements! -->
### Pull Request Checklist:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
  - This PR fixes issue #xyz
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] HISTORY.rst has been updated (with summary of main changes)

### What kind of change does this PR introduce?: <!--(Bug fix, feature,
docs update, etc.)-->

- Adds ability to use a boolean data mask with `subset_gridpoint` where
selected points must be within the mask (`True`)
- Allows choice between using true world distance or nearest neighbour
based on geographic (lat, lon) coords for selection of points for both
regular and irregular grids. Current implementation is inconsistent and
uses lat,lon nearest for regular grids and true distance on irregular

### Does this PR introduce a breaking change?: <!--(Has there been an
API change? New dependencies?)-->
The default method is set for `distance` (more accurate but could
potentially be slower for large grids). As such the default behaviour is
different for regular lat, lon grids potentially causing small
differences in selected locations (most likely close to poles if at all
present)

### Other information: <!--(Relevant discussion threads? Outside
documentation pages?)-->

57 of 60 new or added lines in 1 file covered. (95.0%)

1 existing line in 1 file now uncovered.

3229 of 3692 relevant lines covered (87.46%)

4.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
89.11
0.9% clisops/core/subset.py

Coverage Regressions

Lines Coverage ∆ File
1
89.11
0.9% clisops/core/subset.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.11-conda - 26303027872.1 22 May 2026 05:49PM UTC 32
87.41
GitHub Action Run
2 run-Python3.11 - 26303027872.2 22 May 2026 05:51PM UTC 32
76.81
GitHub Action Run
3 run-Python3.12-conda - 26303027872.3 22 May 2026 05:51PM UTC 32
87.41
GitHub Action Run
4 run-Python3.13-conda - 26303027872.4 22 May 2026 05:51PM UTC 32
87.41
GitHub Action Run
5 run-Python3.12 - 26303027872.5 22 May 2026 05:51PM UTC 32
76.79
GitHub Action Run
Source Files on build 26303027872
  • Tree
  • List 32
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26303027872
  • b29cbb44 on github
  • Prev Build on master (#24097165165)
  • Next Build on master (#27145410268)
  • Delete
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