diff --git a/.github/generate.py b/.github/generate.py index 00f25cbd5..f3070b05c 100644 --- a/.github/generate.py +++ b/.github/generate.py @@ -110,7 +110,7 @@ def xml_to_json(xml_url): out = { "@context":'_context_', - "id":f'standard_name/{i["id"]}', + "id":f'{i["id"]}', "type": "standard_name", "name": i["id"], "description": i["description"], @@ -139,7 +139,7 @@ def xml_to_json(xml_url): out = { "@context":'_context_', - "id":f'cf:area-type-table/{i["id"]}', + "id":f'{i["id"]}', "type": "area-type-table", "name": i["id"], "description": i["description"], @@ -176,4 +176,4 @@ def xml_to_json(xml_url): # https://github.com/cf-convention/cf-convention.github.io/blob/main/Data/area-type-table/2/src/area-type-table.xml # https://cfconventions.org/Data/cf-standard-names/current/src/cf-standard-name-table.xml -# https://raw.githubusercontent.com/cf-convention/cf-convention.github.io/main/Data/cf-standard-names/85/src/cf-standard-name-table.xml \ No newline at end of file +# https://raw.githubusercontent.com/cf-convention/cf-convention.github.io/main/Data/cf-standard-names/85/src/cf-standard-name-table.xml