Skip to content

Commit 282f32f

Browse files
authored
Fixing bugs
1 parent 4331f31 commit 282f32f

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Script_05_computing-SAR-vegetation-indices.py

+2-8
Original file line numberDiff line numberDiff line change
@@ -458,20 +458,14 @@ def do_merge(source, path_):
458458

459459
parameters = HashMap()
460460
merged_bands = GPF.createProduct('BandMerge', parameters,
461-
(cr, dprvic, mc, Hc, thetac, dpsvi, dpsvim, pol, rvim))
461+
(cr, dprvic, desc, dpsvi, dpsvim, pol, rvim))
462462

463463
del cr
464464
gc.collect()
465465
del dprvic
466466
gc.collect()
467467
del desc
468468
gc.collect()
469-
# del mc
470-
# gc.collect()
471-
# del Hc
472-
# gc.collect()
473-
# del thetac
474-
# gc.collect()
475469
del dpsvi
476470
gc.collect()
477471
del dpsvim
@@ -558,4 +552,4 @@ def do_merge_and_write(_sar_vi_path_, _outpath_):
558552
shutil.rmtree(str(sar_vi_path))
559553

560554
# As well as the cropped products, once we have merged all of them:
561-
shutil.rmtree(inpath)
555+
shutil.rmtree(inpath)

0 commit comments

Comments
 (0)