/snap2stampspy3

Using SNAP to generate InSAR time series data

Primary LanguagePythonMIT LicenseMIT

Using SNAP to generate InSAR time series data

How run to the code?

  1. Create a project folder e.g., InSAR_Project.
  2. Inside a project folder create folders named master and slave.
  3. Put InSAR master image into master folder and slaves images into slave folder, respectively.
  4. Open the configuration file (see bin folder of snap2stampspy3). The file ends with .conf extension.
  5. Copy and paste the path of your project folder (step 1) into PROJECTFOLDER variable.
  6. Copy and paste the path of graphs folder into GRAPHSFOLDER variable.
  7. Copy and paste the path of master folder into MASTER variable.
  8. Assign Swath Type of your interestet to a IW variable. Supports individual swath processing (e.g, IW1) or double (e.g. IW1, IW2) or tripple (IW1, IW2, IW3).
  9. Select burst indices (select burst that falls in your area of interest).
  10. Provide coordinates of your area of interest, respectively.
  11. Provide path to SNAP's gpt.
  12. Make bin folder of snap2stampspy3 your current working directory at the command prompt.
  13. Execute python files as: python filename.py configuration_filename.conf (e.g. python split_multi_swaths_master_sw.py asc_2017_2019_multi_ms.conf).
  14. For processing single swath, execute Python files sequentially: 1. split_multi_swaths_master_sw.py; 2. split_multi_swaths_slaves_sw.py; 3. coreg_ifg_topsar_multi_swaths_sw.py
  15. For processing multiple swaths, execute Python files sequentially: 1. split_multi_swaths_master_sw.py; 2. split_multi_swaths_slaves_sw.py; 3. merge_multi_swaths.py; 4. coreg_ifg_topsar_multi_swaths_sw.py

Note Do not bother about other codes. They are for StaMPS workflows.