From 16eabb4f3473c2144b98e3238afd9f155561b6af Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Wed, 2 Oct 2024 06:33:21 -0400 Subject: [PATCH] update language and formats to latest updates in OARec (#228) --- examples/ca-eccc-msc.cmip5-tt.json | 4 +++- examples/ca-eccc-msc.daily-climate-observations.json | 4 +++- examples/ca-eccc-msc.hydrometric-archive.json | 4 +++- examples/ca-eccc-msc.hydrometric-realtime.json | 4 +++- examples/ca-eccc-msc.nwp-gdps.json | 4 +++- examples/cn-cma.nmic.prediction-forecast.json | 4 +++- examples/cn-cma.nmic.surface-based-observations.json | 4 +++- examples/de-dwd.icon-eps-all.json | 8 ++++++-- examples/int-eumetsat-serviri-core.json | 8 ++++++-- examples/us-noaa-nws.gfs-10deg.json | 4 +++- examples/us-noaa-nws.goes16-satellite-sst.json | 8 ++++++-- 11 files changed, 42 insertions(+), 14 deletions(-) diff --git a/examples/ca-eccc-msc.cmip5-tt.json b/examples/ca-eccc-msc.cmip5-tt.json index 60b0af6..7b2a9a9 100644 --- a/examples/ca-eccc-msc.cmip5-tt.json +++ b/examples/ca-eccc-msc.cmip5-tt.json @@ -124,7 +124,9 @@ } ], "wmo:dataPolicy": "core", - "language": "en", + "language": { + "code": "en" + }, "type": "dataset", "created": "2018-01-01T12:34:32Z", "updated": "2018-09-06T08:18:23Z" diff --git a/examples/ca-eccc-msc.daily-climate-observations.json b/examples/ca-eccc-msc.daily-climate-observations.json index bcdd57e..6247bc0 100644 --- a/examples/ca-eccc-msc.daily-climate-observations.json +++ b/examples/ca-eccc-msc.daily-climate-observations.json @@ -107,7 +107,9 @@ } ], "wmo:dataPolicy": "core", - "language": "en", + "language": { + "code": "en" + }, "type": "dataset", "created": "2018-01-01T21:11:12Z", "updated": "2022-06-17T18:43:39Z" diff --git a/examples/ca-eccc-msc.hydrometric-archive.json b/examples/ca-eccc-msc.hydrometric-archive.json index e2fc9c0..08b6bc3 100644 --- a/examples/ca-eccc-msc.hydrometric-archive.json +++ b/examples/ca-eccc-msc.hydrometric-archive.json @@ -124,7 +124,9 @@ } ], "wmo:dataPolicy": "core", - "language": "en", + "language": { + "code": "en" + }, "type": "dataset", "created": "2018-01-01T12:34:56Z", "updated": "2022-06-17T12:49:21Z" diff --git a/examples/ca-eccc-msc.hydrometric-realtime.json b/examples/ca-eccc-msc.hydrometric-realtime.json index fb4ab89..91e96f2 100644 --- a/examples/ca-eccc-msc.hydrometric-realtime.json +++ b/examples/ca-eccc-msc.hydrometric-realtime.json @@ -124,7 +124,9 @@ } ], "wmo:dataPolicy": "core", - "language": "en", + "language": { + "code": "en" + }, "type": "dataset", "created": "2018-01-01T02:23:43Z", "updated": "2022-06-22T09:23:32Z" diff --git a/examples/ca-eccc-msc.nwp-gdps.json b/examples/ca-eccc-msc.nwp-gdps.json index e4c313a..f623dfd 100644 --- a/examples/ca-eccc-msc.nwp-gdps.json +++ b/examples/ca-eccc-msc.nwp-gdps.json @@ -115,7 +115,9 @@ } ], "wmo:dataPolicy": "core", - "language": "en", + "language": { + "code": "en" + }, "type": "dataset", "created": "2018-01-01T11:11:23Z", "updated": "2022-06-17T08:22:24Z" diff --git a/examples/cn-cma.nmic.prediction-forecast.json b/examples/cn-cma.nmic.prediction-forecast.json index 23f5bd5..ae0d636 100644 --- a/examples/cn-cma.nmic.prediction-forecast.json +++ b/examples/cn-cma.nmic.prediction-forecast.json @@ -115,7 +115,9 @@ } ], "wmo:dataPolicy": "core", - "language": "en", + "language": { + "code": "en" + }, "type": "dataset", "created": "2023-04-23T12:00:00Z", "updated": "2024-03-13T12:00:00Z", diff --git a/examples/cn-cma.nmic.surface-based-observations.json b/examples/cn-cma.nmic.surface-based-observations.json index fb56c1c..1e86860 100644 --- a/examples/cn-cma.nmic.surface-based-observations.json +++ b/examples/cn-cma.nmic.surface-based-observations.json @@ -91,7 +91,9 @@ } ], "wmo:dataPolicy": "core", - "language": "en", + "language": { + "code": "en" + }, "type": "dataset", "created": "2023-04-23T12:00:00Z", "updated": "2024-01-15T12:00:00Z", diff --git a/examples/de-dwd.icon-eps-all.json b/examples/de-dwd.icon-eps-all.json index 7414c77..5a8add2 100644 --- a/examples/de-dwd.icon-eps-all.json +++ b/examples/de-dwd.icon-eps-all.json @@ -183,9 +183,13 @@ "value": "de.dwd.icon-eps.ALL" } ], - "language": "eng", + "language": { + "code": "en" + }, "formats": [ - "GRIB2" + { + "name": "GRIB2" + } ], "rights": "Users are granted free and unrestricted access to this data, without charge and with no conditions on use. Users are requested to attribute the producer of this data." }, diff --git a/examples/int-eumetsat-serviri-core.json b/examples/int-eumetsat-serviri-core.json index b7a3a21..21f046f 100644 --- a/examples/int-eumetsat-serviri-core.json +++ b/examples/int-eumetsat-serviri-core.json @@ -55,7 +55,9 @@ "ocean" ], "keywordsCodespace": "http://standards.iso.org/ittf/PubliclyAvailableStandards/ISO_19139_Schemas/resources/Codelist/gmxCodelists.xml#MD_KeywordTypeCode", - "language": "en", + "language": { + "code": "en" + }, "contacts": [ { "name": "Data Collection or Production Centre", @@ -128,7 +130,9 @@ } ], "formats": [ - "application/x-eum-hrit" + { + "mediaType": "application/x-eum-hrit" + } ], "contactPoint": "https://www.eumetsat.int/contact-us", "wmo:dataPolicy": "core" diff --git a/examples/us-noaa-nws.gfs-10deg.json b/examples/us-noaa-nws.gfs-10deg.json index 6da7d23..aa5bfa7 100644 --- a/examples/us-noaa-nws.gfs-10deg.json +++ b/examples/us-noaa-nws.gfs-10deg.json @@ -206,7 +206,9 @@ "Atmosphere", "weatherForecasts" ], - "language": "en", + "language": { + "code": "en" + }, "themes": [ { "concepts": [ diff --git a/examples/us-noaa-nws.goes16-satellite-sst.json b/examples/us-noaa-nws.goes16-satellite-sst.json index c13468a..8987536 100644 --- a/examples/us-noaa-nws.goes16-satellite-sst.json +++ b/examples/us-noaa-nws.goes16-satellite-sst.json @@ -65,7 +65,9 @@ "Atmosphere", "meteorology" ], - "language": "en", + "language": { + "code": "en" + }, "themes": [ { "concepts": [ @@ -147,7 +149,9 @@ } ], "formats": [ - "NetCDF" + { + "name": "NetCDF" + } ], "rights": "There are no restrictions on the use of this data." },