MetOffice / MetOffice/ANTS

`shapely.vectorized` deprecated since `2.0.0`

Open Beginner friendly
#169 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7
Forks
10
Avg merge
1d 19h
Merged PRs (30d)
5

Description

# ✨ Feature Request
`shapely.vectorized` has been deprecated since `2.0.0` and is used in the `merge` routine in `ants.analysis`. This can be updated.

## Requirements
Replace deprecated calls with recommended `contains_xy`.

## Context
This will be used in `merge`.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the merge routine in ants.analysis and find its uses of the deprecated shapely.vectorized API. Replace those calls with contains_xy, then run the relevant merge checks or test suite to confirm the routine still behaves correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.