MetOffice / MetOffice/CDDS

Enhance missing attribute error message in QC

Open Beginner friendly
#933 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8
Forks
7
Avg merge
1d 15h
Merged PRs (30d)
23

Description

It would be valuable here to add a line that specifies which attribute is missing, if any, to avoid the need to drop into the debugger when errors occur.

See line 121 of cdds/cdds/qc/dataset/cmip7.py and PR #929 for details

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at line 121 of cdds/cdds/qc/dataset/cmip7.py and review PR #929 for the existing context. Update the missing-attribute error so it identifies which attribute is missing, then verify that the QC error output provides that attribute without requiring a debugger.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.