From 967cbffad75759c59fb124e6d4d59cba72754ab9 Mon Sep 17 00:00:00 2001 From: maany Date: Thu, 21 Nov 2024 17:41:26 +0100 Subject: [PATCH] change metadata output path --- app/time_travel/sentinel5p_metadata_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/time_travel/sentinel5p_metadata_generator.py b/app/time_travel/sentinel5p_metadata_generator.py index ec06564..27badfb 100644 --- a/app/time_travel/sentinel5p_metadata_generator.py +++ b/app/time_travel/sentinel5p_metadata_generator.py @@ -150,7 +150,7 @@ def generate_time_travel_metadata( with tempfile.NamedTemporaryFile(suffix=".json", delete=True) as out: with open(out.name, "w") as f: f.write(metadata.model_dump_json(indent=2)) - relative_path = f"{case_study_name}/{tracer_id}/{job_id}/sentinel/sentinel5p_time_travel_metadata.json" + relative_path = f"{case_study_name}/{tracer_id}/{job_id}/metadata.json" out_source_data = KernelPlancksterSourceData( name="time_travel_metadata.json", protocol=protocol,