From 00047ea9b83ad717fead0facedc1313016ebf715 Mon Sep 17 00:00:00 2001 From: Gui Castelao Date: Fri, 15 Sep 2023 16:48:37 -0600 Subject: [PATCH 1/3] Initiating JSON templates --- OG-1.0.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 OG-1.0.json diff --git a/OG-1.0.json b/OG-1.0.json new file mode 100644 index 00000000..8b51796c --- /dev/null +++ b/OG-1.0.json @@ -0,0 +1,16 @@ +{ +"name": "OG-1.0", +"metadata": { + "global_attributes": { + "Conventions": "CF-1.8, ACDD-1.3, OG-1.0", + "featureType": "trajectory", + "date_created": "{HIGHLY_DESIRABLE}", + "title": "{MANDATORY}", + "platform": "{MANDATORY}", + "platform_vocabulary": "{MANDATORY}", + "id": "{MANDATORY}", + "contributor_name": "{MANDATORY}", + "contributor_email": "{MANDATORY}" + } + } +} From 0d54e7000bd0b295989480147b24998b8f561fc6 Mon Sep 17 00:00:00 2001 From: Gui Castelao Date: Sun, 17 Sep 2023 19:45:50 -0600 Subject: [PATCH 2/3] Extending global variables --- OG-1.0.json | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/OG-1.0.json b/OG-1.0.json index 8b51796c..dd8d5013 100644 --- a/OG-1.0.json +++ b/OG-1.0.json @@ -9,8 +9,24 @@ "platform": "{MANDATORY}", "platform_vocabulary": "{MANDATORY}", "id": "{MANDATORY}", + "naming_authority": "{HIGHLY_DESIRABLE}", + "institution": "{MANDATORY}", + "institution_role": "{MANDATORY}", + "institution_role_vocabulary": "{MANDATORY}", + "institution_id": "{HIGHLY_DESIRABLE}", + "internal_mission_identifier": "{HIGHLY_DESIRABLE}", + "site": "{HIGHLY_DESIRABLE}", + "site_vocabulary": "{HIGHLY_DESIRABLE}", + "program": "{HIGHLY_DESIRABLE}", "contributor_name": "{MANDATORY}", - "contributor_email": "{MANDATORY}" + "contributor_email": "{MANDATORY}", + "contributor_id": "{HIGHLY_DESIRABLE}", + "contributor_role": "{MANDATORY}", + "contributor_role_vocabulary": "{MANDATORY}", + "data_url": "{MANDATORY}", + "doi": "{HIGHLY_DESIRABLE}", + "rtqc_method": "{MANDATORY}", + "rtqc_method_doi": "{MANDATORY}" } } } From df0b11824629cf8ba5e1f1cbad1e030c2674c211 Mon Sep 17 00:00:00 2001 From: Gui Castelao Date: Sun, 17 Sep 2023 21:12:34 -0600 Subject: [PATCH 3/3] Adding GPS variables It is interesting that it is not clear here it all these attributes are mandatory. And the most important, it is not clear if the values are examples or fixed values, i.e. everyone should repeat exactly those values? For instance, if there is no QC, should the 'ancillary_variables' be ignored? --- OG-1.0.json | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/OG-1.0.json b/OG-1.0.json index dd8d5013..df768d36 100644 --- a/OG-1.0.json +++ b/OG-1.0.json @@ -27,6 +27,40 @@ "doi": "{HIGHLY_DESIRABLE}", "rtqc_method": "{MANDATORY}", "rtqc_method_doi": "{MANDATORY}" + }, + "variables": { + "TIME_GPS": { + "attributes": { + "long_name": "time of each GPS location", + "units": "seconds since 1970-01-01T00:00:00Z", + "_FillValue": "-1.0", + "valid_min": "1e9", + "valid_max": "4e9", + "ancillary_variables": "TIME_GPS_QC" + } + }, + "LATITUDE_GPS": { + "attributes": { + "long_name": "latitude of each GPS location", + "standard_name": "latitude", + "units": "degrees_north", + "_FillValue": "-9999.9", + "valid_min": "-90.0", + "valid_max": "90.0", + "ancillary_variables": "LATITUDE_GPS_QC" + } + }, + "LONGITUDE_GPS": { + "attributes": { + "long_name": "longitude of each GPS location", + "standard_name": "longitude", + "units": "degrees_east", + "_FillValue": "-9999.9", + "valid_min": "-180.0", + "valid_max": "180.0", + "ancillary_variables": "LONGITUDE_GPS_QC" + } + } } - } +} }