SARFineMetadata

SAR metadata correction.

Description

This application corrects two metadata : the time of the first line and the slant near range.

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 correlation grid -ingrid image Mandatory
Correlation grid with shifts for the two dimensions and associated correlation rate between two images (for instance : ML Master and simulated amplitude image).

Input SAR image -insar image Mandatory
SAR Image to extract initial metadata.

Output file to store new metadata values -outfile filename [dtype]
Output file to store new metadata values.

Max step for histogram -stepmax float Default value: 0.1
Max step for histogram.

Threshold on correlation rate -threshold float Default value: 0.3
Threshold on correlation rate.

Time of the first line (output of this application) -timefirstline string Mandatory
Time of the first line (output of this application).

Slant near range (output of this application) -slantrange float Mandatory
Slant near range (output of this application).

Output image with precise metadata -out image [dtype] Mandatory
Output image with precise metadata.

Available RAM (MB) -ram int Default value: 256
Available memory for processing (in MB).

Examples

From the command-line:

otbcli_SARFineMetadata -ingrid corGrid.tiff -outfile fine_metadata.txt

From Python:

import otbApplication

app = otbApplication.Registry.CreateApplication("SARFineMetadata")

app.SetParameterString("ingrid", "corGrid.tiff")
app.SetParameterString("outfile", "fine_metadata.txt")

app.ExecuteAndWriteOutput()

Limitations

Only Sentinel 1 (IW and StripMap mode) and Cosmo products are supported for now.