Skip to content
Merged
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
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/Broad-band.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: Broad-band
additional_identifiers:
- identifier: 10.14287/10000012
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000012
keywords:
default:
keywords:
Expand Down
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/Lidar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: Lidar
additional_identifiers:
- identifier: 10.14287/10000007
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000007
keywords:
default:
keywords:
Expand Down
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/Multi-band.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: Multi-band
additional_identifiers:
- identifier: 10.14287/10000010
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000010
keywords:
default:
keywords:
Expand Down
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/OzoneSonde.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: OzoneSonde
additional_identifiers:
- identifier: 10.14287/10000008
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000008
keywords:
default:
keywords:
Expand Down
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/RocketSonde.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: RocketSonde
additional_identifiers:
- identifier: 10.14287/10000009
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000009
keywords:
default:
keywords:
Expand Down
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/Spectral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: Spectral
additional_identifiers:
- identifier: 10.14287/10000011
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -28,7 +31,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000011
keywords:
default:
keywords:
Expand Down
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/TotalOzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: TotalOzone
additional_identifiers:
- identifier: 10.14287/10000004
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000004
keywords:
default:
keywords:
Expand Down
4 changes: 3 additions & 1 deletion data/init/discovery-metadata/Totalozoneobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: TotalOzoneObs
additional_identifiers:
- identifier: 10.14287/10000003
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000003
keywords:
default:
keywords:
Expand Down
6 changes: 4 additions & 2 deletions data/init/discovery-metadata/UmkehrN14_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: UmkehrN14_1.0
additional_identifiers:
- identifier: 10.14287/10000005
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000005
keywords:
default:
keywords:
Expand Down Expand Up @@ -114,4 +116,4 @@ distribution:
description:
en: *abstract_en
fr: *abstract_fr
function: download
function: download
6 changes: 4 additions & 2 deletions data/init/discovery-metadata/UmkehrN14_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: UmkehrN14_2.0
additional_identifiers:
- identifier: 10.14287/10000006
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000006
keywords:
default:
keywords:
Expand Down Expand Up @@ -114,4 +116,4 @@ distribution:
description:
en: *abstract_en
fr: *abstract_fr
function: download
function: download
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ mcf:
# fixed except for identifier
metadata:
identifier: totalozone
additional_identifiers:
- identifier: 10.14287/10000004
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -30,7 +33,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core # fixed
doi: 10.14287/10000004 # doi
keywords:
default:
keywords:
Expand Down
6 changes: 4 additions & 2 deletions data/init/discovery-metadata/uv_index_hourly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ mcf:

metadata:
identifier: uv_index_hourly
additional_identifiers:
- identifier: 10.14287/10000013
scheme: https://doi.org
language: en
language_alternate: fr
charset: utf8
Expand All @@ -27,7 +30,6 @@ identification:
creation: 2025-04-30
publication: 2025-04-30
wmo_data_policy: core
doi: 10.14287/10000013
keywords:
default:
keywords:
Expand Down Expand Up @@ -102,4 +104,4 @@ distribution:
description:
en: *abstract_en
fr: *abstract_fr
function: download
function: download
5 changes: 4 additions & 1 deletion woudc_data_registry/generate_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ def generate_metadata(woudc_yaml):
value2['description_en']
dataset_md['properties']['abstract_fr'] = \
value2['description_fr']
dataset_md["properties"]['doi'] = value2['doi']
dataset_md["properties"]['externalIds'] = [{
'value': value2['doi'],
'scheme': 'https://doi.org'
}]
dataset_md['properties']['keywords_en'] = \
value2['keywords_en']
dataset_md['properties']['keywords_fr'] = \
Expand Down
4 changes: 0 additions & 4 deletions woudc_data_registry/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,6 @@
'fields': {'raw': typedefs['keyword']}
},
'dataset_snapshots': dataset_links,
'doi': {
'type': 'text',
'fields': {'raw': typedefs['keyword']}
},
'keywords': {
'type': 'text',
'fields': {'raw': typedefs['keyword']}
Expand Down
Loading