Skip to content

Commit

Permalink
fix ref
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Nov 14, 2023
1 parent e5acb76 commit 908156e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tests-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
python3 wis2box-ctl.py execute wis2box data add-collection $DISCOVERY_METADATA
python3 wis2box-ctl.py execute wis2box data ingest -th $TOPIC_HIERARCHY -p $TEST_DATA
curl -s http://localhost/oapi/collections/discovery-metadata/items/$DISCOVERY_METADATA_ID --output /tmp/$DISCOVERY_METADATA_ID
cat /tmp/$DISCOVERY_METADATA_ID
check-jsonschema --schemafile /tmp/wcmp2-bundled.json /tmp/$DISCOVERY_METADATA_ID
- name: add Italy data 🇮🇹
env:
Expand Down Expand Up @@ -98,9 +97,9 @@ jobs:
check-jsonschema --schemafile /tmp/wcmp2-bundled.json /tmp/$DISCOVERY_METADATA_ID
- name: add Congo data 🇨🇩
env:
TOPIC_HIERARCHY: co-brazza_met_centre.data.core.weather.surface-based-observations.synop
DISCOVERY_METADATA: /data/wis2box/metadata/discovery/co-surface-weather-observations.yml
DISCOVERY_METADATA_ID: urn:x-wmo:md:co-brazza_met_centre:surface-weather-observations
TOPIC_HIERARCHY: cd-brazza_met_centre.data.core.weather.surface-based-observations.synop
DISCOVERY_METADATA: /data/wis2box/metadata/discovery/cd-surface-weather-observations.yml
DISCOVERY_METADATA_ID: urn:x-wmo:md:cd-brazza_met_centre:surface-weather-observations
TEST_DATA: /data/wis2box/observations/congo
run: |
python3 wis2box-ctl.py execute wis2box metadata discovery publish $DISCOVERY_METADATA
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
wis2box:
retention: P180D
topic_hierarchy: co-brazza_met_centre.data.core.weather.surface-based-observations.synop
topic_hierarchy: cd-brazza_met_centre.data.core.weather.surface-based-observations.synop
country: cog
centre_id: co-brazza_met_centre
centre_id: cd-brazza_met_centre

mcf:
version: 1.0

metadata:
identifier: urn:x-wmo:md:co-brazza_met_centre:surface-weather-observations
identifier: urn:x-wmo:md:cd-brazza_met_centre:surface-weather-observations
hierarchylevel: dataset

identification:
Expand Down

0 comments on commit 908156e

Please sign in to comment.