MetOffice / MetOffice/UG-ANTS

Remove filter for iris datum FutureWarning in UG-ANTS

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

Nobody has claimed this yet.

⬇ low priority
Dominant language
Python
Stars
4
Forks
9
Avg merge
4m
Merged PRs (30d)
1

Description

A test has been added for when the iris datum warning is no longer produced when data without a datum is loaded. When this test fails, this warning
"Ignoring a datum in netCDF load for consistency with existing behaviour. In a future version of Iris, this datum will be applied. To apply the datum when loading, use the iris.FUTURE.datum_support flag."
should no longer be filtered out within ugants.

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

Locate the added test and the UG-ANTS code that filters the Iris datum FutureWarning. Start by running the relevant test to confirm the warning is no longer produced, then remove the obsolete filter and verify the test passes without suppressing that warning.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.