Skip to content

Commit

Permalink
Fixing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
eupassarinho authored Oct 13, 2022
1 parent 4331f31 commit 282f32f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions Script_05_computing-SAR-vegetation-indices.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,20 +458,14 @@ 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()
del dprvic
gc.collect()
del desc
gc.collect()
# del mc
# gc.collect()
# del Hc
# gc.collect()
# del thetac
# gc.collect()
del dpsvi
gc.collect()
del dpsvim
Expand Down Expand Up @@ -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)
shutil.rmtree(inpath)

0 comments on commit 282f32f

Please sign in to comment.