Deltares / Deltares/imod-python

Pkgbase: make into more complete Mappings

Open
#223 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
41
Forks
12
Avg merge
21h 8m
Merged PRs (30d)
1

Description

In GitLab by @Huite on Feb 3, 2022, 13:37

The current package are mappings, in the sense of working via Key-Value pairs, where the keys are accessed by square brackets. Internally, this forwards the key to a dataset.

While we've implemented getitem and setitem, we haven't implemented other methods such as keys, values, items which are very useful e.g. for exploration.

Contributor guide

No contributing guide indexed for this repository

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 with Pkgbase and trace the existing getitem and setitem implementations to understand how keys are forwarded to the dataset. Add the requested mapping methods—keys, values, and items—and verify that they expose the underlying package data consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.