ESCOMP / ESCOMP/ESMStandardNames
[release/v1] Create tool/script that validates standard names using official name components?
- Dominant language
- Python
- Stars
- 9
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
In the new `release/v1` branch we are moving to a more rules-based construction of standard names, where accepted base names can be combined with accepted prefixes and suffixes in a particular order to produce valid standard names. Thus it could be useful if there was some sort of script or tool that could check a standard name that is using those components to see if it is valid or not (i.e. follows all of the rules), which could alleviate the review burden for PRs that are adding new standard names.
This script could also, at least theoretically, be used to generate a "best-guess" of what the units for the standard name should be based off the units listed in the dictionary itself (for example, a prefix of `tendency_of` should add a `s-1` to the units).
Of course it should be noted that there is likely no way that a tool could be used to validate every possible type of standard name or unit. However, as more and more standard name "components" are added, then hopefully more standard names can be checked without requiring a person to do so manually.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.