Skip to content

Commit

Permalink
update examples (#198) (#201)
Browse files Browse the repository at this point in the history
* update examples (#198)

* fix

* update media types

* Update examples/us-noaa-nws.goes16-satellite-sst.json

---------

Co-authored-by: Anna Milan <amilan@wmo.int>
  • Loading branch information
tomkralidis and amilan17 authored Mar 27, 2024
1 parent d2537ea commit 57af37c
Show file tree
Hide file tree
Showing 11 changed files with 141 additions and 71 deletions.
2 changes: 1 addition & 1 deletion examples/ca-eccc-msc-gdc.global-discovery-catalogue.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"rel": "archives",
"type": "text/html",
"title": "Open Data Server DWD (Metadata Archive)",
"href": "https://example.org/cache_metadata"
"href": "https://opendata.dwd.de/test/wis2/cache_metadata"
}
]
}
11 changes: 9 additions & 2 deletions examples/ca-eccc-msc.cmip5-tt.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
{
"rel": "service",
"href": "https://geo.weather.gc.ca/geomet-climate?lang=F&service=WMS&request=GetCapabilities&layer=CMIP5.TT.RCP85.YEAR.2081-2100_PCTL50",
"type": "image/png",
"type": "application/xml",
"title": "CMIP5.TT.RCP85.YEAR.2081-2100_PCTL50"
},
{
Expand All @@ -167,7 +167,14 @@
"href": "https://dd.weather.gc.ca/climate/cmip5/netcdf/scenarios/RCP8.5/annual/avg_20years",
"type": "text/html",
"hreflang": "en",
"title": "Raw data download (NetCDF files)"
"title": "Raw data download (NetCDF files)",
"distribution": {
"availableFormat": [
{
"name": "NetCDF"
}
]
}
}
]
}
6 changes: 3 additions & 3 deletions examples/ca-eccc-msc.daily-climate-observations.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
{
"rel": "stations",
"href": "https://api.weather.gc.ca/collections/climate-stations/items",
"type": "application/json",
"type": "application/geo+json",
"title": "Stations associated with this dataset"
},
{
Expand All @@ -134,7 +134,7 @@
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/climate-daily/items",
"type": "application/json",
"type": "application/geo+json",
"title": "Climate daily data access API interface"
},
{
Expand All @@ -146,7 +146,7 @@
{
"rel": "items",
"href": "mqtts://example.org",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/climate/observations",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/climate",
"type": "application/geo+json",
"title": "Data notifications"
}
Expand Down
23 changes: 15 additions & 8 deletions examples/ca-eccc-msc.hydrometric-archive.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,14 @@
"rel": "related",
"href": "https://www.canada.ca/en/environment-climate-change/services/water-overview/quantity/monitoring/survey/data-products-services/national-archive-hydat.html",
"type": "text/html",
"title": "Archive database download"
"title": "Archive database download",
"distribution": {
"availableFormats": [
{
"name": "SQLite3"
}
]
}
},
{
"rel": "license",
Expand All @@ -145,44 +152,44 @@
{
"rel": "service",
"href": "https://geo.weather.gc.ca/geomet-climate?lang=F&service=WMS&request=GetCapabilities",
"type": "image/png",
"type": "application/xml",
"title": "HYDROMETRIC.STATIONS"
},
{
"rel": "items",
"href": "mqtts://example.org",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/hydrology",
"type": "application/geo+json",
"title": "Data notifications"
},
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/hydrometric-stations/items",
"type": "application/json",
"type": "application/geo+json",
"title": "hydrometric-stations"
},
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/hydrometric-daily-mean/items",
"type": "application/json",
"type": "application/geo+json",
"title": "hydrometric-daily-mean"
},
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/hydrometric-monthly-mean/items",
"type": "application/json",
"type": "application/geo+json",
"title": "hydrometric-monthly-mean"
},
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/hydrometric-annual-statistics/items",
"type": "application/json",
"type": "application/geo+json",
"title": "hydrometric-annual-statistics"
},
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/hydrometric-annual-peaks/items",
"type": "application/json",
"type": "application/geo+json",
"title": "hydrometric-annual-peaks"
}
]
Expand Down
13 changes: 10 additions & 3 deletions examples/ca-eccc-msc.hydrometric-realtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,14 @@
"href": "https://dd.weather.gc.ca/hydrometric/csv",
"type": "text/html",
"hreflang": "en",
"title": "Raw data download (CSV files)"
"title": "Raw data download (CSV files)",
"distribution": {
"availableFormats": [
{
"name": "CSV"
}
]
}
},
{
"rel": "license",
Expand All @@ -145,15 +152,15 @@
},
{
"rel": "items",
"href": "mqtts://example.org",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/hydrology",
"type": "application/geo+json",
"title": "Data notifications"
},
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/hydrometric-realtime/items",
"type": "application/json",
"type": "application/geo+json",
"hreflang": "en",
"title": "Data access API"
}
Expand Down
15 changes: 11 additions & 4 deletions examples/ca-eccc-msc.nwp-gdps.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,14 @@
"rel": "data",
"href": "https://dd.weather.gc.ca/model_gem_global",
"type": "text/html",
"title": "MSC Datamart"
"title": "MSC Datamart",
"distribution": {
"availableFormats": [
{
"name": "GRIB2"
}
]
}
},
{
"rel": "license",
Expand All @@ -136,13 +143,13 @@
{
"rel": "service",
"href": "https://geo.weather.gc.ca/geomet?lang=en&service=WMS&request=GetCapabilities&layers=GDPS.ETA_TT",
"type": "image/png",
"title": "Air temperature [\u00b0C]"
"type": "application/xml",
"title": "Air temperature [degrees]"
},
{
"rel": "items",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/weather/nwp/global",
"href": "mqtts://example.org",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883",
"type": "application/geo+json",
"title": "Data notifications"
}
Expand Down
15 changes: 11 additions & 4 deletions examples/ca-eccc-msc.surface-weather-observations-realtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,21 @@
{
"rel": "data",
"href": "https://dd.weather.gc.ca/observations/swob-ml",
"type": "application/xml",
"type": "text/html",
"hreflang": "en",
"title": "Raw data download (XML files)"
"title": "Raw data download (XML files)",
"distribution": {
"availableFormats": [
{
"name": "XML"
}
]
}
},
{
"rel": "items",
"href": "https://api.weather.gc.ca/collections/swob-realtime/items",
"type": "application/json",
"type": "application/geo+json",
"title": "Data access API interface"
},
{
Expand All @@ -152,7 +159,7 @@
},
{
"rel": "items",
"href": "mqtts://example.org",
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883",
"channel": "origin/a/wis2/ca-eccc-msc/data/core/weather/surface-based-observations/synop",
"type": "application/geo+json",
"title": "Data notifications"
Expand Down
17 changes: 4 additions & 13 deletions examples/cn-cma-babj.nmic.prediction-forecast.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,7 @@
"title": "Space Weather"
}
],
"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"
}
],
"scheme": "https://github.com/wmo-im/wcmp2-codelists/blob/main/codelists/global-service-type.csv"
"scheme": "https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline"
}
],
"contacts": [
Expand Down Expand Up @@ -127,7 +118,7 @@
"language": "en",
"type": "dataset",
"created": "2023-04-23T12:00:00Z",
"updated": "2024-01-15T12:00:00Z",
"updated": "2024-03-13T12:00:00Z",
"keywords": [
"WIS2",
"forecast",
Expand All @@ -144,10 +135,10 @@
},
{
"rel": "items",
"channel": "origin/a/wis2/cn-cma-babj/weather/prediction/forecast/#",
"channel": "origin/a/wis2/cn-cma-babj/weather/prediction/forecast/shortrange/probabilistic/global",
"type": "application/geo+json",
"title": "Data notifications - WMO WIS Global Broker - CMA",
"href": "mqtts://everyone:everyone@example.org:8883"
"href": "mqtts://everyone:everyone@globalbroker.meteo.fr:8883"
}
]
}
2 changes: 1 addition & 1 deletion examples/cn-cma-babj.nmic.surface-based-observations.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"title": "Weather"
}
],
"scheme": "https://github.com/wmo-im/wis2-topic-hierarchy/blob/main/topic-hierarchy/earth-system-discipline/weather/index.csv"
"scheme": "https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline"
}
],
"contacts": [
Expand Down
55 changes: 32 additions & 23 deletions examples/us-noaa-nws.gfs-10deg.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"created": "2022-06-23T18:36:00Z",
"updated": "2022-06-23T18:36:00Z",
"wmo:dataPolicy": "core",
"rights": "access",
"type": "dataset",
"title": "Global Forecast System 1 Degree Resolution",
"description": "The Global Forecast System is a weather forecast model produced by the National Centers for Environmental Prediction.",
Expand Down Expand Up @@ -215,50 +214,53 @@
"id": "weather"
}
],
"scheme": "https://github.com/wmo-im/wis2-topic-hierarchy/blob/main/topic-hierarchy/earth-system-discipline/index.csv"
"scheme": "https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline"
},
{
"concepts": [
{
"id": "meteorology"
}
],
"scheme": "http://wis.wmo.int/2012/codelists/WMOCodeLists#WMO_CategoryCode"
},
{
"concepts": [
{
"id": "Absolute vorticity"
"title": "Absolute vorticity",
"id": "0-2-10"
},
{
"id": "Albedo"
"title": "Albedo",
"id": "0-19-1"
},
{
"id": "Pressure reduced to MSL"
"title": "Pressure reduced to MSL",
"id": "0-3-1"
},
{
"id": "Snow cover"
"title": "Snow cover",
"id": "0-1-42"
},
{
"id": "Snow depth"
"title": "Snow depth",
"id": "0-1-11"
},
{
"id": "Soil temperature"
"title": "Soil temperature",
"id": "2-3-18"
},
{
"id": "v-component of wind"
"title": "v-component of wind",
"id": "0-2-3"
},
{
"id": "v-component storm motion"
"title": "v-component storm motion",
"id": "0-2-28"
},
{
"id": "Vegetation"
"title": "Vegetation",
"id": "2-0-4"
},
{
"id":"Vertical velocity (geometric))"
"title": "Vertical velocity (geometric))",
"id": "0-2-9"
},
{
"id":"Vertical velocity (pressure)"
"title": "Vertical velocity (pressure)",
"id": "0-2-8"
}
],
"scheme": "https://codes.wmo.int/grib2/codeflag/_4.2"
Expand Down Expand Up @@ -308,8 +310,15 @@
{
"rel": "data",
"href": "https://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/",
"type": "application/x-grib",
"title": "NOAA Operational Model Archive and Distribution System (NOMADS)"
"type": "text/html",
"title": "NOAA Operational Model Archive and Distribution System (NOMADS)",
"distribution": {
"availableFormats": [
{
"name": "GRIB2"
}
]
}
}
]
}
Loading

0 comments on commit 57af37c

Please sign in to comment.