Here are the steps I took to prepare StripmapStack (ISCE) to Stamps PS using TerraSARX data.
However, I received an error in Step 1 of StaMPS…
-
In ISCE prep_TSX.py then stackStripMap.py processing with workflow –W slc: i. !stackStripMap.py -s /home/toni/WCF_TerraSARX_processing/scenes/HS_021/SLC/ -d /home/toni/WCF_TerraSARX_processing/scenes/HS_021/DEM/demLat*.dem.wgs84 -t 44 -a 2 -r 2 -u snaphu -W slc --nofocus --zero ii. Ran all files run_files 1-7 using: !run_files/run_0*
-
In terminal StaMPS processing dir: i. $ make_single_reference_stack_isce input_file
Input_file:
source_data slc_stack
slc_stack_path /home/toni/WCF_TerraSARX_processing/scenes/HS_021/merged/SLC/
slc_stack_reference 20161118
slc_stack_geom_path /home/toni/WCF_TerraSARX_processing/scenes/HS_021/merged/geom_reference/
slc_stack_baseline_path /home/toni/WCF_TerraSARX_processing/scenes/HS_021/merged/baselines/
maskfile /home/toni//WCF_TerraSARX_processing/scenes/HS_021/merged/geom_reference/shadowMask.rdr
range_looks 2
azimuth_looks 2
aspect_ratio 4
lambda 0.056
slc_suffix
geom_suffix
ii. $ cd INSAR_20161118/
iii. $ mt_prep_isce 0.4
iv. $ matlab
-
In Matlab command window: >> stamps i. After running stamps it goes to the PATCH_1 dir /home/toni/WCF_TerraSARX_processing/scenes/HS_021/StaMPS/INSAR_20161118/PATCH_1 ii. Then error message:
STAMPS: Will process patch subdirectories
STAMPS: ########################################
STAMPS: ################ Step 1 ################
STAMPS: ########################################
STAMPS: Directory is PATCH_1
Found inc angle file, will load the data
Loading data into Matlab…
SETPARM: heading = -169.7074
SETPARM: lambda = 0.056
Index in position 1 exceeds array bounds.
Error in llh2local (line 39)
z=llh(2,:)~=0;
Error in ps_load_initial_isce (line 171)
xy=llh2local(lonlat’,ll0)*1000;
Error in stamps (line 281)
ps_load_initial_isce(data_inc)
Has anyone ever received this error message? Any idea how to address it?
I have attached the directory layout.
I’ve realized that the selpsc_patch.c script is producing empty pscands.1.ij and pscands.1.da files which in return makes the pscands.1.hgt , pscands.1.ll, and pscands.1.ph
pscands.1.ph files empty. Any help will be appreciated!