xarray-contrib / xarray-contrib/xdggs

Select by parent grid cell ids

Open
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
138
Forks
25
Avg merge
1d 15h
Merged PRs (30d)
11

Description

Assuming that a grid system is able to determine the resolution from the input cell ids, we could provide (integer) ids of parent cells via .sel() and a DGGSIndex is able to select all the (children) cells having those parents. It is not possible to pass custom options to .sel() so not possible to manually set the resolution of the input cells.

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 tracing how DGGSIndex handles .sel() and how the grid determines resolution from input cell ids. Determine how parent integer ids could identify all child cells, and how the existing .sel() limitation affects passing a resolution. Done means .sel() accepts parent ids and selects their child cells without requiring custom options.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.