SARDEMGrid¶
Computes deformation DEM grid.
Description¶
This application creates a deformation grid related to the DEM with projections into Master and Slave SAR geometries. The output grid is a VectorImage composed of three values : shift in range, shift in azimut and a number of DEM points for contribution. The inputs of this application are SAR images. This application can directly take the projected DEM as inputs.
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 SAR Master image -insarmaster image
Mandatory
Master SAR Image.
Input SAR Slave image -insarslave image
Mandatory
Slave SAR Image.
Input DEM -indem image
Mandatory
Input DEM.
Input vector of DEM projected into SAR Master geometry -indemprojmaster image
Input vector of DEM projected into SAR Master geometry.
Input vector of DEM projected into SAR Slave geometry -indemprojslave image
Input vector of DEM projected into SAR Slave geometry.
Output DEM grid (Vector Image) -out image [dtype]
Mandatory
Output DEM Grid Vector Image (Shift_ran, Shift_azi, NbDEMPts for contribution).
MultiLook factor on distance -mlran int
Default value: 3
MultiLook factor on distance.
MultiLook factor on azimut -mlazi int
Default value: 3
MultiLook factor on azimut.
Grid step for range dimension (into SLC/SAR geometry) -gridsteprange int
Default value: 150
Grid step for range dimension (into SLC/SAR geometry).
Grid step for azimut dimension (into SLC/SAR geometry) -gridstepazimut int
Default value: 150
Grid step for azimut dimension (into SLC/SAR geometry).
Available RAM (MB) -ram int
Default value: 256
Available memory for processing (in MB).
Examples¶
From the command-line:
otbcli_SARDEMGrid -indem ./S21E055.hgt -insarmaster s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_ML.tiff -insarslave s1b-s4-slc-vv-20160929t014610-20160929t014634-002277-003d71-002_ML.tiff -out demGrid.tif
From Python:
import otbApplication
app = otbApplication.Registry.CreateApplication("SARDEMGrid")
app.SetParameterString("indem", "./S21E055.hgt")
app.SetParameterString("insarmaster", "s1a-s4-slc-vv-20160818t014650-20160818t014715-012648-013db1-002_ML.tiff")
app.SetParameterString("insarslave", "s1b-s4-slc-vv-20160929t014610-20160929t014634-002277-003d71-002_ML.tiff")
app.SetParameterString("out", "demGrid.tif")
app.ExecuteAndWriteOutput()
Limitations¶
Only Sentinel 1 (IW and StripMap mode) and Cosmo products are supported for now.