From 789aa7fafd242ab8625e8dea247f184da2274154 Mon Sep 17 00:00:00 2001
From: Aurore Dupuis <aurore.dupuis@cnes.fr>
Date: Sat, 26 Feb 2022 00:01:35 +0100
Subject: [PATCH] Fix synthesis name.

---
 python/s2snow/snow_synthesis.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python/s2snow/snow_synthesis.py b/python/s2snow/snow_synthesis.py
index 0928f54a..a271a125 100644
--- a/python/s2snow/snow_synthesis.py
+++ b/python/s2snow/snow_synthesis.py
@@ -82,9 +82,9 @@ def compute_snow_synthesis(config, output_dir, h2_chain_version=None, product_co
         logging.info("Load densification products.")
         load_densification_products(config.date_margin, config.date_start, config.date_stop,
                                     config.densification_products_list, tmp_dir, product_dict, config.ram)
-        synthesis_name = "LIS_S2L8-SNOW-SNT_" + synthesis_name + ".tif"
+        synthesis_name = "LIS_S2L8-SNOW-{}_" + synthesis_name + ".tif"
     else:
-        synthesis_name = "LIS_S2-SNOW-SNT_" + synthesis_name + ".tif"
+        synthesis_name = "LIS_S2-SNOW-SNT-{}_" + synthesis_name + ".tif"
 
     # ----------------------------------------------------------------------------------------
     # Sort products by acquisition date, retrieve input and output dates
-- 
GitLab