Skip to content

Conversation

@callumrollo
Copy link
Member

This is an example PR.

I run the script og1_variables.py to read in variables yaml from yaml/draft_yaml. I note from the log output that the first input term "AD2CP_HEADING" is failing with an error message:

2025-12-01 16:43:34 ERROR    expected keys {'units', 'standard_name'} not found in AD2CP_HEADING

So, I add units (taken from the related term P06 of the OG1 NVS entry for HEADING http://vocab.nerc.ac.uk/collection/OG1/current/HEADING/) and the standard name platform_orientation from the CF standard names table https://cfconventions.org/Data/cf-standard-names/current/build/cf-standard-name-table.html

I re-run the script, and now this term is approved and is output to yaml/validated_yaml/og1_variables.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants