.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH MINTPY\-PREP_HYP3 "1" "May 2022" "mintpy\-prep_hyp3 v1.3.3" "User Commands" .SH NAME mintpy\-prep_hyp3 \- Prepare attributes file for HyP3 InSAR product. .SH DESCRIPTION usage: prep_hyp3.py [\-h] file [file ...] .PP Prepare attributes file for HyP3 InSAR product. .IP For each interferogram, the unwrapped interferogram, coherence, and metadata the file name is required e.g.: .EX 1) S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_unw_phase.tif 2) S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_corr.tif 3) S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2.txt .EE .TP A DEM filename is needed and a incidence angle filename is recommended e.g.: .IP .EX 1) S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_dem.tif 2) S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_lv_theta.tif .EE .IP This script will read these files, read the geospatial metadata from GDAL, find the corresponding HyP3 metadata file (for interferograms and coherence), and write to a ROI_PAC .rsc metadata file with the same name as the input file with suffix .rsc, e.g. S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_unw_phase.tif.rsc .IP Here is an example of how your HyP3 files should look: .IP Before loading: .IP For each interferogram, 3 files are needed: .IP .EX S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_unw_phase_clip.tif S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_corr_clip.tif S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2.txt .EE .IP For the geometry file 2 file are recommended: .TP S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_dem_clip.tif (required) .IP S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_lv_theta_clip.tif (optional but recommended) .IP After running prep_hyp3.py: .IP For each interferogram: .IP .EX S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_unw_phase_clip.tif S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_unw_phase_clip.tif.rsc S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_corr_clip.tif S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_corr_clip.tif.rsc S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2.txt .EE .IP For the input geometry files: .IP .EX S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_dem_clip.tif S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_dem_clip.tif.rsc S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_lv_theta_clip.tif S1AA_20161223T070700_20170116T070658_VVP024_INT80_G_ueF_74C2_lv_theta_clip.tif.rsc .EE .IP Notes: .IP HyP3 currently only supports generation of Sentinel\-1 interferograms, so some Sentinel\-1 metadata is hard\-coded. If HyP3 adds processing of interferograms from other satellites, changes will be needed. .SS "positional arguments:" .TP file HyP3 file(s) .SS "options:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .SS "example:" .TP prep_hyp3.py interferograms/*/*unw_phase_clip.tif .TP prep_hyp3.py interferograms/*/*corr_clip.tif .TP prep_hyp3.py interferograms/*/*dem_clip.tif .TP prep_hyp3.py interferograms/*/*lv_theta_clip.tif .TP prep_hyp3.py interferograms/*/*clip.tif