From 0281fc17b3b6be003b9d9ae9e7ca7c252ad5d848 Mon Sep 17 00:00:00 2001 From: Impact <pascal.mouquet@ird.fr> Date: Mon, 16 Nov 2020 10:54:46 +0400 Subject: [PATCH] upgrading new indices (NDRE, IRECI) jpeg2000 compression factor to 30 --- sen2chain/indices.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sen2chain/indices.py b/sen2chain/indices.py index cae65d4..def26b6 100644 --- a/sen2chain/indices.py +++ b/sen2chain/indices.py @@ -451,7 +451,7 @@ class Ndre(Indice): out_path=(out_path / self.indice_raw)) index_tiff_2_jp2(img_path=(out_path / self.indice_raw), out_path=(out_path / self.indice_filename), - quality = 20) + quality = 30) if nodata_clouds: if not self.cm_product.path.exists(): @@ -471,7 +471,7 @@ class Ndre(Indice): out_path=(out_path / masked_indice_raw)) index_tiff_2_jp2(img_path=(out_path / masked_indice_raw), out_path=(out_path / masked_indice_filename), - quality = 20) + quality = 30) os.remove(str(out_path / masked_indice_raw)) try: -- GitLab