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

roocs / clisops
87%

Build:
DEFAULT BRANCH: master
Repo Added 07 Feb 2023 09:34PM UTC
Token 8xxMv0itLl2Rnq2XsOerLVgTi1UwhcCMs regen
Build 643 Last
Files 32
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • adapt-xarray
  • add-platforms
  • add-test-pypi
  • add_coverage
  • adjust-tests
  • atlas
  • dependabot
  • dependabot-auto-approve
  • dependabot/github_actions/actions-1db280f781
  • dependabot/github_actions/actions-2353c7e9d3
  • dependabot/github_actions/actions-346aed4608
  • dependabot/github_actions/actions-461db7b400
  • dependabot/github_actions/actions-6ece7c7a61
  • dependabot/github_actions/actions-7f321800dd
  • dependabot/github_actions/actions-9bfc11c9dc
  • dependabot/github_actions/actions-9f0572fc03
  • dependabot/github_actions/actions-a585c3c1b6
  • dependabot/github_actions/actions-a7888efe8c
  • dependabot/github_actions/actions-ad1cfd279c
  • dependabot/github_actions/actions-af23a0451d
  • dependabot/github_actions/actions-b742a5716d
  • dependabot/github_actions/actions-c7b624ec4b
  • dependabot/github_actions/actions-db0d8a3f2a
  • dependabot/github_actions/actions-e74af9633e
  • dependabot/github_actions/actions-f2e6fc259d
  • dependabot/github_actions/actions/cache-4.1.0
  • dependabot/github_actions/actions/cache-4.1.1
  • dependabot/github_actions/actions/cache-4.1.2
  • dependabot/github_actions/actions/cache-4.2.0
  • dependabot/github_actions/actions/cache-4.2.1
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-4.2.0
  • dependabot/github_actions/actions/checkout-4.2.1
  • dependabot/github_actions/actions/checkout-4.2.2
  • dependabot/github_actions/actions/github-script-7
  • dependabot/github_actions/actions/setup-python-5
  • dependabot/github_actions/actions/setup-python-5.2.0
  • dependabot/github_actions/actions/setup-python-5.3.0
  • dependabot/github_actions/actions/setup-python-5.4.0
  • dependabot/github_actions/dot-github/workflows/actions-25b786c4d4
  • dependabot/github_actions/mamba-org/setup-micromamba-2.0.0
  • dependabot/github_actions/mamba-org/setup-micromamba-2.0.1
  • dependabot/github_actions/mamba-org/setup-micromamba-2.0.2
  • dependabot/github_actions/mamba-org/setup-micromamba-2.0.3
  • dependabot/github_actions/mamba-org/setup-micromamba-2.0.4
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.10.2
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.10.3
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.11.0
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.2
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.3
  • dependabot/github_actions/pypa/gh-action-pypi-publish-1.12.4
  • dependabot/github_actions/softprops/action-gh-release-2
  • dependabot/github_actions/softprops/action-gh-release-2.0.9
  • dependabot/github_actions/softprops/action-gh-release-2.1.0
  • dependabot/github_actions/softprops/action-gh-release-2.2.0
  • dependabot/github_actions/softprops/action-gh-release-2.2.1
  • dependabot/github_actions/step-security/harden-runner-2.10.1
  • dependabot/github_actions/step-security/harden-runner-2.10.2
  • dependabot/github_actions/step-security/harden-runner-2.10.3
  • dependabot/github_actions/step-security/harden-runner-2.10.4
  • dependabot/github_actions/step-security/harden-runner-2.11.0
  • dependabot/github_actions/styfle/cancel-workflow-action-0.12.1
  • dependabot/pip/CI/bump-my-version-1.2.6
  • dependabot/pip/CI/exceptiongroup-1.3.1
  • dependabot/pip/CI/idna-3.15
  • dependabot/pip/CI/pip-25.3
  • dependabot/pip/CI/pip-26.1
  • dependabot/pip/CI/pip-26.1.1
  • dependabot/pip/CI/pip-2c7469b053
  • dependabot/pip/CI/pip-512858e340
  • dependabot/pip/CI/pip-8177a8837a
  • dependabot/pip/CI/pip-a6aa50acab
  • dependabot/pip/CI/python-dotenv-1.2.2
  • dependabot/pip/CI/requests-2.33.0
  • dependabot/pip/CI/urllib3-2.7.0
  • dependabot/pip/cf-xarray-gte-0.7.5-and-lte-0.8.9
  • dependabot/pip/cf-xarray-gte-0.7.5-and-lte-0.9.0
  • dependabot/pip/numpy-gte-1.23.0-and-lt-2.3
  • dependabot/pip/python-019fa7857d
  • dependabot/pip/python-0fcc65f3e2
  • dependabot/pip/python-1d1aa3af04
  • dependabot/pip/python-2040a6291e
  • dependabot/pip/python-21132373fa
  • dependabot/pip/python-2253f64ff7
  • dependabot/pip/python-2ea8ebdaef
  • dependabot/pip/python-350a0f59bc
  • dependabot/pip/python-5eb9432ed0
  • dependabot/pip/python-6a57027130
  • dependabot/pip/python-6abd2dd00d
  • dependabot/pip/python-7788f5c6c8
  • dependabot/pip/python-8205546052
  • dependabot/pip/python-82ad70ff23
  • dependabot/pip/python-9d4d47bb59
  • dependabot/pip/python-b54df851fe
  • dependabot/pip/python-bbbf337803
  • dependabot/pip/python-ce2478f967
  • dependabot/pip/python-d8c93f5b65
  • dependabot/pip/python-d8eef1601a
  • dependabot/pip/python-ebe56b0d10
  • dependabot/pip/python-f8b8e00329
  • dependabot/pip/xarray-gte-0.21.0-and-lt-2023.13.0
  • dependabot/pip/xarray-gte-0.21.0-and-lt-2024.2.0
  • dependabot/pip/xarray-gte-2022.6.0-and-lt-2025.2.0
  • dev-kerchunk
  • docstring-linting-cleanup
  • drop-python310
  • fix-280
  • fix-283
  • fix-ci-dependencies
  • fix-connections
  • fix-crs
  • fix-docstrings
  • fix-file-namer
  • fix-is-time
  • fix-issue-308-fillvalue
  • fix-issue-451-dataset-utils
  • fix-tests
  • fix-tmpfile-location
  • lift-xarray-pin
  • lint-fix
  • locstream-support
  • master
  • modern-conventions
  • modernisations
  • modernize
  • modernize_carsten
  • open-xarray-pin
  • pin-deps
  • pre-commit-ci-update-config
  • pre-release
  • prepare-rel-0.17.0
  • prepare-v013
  • prepare-v0140
  • prepare-v0141
  • prepare-v0150
  • prepare-v0160
  • prepare-v0162
  • prepare_v0110
  • prepare_v0120
  • prepare_v0121
  • prepare_v0122
  • prepare_v097
  • pytest-package-updates
  • reduce-warnings
  • regrid-dev
  • regrid-main
  • regrid_masks_and_fixes
  • regrid_updates_and_output_fixes
  • savg
  • subset-nomask-poly
  • subset_360day_and_detect_coord
  • subset_gridpoint_mask
  • subsetshapecrs
  • support-py313
  • update-ci
  • update-deps
  • update_deps
  • use-master

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

Relevant lines Covered
Build:
Build:
3692 RELEVANT LINES 3229 COVERED LINES
4.16 HITS PER LINE
Source Files on master
  • Tree
  • List 32
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26303027872 master 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 / ... push 22 May 2026 05:49PM UTC web-flow github
87.46
26249386755 subset_gridpoint_mask Merge 98d63e49b into 8b9d98a17 Pull #493 21 May 2026 07:55PM UTC web-flow github
87.46
26117841741 dependabot/pip/CI/idna-3.15 Merge 1c8b00eb2 into 8d59a93b5 Pull #497 19 May 2026 06:50PM UTC web-flow github
87.29
25750688113 subset_gridpoint_mask Merge 7901149e0 into 8d59a93b5 Pull #493 12 May 2026 05:26PM UTC web-flow github
87.46
25739027972 subset_gridpoint_mask Merge 0c335c170 into 8d59a93b5 Pull #493 12 May 2026 02:01PM UTC web-flow github
87.5
25691137584 dependabot/pip/CI/pip-26.1.1 Merge f6b639213 into 3a296cbe7 Pull #496 11 May 2026 07:10PM UTC web-flow github
87.29
25689666427 dependabot/pip/CI/pip-26.1 Merge e771de5ab into 89ca1bc8f Pull #495 11 May 2026 06:42PM UTC web-flow github
87.29
25685420794 subset_gridpoint_mask Merge 266b9f24d into 89ca1bc8f Pull #493 11 May 2026 05:17PM UTC web-flow github
87.5
25684349758 dependabot/pip/CI/urllib3-2.7.0 Merge aa6795865 into 700ac0c27 Pull #494 11 May 2026 05:01PM UTC web-flow github
87.29
25565675123 subset_gridpoint_mask Merge e5747c578 into 700ac0c27 Pull #493 08 May 2026 04:05PM UTC web-flow github
87.52
See All Builds (478)

Badge your Repo: clisops

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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