diff --git a/workflows/palsar/lambdas/jaxa_md_to_asf_md.py b/workflows/palsar/lambdas/jaxa_md_to_asf_md.py index d1cff9df..356dac50 100644 --- a/workflows/palsar/lambdas/jaxa_md_to_asf_md.py +++ b/workflows/palsar/lambdas/jaxa_md_to_asf_md.py @@ -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'), diff --git a/workflows/palsar/lambdas/palsar_22_md/get_md.py b/workflows/palsar/lambdas/palsar_22_md/get_md.py index 3de53d40..bc957ca9 100644 --- a/workflows/palsar/lambdas/palsar_22_md/get_md.py +++ b/workflows/palsar/lambdas/palsar_22_md/get_md.py @@ -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