Technical documentation¶
Sar-Pre-Processing¶
Wrapper module to launch preprocessor
- class sar_pre_processing.sar_pre_processor.SARPreProcessor(**kwargs)[source]¶
Bases:
sar_pre_processing.sar_pre_processor.PreProcessor
- add_netcdf_information()[source]¶
Add information from original S1 image to processed NetCDF file. - update date information (wrong date information were stored due to coregistration process) - orbitdirection (ASCENDING, DESCENDING) - relative orbit - Satellite (S1A, S1B) - Frequency
- create_netcdf_stack(filename: Optional[str] = None)[source]¶
create one NetCDF stack file of pre-processed data Orbitdirection: ‘0 = Ascending, 1 = Descending’ Satellite: ‘0 = Sentinel 1A, 1 = Sentinel 1B’
- pre_process_step1()[source]¶
Pre-process Sentinel-1 data - Default processing chain of SenSARP:
Pre-process S1 SLC data with SNAP’s GPT
apply precise orbit file
thermal noise removal
calibration
TOPSAR-Deburst
Geometric Terrain Correction
Radiometric Correction (after kellndorfer et al.)
backscatter normalisation on specified angle in config file (based on Lambert’s Law)
- Output layers:
longitude
latitude
localIncidenceAngle
projectedLocalIncidenceAngle
incidenceAngleFromEllipsoid
elevation
Sigma0_VV (VV-polarized Sigma nought backscatter no radiometric correction applied)
Sigma0_VH (VH-polarized Sigma nought backscatter no radiometric correction applied)
sigma0_vv_kelln (VV-polarized Sigma nought backscatter including radiometric correction after Kellndorfer)
sigma0_vh (VH-polarized Sigma nought backscatter including radiometric correction after Kellndorfer)
sigma0_vv_kelln_normalisation (VV-polarized Sigma nought backscatter including radiometric correction after Kellndorfer and normalization to one specific incidence angle)
sigma0_vh_kelln_normalisation (VH-polarized Sigma nought backscatter including radiometric correction after Kellndorfer and normalization to one specific incidence angle)
use processing chain of expert user
- pre_process_step2()[source]¶
pre_process_step1 has to be done first
pre_process_step2 only useful for processing time series data
co-register pre-processed data
!!! all files will get metadata of the master image !!! That is how SNAP does it! Metadata will be corrected within netcdf output files at the end of the preprocessing chain (def add_netcdf_information)
- pre_process_step3()[source]¶
pre_process_step1 and/or 2 has to be done first
- processing time series data:
apply multi-temporal speckle filter and single speckle filter
- processing single image:
apply single speckle filter
- Output layers:
theta (local incidence angle)
sigma0_vv_single (single speckle filtered radiometric and geometric corrected sigma nought backscatter)
sigma0_vh_single (single speckle filtered radiometric and geometric corrected sigma nought backscatter)
sigma0_vv_multi (multi speckle filtered radiometric and geometric corrected sigma nought backscatter)
sigma0_vh_multi (multi speckle filtered radiometric and geometric corrected sigma nought backscatter)
sigma0_vv_norm_single (single speckle filtered radiometric and geometric corrected sigma nought backscatter normalized to a specific incidence angle)
sigma0_vh_norm_single (single speckle filtered radiometric and geometric corrected sigma nought backscatter normalized to a specific incidence angle)
sigma0_vv_norm_single (multi speckle filtered radiometric and geometric corrected sigma nought backscatter normalized to a specific incidence angle)
sigma0_vh_norm_single (multi speckle filtered radiometric and geometric corrected sigma nought backscatter normalized to a specific incidence angle)
File list for Sar-Pre-Processing¶
Create List of SAR data which will be processed by sar_pre_processer module
netcdf-stack¶
Attribute Dict¶
- class sar_pre_processing.attribute_dict.AttributeDict(**entries)[source]¶
Bases:
object
A class to convert a nested Dictionary into an object with key-values accessibly using attribute notation (AttributeDict.attribute) instead of key notation (Dict[“key”]). This class recursively sets Dicts to objects, allowing you to recurse down nested dicts (like: AttributeDict.attr.attr)