Remove duplication of metadata operations

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

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading the parent issue #4799 and locating the dimensional metadata operations in the Iris codebase. Compare the existing methods, including the special handling for cell_measures, and determine the shared API intended by the issue. Done means the duplication is removed while the metadata operations remain usable consistently.

Written by the indexing model from the issue text.

Description

Dragon 🐉 Release: Major Type: User Experience

📰 Custom Issue

Raised as part of #4799.

Many of the methods that perform operations on dimensional metadata have unnecessary duplication.

For example, adding cell_measures requires a unique method call, even though it shares an API with most other metadata.

Dominant language
Python
Stars
724
Forks
317
Avg merge
3d 20h
Merged PRs (30d)
9

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.

More from SciTools/iris

All issues in SciTools/iris

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.