Skip to content

Commit

Permalink
Steps towards TOPSAR merge. Refs #27
Browse files Browse the repository at this point in the history
  • Loading branch information
loreabad6 committed Jul 26, 2022
1 parent 62145c3 commit f899bb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/2_dem_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ def interferogram(product, ifg_squarepixel, ifg_cohwin_az, ifg_cohwin_rg):
# [P2] Function for TOPSAR merge with SNAP
def topsar_merge(sources):
print('Running TOPSAR merge...')
output = GPF.createProduct("TOPSAR-Merge", sources)
parameters.put("selectedPolarisations", args.polarization)
output = GPF.createProduct("TOPSAR-Merge", parameters, sources)
return output


Expand Down Expand Up @@ -701,7 +702,6 @@ def snap_single_iw(iw,
lastBurstIndex_2=row['lastBurstIndex_2']
)
products.append(product)

product = topsar_merge(products)
else:
product = snap_single_iw(
Expand Down

0 comments on commit f899bb2

Please sign in to comment.