ENH : Wiki for DiapOTB module authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
# SARTopographicPhase
Estimates topographic phase for interferogram.
## Description
This application estimates the topographic phase between two SAR images in order to improve the interferogram.
## Parameters
**Input deformation grid** `-ingrid image` *Mandatory* <br />
Input deformation grid.
**Input SAR Slave image (metadata)** `-insarslave image` *Mandatory* <br />
Input SAR Slave image (metadata).
**Input Cartesian Mean Master image** `-incartmeanmaster image` *Mandatory* <br />
Input Cartesian Mean Master image.
**Grid Step for range dimension into SLC geometry** `-gridsteprange int` *Default value: 150* <br />
Grid Step for range dimension into SLC geometry.
**Grid Step for azimut dimension into SLC geometry** `-gridstepazimut int` *Default value: 150* <br />
Grid Step for azimut dimension into SLC geometry.
**ML factor on range** `-mlran int` *Default value: 3* <br />
ML factor on range.
**ML factor on azimut** `-mlazi int` *Default value: 3* <br />
ML factor on azimut.
**Copy cartesian coordonates into output** `-cartcopy bool` *Default value: false* <br />
If true, Copy cartesian coordonates into output.
**Topographic Phase (And Copy of Cartesian Mean Master Image)** `-out image [dtype]` *Mandatory* <br />
Output Image : Topographic Phase (And Copy of Cartesian Mean Master Image).
**Available RAM (MB)** `-ram int` *Default value: 256* <br />
Available memory for processing (in MB).
## Examples
From the command-line:
```
otbcli_SARTopographicPhase -insarslave s1b-s4-slc-vv-20160929t014610-20160929t014634-002277-003d71-002.tiff -incartmeanmaster CartesianMaster.tiff -ingrid ./FineDeformation.tiff -out topographicPhase.tiff
```
From Python:
```
import otbApplication
app = otbApplication.Registry.CreateApplication("SARTopographicPhase")
app.SetParameterString("insarslave", "s1b-s4-slc-vv-20160929t014610-20160929t014634-002277-003d71-002.tiff")
app.SetParameterString("incartmeanmaster", "CartesianMaster.tiff")
app.SetParameterString("ingrid", "./FineDeformation.tiff")
app.SetParameterString("out", "topographicPhase.tiff")
app.ExecuteAndWriteOutput()
```
## Limitations
Only Sentinel 1 products are supported for now.