NCAS-CMS / NCAS-CMS/cfdm

Compliance reporting: standard name compatibility of units

Open
#367 0 comments 0 reactions 1 assignee View on GitHub

@sadielbartholomew is already working on this.

Since Nov 7, 2025.

conformance enhancement
Dominant language
Python
Stars
31
Forks
13
Avg merge
7d 22h
Merged PRs (30d)
1

Description

Following on from #366, a next step in CF Checking capability would be to ensure that (any)where valid standard names are present, the corresponding units are compatible with the standard name (i.e. the units are either those listed as canonical for a given name, else convertible to those according to the UDUNITS database). That is, checking and reporting against the critieria as follows under '3.1 Units' of the Conformance document:

The units of a variable that specifies a standard_name must be physically equivalent to the canonical units given in the standard name table...

where the complication of modifiers could be addressed either together with this, or as a follow-on PR:

...as modified by the standard_name modifier, if there is one, according to Appendix C, and then modified by all the methods listed in order by the cell_methods attribute, if one is present, according to Appendix E.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.