From 282f32fb5ac3630a8f1af74240aeeb94c4891ed2 Mon Sep 17 00:00:00 2001 From: Erli Pinto dos Santos Date: Thu, 13 Oct 2022 15:02:05 -0300 Subject: [PATCH] Fixing bugs --- Script_05_computing-SAR-vegetation-indices.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Script_05_computing-SAR-vegetation-indices.py b/Script_05_computing-SAR-vegetation-indices.py index 1fb1ea1..e6b119d 100644 --- a/Script_05_computing-SAR-vegetation-indices.py +++ b/Script_05_computing-SAR-vegetation-indices.py @@ -458,7 +458,7 @@ def do_merge(source, path_): parameters = HashMap() merged_bands = GPF.createProduct('BandMerge', parameters, - (cr, dprvic, mc, Hc, thetac, dpsvi, dpsvim, pol, rvim)) + (cr, dprvic, desc, dpsvi, dpsvim, pol, rvim)) del cr gc.collect() @@ -466,12 +466,6 @@ def do_merge(source, path_): gc.collect() del desc gc.collect() - # del mc - # gc.collect() - # del Hc - # gc.collect() - # del thetac - # gc.collect() del dpsvi gc.collect() del dpsvim @@ -558,4 +552,4 @@ def do_merge_and_write(_sar_vi_path_, _outpath_): shutil.rmtree(str(sar_vi_path)) # As well as the cropped products, once we have merged all of them: -shutil.rmtree(inpath) \ No newline at end of file +shutil.rmtree(inpath)