Ancillary variable aware cube arithmetic

Open
#4,872 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading issue #3483 and the linked comment for the expected ancillary-variable behavior. Then locate the cube arithmetic entry points and tests in the repository, and compare arithmetic involving cubes with and without Ancillary Variables. Done means resultant cubes preserve the relevant Ancillary Variable metadata without breaking existing arithmetic behavior.

Written by the indexing model from the issue text.

Description

needs-checkin Type: Enhancement

✨ Feature Request

When performing cube arithmetic with one or more cube operands that contain Ancillary Variables, the resultant cube no longer contains any reference to the Ancillary Variables i.e., they are explicitly cleared from the resultant cube.

Extend cube arithmetic such that it maintains the Ancillary Variable metadata.

Reference: #3483 and this comment.

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.