Skip to content

Commit

Permalink
change parsing of granule concept id
Browse files Browse the repository at this point in the history
  • Loading branch information
torimcd committed Jun 5, 2024
1 parent b5398f3 commit 04e1396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bignbit/handle_gitc_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def handler(event, _):
collection_name = message_body["collection"]
cmr_env = os.environ['CMR_ENVIRONMENT']

granule_concept_id = gitc_id[-19:]
granule_concept_id = gitc_id.rpartition('_')[-1]
umm_json = utils.get_umm_json(granule_concept_id, cmr_env)
granule_ur = umm_json['GranuleUR']

Expand Down

0 comments on commit 04e1396

Please sign in to comment.