From 8a761be8ac595810adcec2eff6b2fa3dbae14e93 Mon Sep 17 00:00:00 2001 From: Tom Kralidis Date: Tue, 15 Oct 2024 08:00:20 -0400 Subject: [PATCH] update properties.language to an object per latest OARec changes (#75) --- wis2box_api/plugins/process/publish_dataset.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wis2box_api/plugins/process/publish_dataset.py b/wis2box_api/plugins/process/publish_dataset.py index 49da815..fe2a82d 100644 --- a/wis2box_api/plugins/process/publish_dataset.py +++ b/wis2box_api/plugins/process/publish_dataset.py @@ -122,7 +122,9 @@ "identifier": "urn:wmo:md:test-wis-node2:surface-based-observations.synop", # noqa "title": "Hourly synoptic observations from fixed-land stations (SYNOP) (test-wis-node2)", # noqa "description": "this is a test dataset", - "language": None, + "language": { + "code": None + }, "keywords": ["surface", "land", "observations"], "themes": [{ "concepts": [{"id": "weather", "title": "Weather"}],