Changes
Page history
ENH : Wiki for DiapOTB module
authored
Sep 17, 2019
by
Gaëlle USSEGLIO
Show whitespace changes
Inline
Side-by-side
Applications/app_SARGridOffset.md
0 → 100644
View page @
0132c2c9
# SARGridOffset
Applies offsets on a deformation grid.
## Description
This application applies offsets on a deformation grid for each dimension.
## Parameters
**Input grid (Vector Image)**
`-ingrid image`
*Mandatory*
<br
/>
Input Grid Vector Image (Shift_ran, Shift_azi).
**Offset on distance**
`-offsetran float`
*Default value: 0*
<br
/>
Offset on distance
**Offset on azimut**
`-offsetazi float`
*Default value: 0*
<br
/>
Offset on azimut
**Output Grid**
`-out image [dtype]`
*Mandatory*
<br
/>
Output Grid.
**Available RAM (MB)**
`-ram int`
*Default value: 256*
<br
/>
Available memory for processing (in MB).
## Examples
From the command-line:
```
otbcli_SARGridOffset -ingrid ./grid.tiff -offsetran -0.1 -offsetazi 0.1 -out correctionGrid.tif
```
From Python:
```
import otbApplication
app = otbApplication.Registry.CreateApplication("SARGridOffset")
app.SetParameterString("ingrid", "./grid.tiff")
app.SetParameterFloat("offsetran", -0.1)
app.SetParameterFloat("offsetazi", 0.1)
app.SetParameterString("out", "correctionGrid.tif")
app.ExecuteAndWriteOutput()
```
## Limitations
Only Sentinel 1 products are supported for now.