Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion wis2box_api/plugins/process/dataset_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def execute(self, data):
response = requests.get(url)
if response.status_code == 200:
for item in response.json()['features']:
key = item['properties']['identifier']
key = item['id']
if collection_id is None or collection_id == key:
# find index in api_config
index = 'notfound'
Expand Down
1 change: 0 additions & 1 deletion wis2box_api/plugins/process/publish_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@
},
"properties": {
"type": "dataset",
"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": {
Expand Down
Loading