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

check WCMP2 compliance with pywcmp, update to valid centre-ids #741

Merged
merged 12 commits into from
Aug 22, 2024

Conversation

tomkralidis
Copy link
Collaborator

@tomkralidis tomkralidis commented Aug 21, 2024

This PR updates WCMP2 checks in CI to use pywcmp. As well, updates centre id's used in test data to approved/valid identifiers in accordance with WTH (note that Romania and Malawi do not have approved centre-id's, so they are suffixed with -test per WTH requirements).

FYI #739 (when approved) should be merged before this PR, at which point I will rebase.

@tomkralidis tomkralidis marked this pull request as draft August 21, 2024 21:01
@tomkralidis tomkralidis marked this pull request as ready for review August 21, 2024 21:08
@tomkralidis tomkralidis added this to the sprint-015 milestone Aug 21, 2024
@tomkralidis tomkralidis changed the title update sample data to approved centre ids check WCMP2 compliance with pywcmp, update to valid centre-ids Aug 21, 2024
@@ -69,11 +69,11 @@
"for dataset in collections['collections']:\n",
" print(dataset['title'])\n",
"\n",
"malawi_obs = oafeat.collection_items('mw-mw_met_centre.data.core.weather.surface-based-observations.synop')\n",
"malawi_obs = oafeat.collection_items('mw-mw_met_centre-test.data.core.weather.surface-based-observations.synop')\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not directly related to this PR but please note that all references based on topic-hierarchy-dotpath are incorrect, since the index of the collection is using dataset-id (metadata_id).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I did a sweep across docs, pushed to this PR just now.

@tomkralidis
Copy link
Collaborator Author

@tomkralidis topic updates:

  • ship -> ship-hourly
  • buoy -> ocean/.../drifting-buoys
  • wind_profiler -> wind-profile

@tomkralidis
Copy link
Collaborator Author

@maaikelimper @david-i-berry this PR is now rebased and ready for review.

@tomkralidis tomkralidis merged commit b65b6da into main Aug 22, 2024
4 checks passed
@tomkralidis tomkralidis deleted the approved-centre-ids branch August 22, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discovery metadata Discovery metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants