Skip to content

Commit

Permalink
update center-id (#623)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimand authored Feb 2, 2024
1 parent c2d3331 commit fd51306
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ jobs:
check-jsonschema --schemafile /tmp/wcmp2-bundled.json /tmp/$DISCOVERY_METADATA_ID
- name: add China GRIB2 data (universal pipeline) 🇨🇳
env:
TOPIC_HIERARCHY: cn-cma-babj.data.core.weather.prediction.forecast.medium-range.probabilistic.global
TOPIC_HIERARCHY: cn-cma.data.core.weather.prediction.forecast.medium-range.probabilistic.global
DISCOVERY_METADATA: /data/wis2box/metadata/discovery/cn-grapes-geps-global.yml
DISCOVERY_METADATA_ID: urn:x-wmo:md:cn-cma-babj:grapes-geps-global
DISCOVERY_METADATA_ID: urn:x-wmo:md:cn-cma:grapes-geps-global
TEST_DATA: /data/wis2box/observations/china
run: |
python3 wis2box-ctl.py execute wis2box metadata discovery publish $DISCOVERY_METADATA
Expand Down
2 changes: 1 addition & 1 deletion tests/data/data-mappings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ data:
buckets:
- ${WIS2BOX_STORAGE_PUBLIC}
file-pattern: '^WIGOS_(\d-\d+-\d+-\w+)_.*\.bufr4$'
cn-cma-babj.data.core.weather.prediction.forecast.medium-range.probabilistic.global:
cn-cma.data.core.weather.prediction.forecast.medium-range.probabilistic.global:
plugins:
grib2:
- plugin: wis2box.data.universal.UniversalData
Expand Down
6 changes: 3 additions & 3 deletions tests/data/metadata/discovery/cn-grapes-geps-global.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
wis2box:
retention: P30D
topic_hierarchy: cn-cma-babj.data.core.weather.prediction.forecast.medium-range.probabilistic.global
topic_hierarchy: cn-cma.data.core.weather.prediction.forecast.medium-range.probabilistic.global
country: chn
centre_id: cn-cma-babj
centre_id: cn-cma

mcf:
version: 1.0

metadata:
identifier: urn:x-wmo:md:cn-cma-babj:grapes-geps-global
identifier: urn:x-wmo:md:cn-cma:grapes-geps-global
hierarchylevel: dataset

identification:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def test_message_api():

# test messages per test dataset
counts = {
'cn-cma-babj': 11,
'cn-cma': 11,
'mw_met_centre': 25,
'roma_met_centre': 33,
'alger_met_centre': 29,
Expand Down

0 comments on commit fd51306

Please sign in to comment.