Skip to content

Commit

Permalink
Update topo.py (#735)
Browse files Browse the repository at this point in the history
Fix the bug about whether multilooking geometry files is needed -
should be inps.alks*inps.rlks >1 , not inps.rlks*inps.rlks >1
  • Loading branch information
yjzhenglamarmota authored and Lijun Zhu committed Dec 14, 2023
1 parent cf86b83 commit ed9b142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/stack/stripmapStack/topo.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def main(iargs=None):
runSimamp(os.path.dirname(info.heightFilename),os.path.basename(info.heightFilename))

# write multilooked geometry files in "geom_reference" directory, same level as "Igrams"
if inps.rlks * inps.rlks > 1:
if inps.alks * inps.rlks > 1:
out_dir = os.path.join(os.path.dirname(os.path.dirname(info.outdir)), 'geom_reference')
runMultilook(in_dir=info.outdir, out_dir=out_dir, alks=inps.alks, rlks=inps.rlks)

Expand Down

0 comments on commit ed9b142

Please sign in to comment.