SARGridOffset

Applies offsets on a deformation grid.

Description

This application applies offsets on a deformation grid for each dimension.

This application has several output images and supports “multi-writing”. Instead of computing and writing each image independently, the streamed image blocks are written in a synchronous way for each output. The output images will be computed strip by strip, using the available RAM to compute the strip size, and a user defined streaming mode can be specified using the streaming extended filenames (type, mode and value). Note that multi-writing can be disabled using the multi-write extended filename option: &multiwrite=false, in this case the output images will be written one by one. Note that multi-writing is not supported for MPI writers.

Parameters

Input grid (Vector Image) -ingrid image Mandatory
Input Grid Vector Image (Shift_ran, Shift_azi).

Offset on distance -offsetran float Default value: 0
Offset on distance

Offset on azimut -offsetazi float Default value: 0
Offset on azimut

Output Grid -out image [dtype] Mandatory
Output Grid.

Available RAM (MB) -ram int Default value: 256
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 (IW and StripMap mode) and Cosmo products are supported for now.