Skip to content

Commit

Permalink
update examples consistency (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Feb 5, 2024
1 parent 48fb898 commit 39fc5a7
Show file tree
Hide file tree
Showing 9 changed files with 83 additions and 131 deletions.
32 changes: 2 additions & 30 deletions examples/ca-eccc-msc-gdc.global-discovery-catalogue.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
],
"links": [
{
"rel": "canonical",
"rel": "about",
"type": "text/html",
"href": "https://www.canada.ca/en/environment-climate-change.html"
}
Expand All @@ -132,39 +132,11 @@
]
},
"links": [
{
"rel": "data",
"type": "text/html",
"title": "WMO WIS Global Cache - Deutscher Wetterdienst (Cached files < 24h during pilot)",
"href": "https://opendata.dwd.de/test/wis2/cache"
},
{
"rel": "archives",
"type": "text/html",
"title": "Open Data Server DWD (Metadata Archive)",
"href": "https://opendata.dwd.de/test/wis2/cache_metadata"
},
{
"rel": "related",
"type": "application/json",
"title": "WMO WIS2 Global Broker - M\u00e9t\u00e9o-France",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883",
"channel": "cache/a/wis2/#",
"distribution": {
"maxMSGsize": 4096,
"unit": "bytes"
}
},
{
"rel": "related",
"type": "application/json",
"title": "WMO WIS Global Broker - China Meteorological Administration",
"href": "mqtt://everyone:everyone@gb.wis.cma.cn:1883",
"channel": "cache/a/wis2/#",
"distribution": {
"maxMSGsize": 4096,
"unit": "bytes"
}
"href": "https://example.org/cache_metadata"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
],
"links": [
{
"rel": "canonical",
"rel": "about",
"type": "text/html",
"href": "https://www.canada.ca/en/environment-climate-change.html"
}
Expand Down Expand Up @@ -145,15 +145,15 @@
"title": "Data access API interface"
},
{
"rel": "related",
"rel": "about",
"href": "https://eccc-msc.github.io/open-data/msc-data/obs_station/readme_obs_insitu_swobdatamart_en",
"type": "text/html",
"title": "Documentation"
},
{
"rel": "items",
"href": "mqtts://example.org",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/weather/observations/surface-land/landFixed",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/weather/surface-based-observations/synop",
"type": "application/json",
"title": "Data notifications"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,51 +46,43 @@
"concepts": [
{
"id": "weather",
"title": "Weather",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/weather"
"title": "Weather"
},
{
"id": "climate",
"title": "Climate",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/climate"
"title": "Climate"
},
{
"id": "hydrology",
"title": "Hydrology",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/hydrology"
"title": "Hydrology"
},
{
"id": "atmospheric-composition",
"title": "Atmospheric Composition",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/atmospheric-composition"
"title": "Atmospheric Composition"
},
{
"id": "cryosphere",
"title": "Cryosphere",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/cryosphere"
"title": "Cryosphere"
},
{
"id": "ocean",
"title": "Ocean",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/ocean"
"title": "Ocean"
},
{
"id": "space-weather",
"title": "Space Weather",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/space-weather"
"title": "Space Weather"
}
],
"scheme": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline"
"scheme": "https://github.com/wmo-im/wis2-topic-hierarchy/blob/main/topic-hierarchy/earth-system-discipline/index.csv"
},
{
"concepts": [
{
"id": "global-broker",
"title": "Global Broker",
"url": "https://codes.wmo.int/wis/global-service-type/global-broker"
"title": "Global Broker"
}
],
"scheme": "https://codes.wmo.int/wis/global-service-type"
"scheme": "https://github.com/wmo-im/wcmp2-codelists/blob/main/codelists/global-service-type.csv"
}
],
"contacts": [
Expand Down Expand Up @@ -152,17 +144,10 @@
},
{
"rel": "items",
"channel": "cache/a/wis2/#",
"type": "application/json",
"title": "Data notifications - WMO WIS2 Global Broker - MF",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883"
},
{
"rel": "items",
"channel": "cache/a/wis2/#",
"channel": "origin/a/wis2/cn-cma-babj/weather/prediction/forecast/#",
"type": "application/json",
"title": "Data notifications - WMO WIS Global Broker - CMA",
"href": "mqtt://everyone:everyone@gb.wis.cma.cn:1883"
"href": "mqtts://everyone:everyone@example.org:8883"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,15 @@
"concepts": [
{
"id": "weather",
"title": "Weather",
"url": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline/weather"
"title": "Weather"
}
],
"scheme": "https://codes.wmo.int/topic-hierarchy/earth-system-discipline"
"scheme": "https://github.com/wmo-im/wis2-topic-hierarchy/blob/main/topic-hierarchy/earth-system-discipline/weather/index.csv"
}
],
"contacts": [
{
"name": "GISC Beijing",
"name": "GISC Beijing Team",
"organization": "China Meteorological Administration (CMA); National Meteorological Information Center (NMIC)",
"phones": [
{
Expand Down Expand Up @@ -110,19 +109,12 @@
"title": "Raw data download (bufr4)",
"href": "https://wisdev.kishou.go.jp/data/wis2/chn/babj/data/core/weather/surface-based-observations/synop/"
},
{
"rel": "items",
"channel": "cache/a/wis2/#",
"type": "application/json",
"title": "Data notifications - WMO WIS2 Global Broker - MF",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883"
},
{
"rel": "items",
"channel": "cache/a/wis2/#",
"type": "application/json",
"title": "Data notifications - WMO WIS Global Broker - CMA",
"href": "mqtt://everyone:everyone@gb.wis.cma.cn:1883"
"href": "mqtts://everyone:everyone@example.org:8883"
}
]
}
18 changes: 3 additions & 15 deletions examples/de-dwd.global-cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
"conformsTo": [
"http://wis.wmo.int/spec/wcmp/2/conf/core"
],
"time": {
"interval": [
"2024-01-01T00:00:00Z",
".."
]
},
"time": null,
"geometry": {
"type": "Polygon",
"coordinates": [
Expand Down Expand Up @@ -153,14 +148,7 @@
"keywords": [
"WIS2",
"Global Cache"
],
"externalIds": [
{
"scheme": "DWD",
"value": "de.dwd.globalcache"
}
],
"language": "eng"
]
},
"links": [
{
Expand All @@ -178,7 +166,7 @@
{
"rel": "items",
"channel": "cache/a/wis2",
"href": "mqtts://everyone:everyone@wis2.dwd.de:8883",
"href": "mqtts://everyone:everyone@example.org:8883",
"type": "application/json",
"title": "Data notifications"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/de-dwd.icon-eps-all.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
{
"rel": "items",
"channel": "origin/a/wis2/de-dwd/data/core/weather/prediction/forecast/medium-range",
"href": "mqtts://everyone:everyone@wis2.dwd.de:8883",
"href": "mqtts://everyone:everyone@example.org:8883",
"type": "application/json",
"title": "Data notifications"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/de-dwd.surface-weather-observations-realtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
{
"rel": "items",
"channel": "origin/a/wis2/de-dwd/data/core/weather/surface-based-observations/synop",
"href": "mqtts://everyone:everyone@wis2.dwd.de:8883",
"href": "mqtts://everyone:everyone@example.org:8883",
"type": "application/json",
"title": "Data notifications"
}
Expand Down
18 changes: 3 additions & 15 deletions examples/fr-meteo-france.global-broker.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,22 +130,10 @@
},
"links": [
{
"rel": "data",
"type": "text/html",
"title": "WMO WIS Global Cache - Deutscher Wetterdienst (Cached files < 24h during pilot)",
"href": "https://opendata.dwd.de/test/wis2/cache"
},
{
"rel": "archives",
"type": "text/html",
"title": "Open Data Server DWD (Metadata Archive)",
"href": "https://opendata.dwd.de/test/wis2/cache_metadata"
},
{
"rel": "related",
"rel": "items",
"type": "application/json",
"title": "WMO WIS2 Global Broker - M\u00e9t\u00e9o-France",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883",
"href": "mqtts://everyone:everyone@example.org:8883",
"channel": "cache/a/wis2/#",
"distribution": {
"maxMSGsize": 4096,
Expand All @@ -156,7 +144,7 @@
"rel": "related",
"type": "application/json",
"title": "WMO WIS Global Broker - China Meteorological Administration",
"href": "mqtt://everyone:everyone@gb.wis.cma.cn:1883",
"href": "mqtts://everyone:everyone@example.org:8883",
"channel": "cache/a/wis2/#",
"distribution": {
"maxMSGsize": 4096,
Expand Down
Loading

0 comments on commit 39fc5a7

Please sign in to comment.