cf-python icon indicating copy to clipboard operation
cf-python copied to clipboard

Should standard attributes such as 'standard_name' always be present, even if their value is None?

Open bnlawrence opened this issue 2 years ago • 9 comments

If I have a field, f, which has no standard_name, then

f.standard_name

currently returns

AttributeError: 'Field' has no 'standard_name' property

Shouldn't the correct answer be None, and if not, why not?

bnlawrence avatar Nov 01 '22 12:11 bnlawrence