Skip to content

Commit

Permalink
earthdataCMR normalizer: make unknown platform more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Apr 17, 2024
1 parent 28acf46 commit 258cb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metanorm/normalizers/geospaas/earthdata_cmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_platform(self, raw_metadata):
try:
return utils.get_gcmd_platform(raw_metadata['umm']['Platforms'][0]['ShortName'])
except KeyError:
return utils.get_gcmd_platform('UNKNOWN')
return utils.get_gcmd_platform(utils.UNKNOWN)

@utils.raises((KeyError, IndexError))
def get_instrument(self, raw_metadata):
Expand Down

0 comments on commit 258cb5a

Please sign in to comment.