🔸ESAR#
GTC SLC (esar_gtc)#
The esar_gtc function extracts Sxy/C2/T2 (for dual-pol), S2/C4/T4/C3/T3/C2/T2 (for full-pol) matrix elements from a ESAR GTC SLC data folder and saves them into a directory.
- polsartools.esar_gtc(inFolder, matrixType='S2', azlks=3, rglks=3, outType='tif', symmetric=True)[source]
Extracts the Sxy/C2/T2 (for dual-pol), S2/C4/T4/C3/T3/C2/T2 (for full-pol) matrix elements from a ESAR GTC SLC data
Example:#
>>> esar_gtc("path_to_folder", matrixType='C3', azlks=3, rglks=3) This will extract the C3 from full-pol ESAR GTC SLC data and save them as geotiff files. Additionally, it will also extract the incidence angle map and save it as a geotiff file.
Parameters:#
- inFilestr
The path to the ESAR GTC folder containing the data and metadata.
- matrixTypestr, optional (default = ‘S2’ or ‘Sxy)
Type of matrix to extract. Valid options for Full-pol: ‘S2’, ‘C4, ‘C3’, ‘T4’, ‘T3’, ‘C2HX’, ‘C2VX’, ‘C2HV’,’T2HV’and Dual-pol: ‘Sxy’,’C2’, ‘T2’.
- azlksint, optional (default=3)
The number of azimuth looks for multi-looking.
- rglksint, optional (default=3)
The number of range looks for multi-looking.
Returns:#
- None
The function does not return any value. Instead, it creates a folder named S2/C3/T3/C2/T2 (if not already present) and saves the geotiff/binary files: