From 1c438ce74ece5019fd6914312b8657d4e532e517 Mon Sep 17 00:00:00 2001 From: mortenwh Date: Tue, 20 Aug 2019 12:18:58 +0200 Subject: [PATCH] #30: Added some metadata - note that this is hardcoded to SIOS InfraNor.. --- geospaas_wind/managers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geospaas_wind/managers.py b/geospaas_wind/managers.py index 6b03c57..6d99085 100644 --- a/geospaas_wind/managers.py +++ b/geospaas_wind/managers.py @@ -68,6 +68,8 @@ def process(self, uri, force=False, *args, **kwargs): # Set global metadata metadata['data_center'] = json.dumps(pti.get_gcmd_provider('nersc')) + metadata['naming_authority'] = 'no.nersc.sios_infranor' + metadata['project'] = 'SIOS InfraNor' metadata['entry_title'] = 'Wind field from '+os.path.basename(uri) metadata.pop('file_creation_date') metadata['history'] = metadata['history'] + ' ' + timezone.now().isoformat() + \