Skip to content

Commit

Permalink
PR-2716 Not truncating the filename for the value that goes into prod…
Browse files Browse the repository at this point in the history
…uct/key
  • Loading branch information
benbart committed Feb 13, 2021
1 parent 9ffca74 commit 476ddf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion workflows/palsar/lambdas/jaxa_md_to_asf_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def do_task(event, context):

returndict = event['input']['payload']

md22 = get_md_from_strings(event['input']['meta']['Files']['L22'][:-4],
md22 = get_md_from_strings(event['input']['meta']['Files']['L22'],
event['input']['payload']['summarytxt'],
event['input']['payload']['kmlfile'],
os.getenv('DISTRIBUTION_HOST'),
Expand Down
2 changes: 1 addition & 1 deletion workflows/palsar/lambdas/palsar_22_md/get_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def convert_22_to_11_asfmd(mdin: dict, filename: str) -> dict:
md['attr']['processing_description'] = get_processing_lvl_desc(lvl)
md['collection']['processing_level'] = lvl
md['product']['processing_type'] = lvl
md['product']['key'] = filename[:-4]
md['product']['key'] = filename
return md


Expand Down

0 comments on commit 476ddf1

Please sign in to comment.