Deal all,
i meet an error like the following:
STAMPS: ########################################
STAMPS: ################ Step 2 ################
STAMPS: ########################################
STAMPS: Directory is PATCH_10
PS_EST_GAMMA_QUICK: Starting
PS_EST_GAMMA_QUICK: Estimating gamma for candidate pixels
GETPARM: filter_grid_size=50
GETPARM: filter_weighting='P-square'
GETPARM: clap_win=32
GETPARM: clap_low_pass_wavelength=800
GETPARM: clap_alpha=1
GETPARM: clap_beta=0.3
GETPARM: max_topo_err=5
GETPARM: lambda=0.056
GETPARM: gamma_change_convergence=0.005
GETPARM: gamma_max_iterations=3
GETPARM: small_baseline_flag='n'
Found inc angle file
PS_EST_GAMMA_QUICK: n_trial_wraps=0.093361
PS_EST_GAMMA_QUICK: Initialising random distribution...
PS_EST_GAMMA_QUICK: 50505 PS candidates to process
PS_EST_GAMMA_QUICK: iteration #1
PS_EST_GAMMA_QUICK: Calculating patch phases...
Subscript indices must either be real positive integers or logicals.
Error in ps_est_gamma_quick (line 222)
ph_grid(grid_ij(i,1),grid_ij(i,2),:)=ph_grid(grid_ij(i,1),grid_ij(i,2),:)+shiftdim(ph_weight(i,:),-1);
Error in stamps (line 328)
ps_est_gamma_quick(est_gamma_parm);
#################
However, there don't have NAN after i checked. And it see someone say that it has updated script for this problem, but i also failed even if i updated the ps_es_gamma_qucik.m .
By the way, it was successful for other patches and i use isce instead of snap.
Does anyone know how to solve that? Thanks a lot!