Skip to content

Commit

Permalink
#30: Added some metadata - note that this is hardcoded to SIOS InfraN…
Browse files Browse the repository at this point in the history
…or..
  • Loading branch information
mortenwh committed Aug 20, 2019
1 parent 3b26df2 commit 1c438ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions geospaas_wind/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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() + \
Expand Down

0 comments on commit 1c438ce

Please sign in to comment.