---
name: "merge_swath"
section: "1"
platform: "linux"
package: "gmtsar-core"
version: "6.5+ds-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/merge_swath"
---

# merge\_swath(1)

merge TOPSAR swath

## NAME

merge\_swath - merge TOPSAR swath

## DESCRIPTION

This program is part of GMTSAR.

USAGE: merge\_swath inputlist output \[stem\] \[n1 n2\]

inputlist example: \
   F1/intf/2015036\_2015060/S1A\_20150609.PRMF1/intf/2015036\_2015060/phasefilt.grd\
   F2/intf/2015036\_2015060/S1A\_20150609.PRMF2/intf/2015036\_2015060/phasefilt.grd\
   F3/intf/2015036\_2015060/S1A\_20150609.PRMF3/intf/2015036\_2015060/phasefilt.grd

note: use the aligned PRM which contains the shift information

output: output.grd \[stem.PRM\]

note: please put the files to stem.in in the order of swath numbers.

-

  make sure all images have same num\_rng\_bin

-

  the n1 and n2 will determine where to stitch, they have to be

-

  pairs when assigned. In case you have only two, use 0 for n2
