Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to vocab checks #43

Merged
merged 9 commits into from
Mar 1, 2024
Merged

Changes to vocab checks #43

merged 9 commits into from
Mar 1, 2024

Conversation

joshua-hampton
Copy link
Collaborator

Added option to do a vocab check against a URL, and added rule functions for ceda_platform and ncas_platform

  • URL vocab checks are denoted by use of __URL__, rather than __vocabs__:
    • __URL__ is replaced by https:// before attempting to retrieve vocab
    • If retrieving from a release version on raw.githubusercontent.com, the tag __latest__ can be used to denote latest version - checksit will find the latest version
  • Rule functions for ceda_platform and ncas_platform to check value against CEDA catalogue and NCAS platform repository respectively
    • amof-file-name spec now uses these functions to check for valid platform, and URL vocab check for instruments against NCAS instrument repository
  • Written tests for ceda_platform and ncas_platform functions

@joshua-hampton joshua-hampton merged commit 7c1c336 into main Mar 1, 2024
5 checks passed
@joshua-hampton joshua-hampton deleted the url_vocabs branch April 24, 2024 11:41
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.

1 participant