ERROR step2

441 views
Skip to first unread message

崇佑王

unread,
Mar 9, 2020, 5:53:50 AM3/9/20
to MAINSAR
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!

崇佑王

unread,
Mar 9, 2020, 7:09:33 AM3/9/20
to MAINSAR
Dear all,
i find my ph in ph1.mat are zero.
does  anyone know the reason?

崇佑王於 2020年3月9日星期一 UTC+8下午5時53分50秒寫道:

M. Jahanzeb Malik

unread,
Mar 9, 2020, 8:28:24 AM3/9/20
to mai...@googlegroups.com
I think you should use newer version of Stamps available on github

--
You received this message because you are subscribed to the Google Groups "MAINSAR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mainsar+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mainsar/be6c291b-863f-4cef-80f2-1299fe9547d6%40googlegroups.com.

崇佑王

unread,
Mar 12, 2020, 4:34:36 AM3/12/20
to MAINSAR
I had updated stamps, however, it still failed.
i find "mt_extract_cands" is th problem because pscands.1.ll and pscands.1.ph are full of zero in some specific patch.
does anyone know how to solve that?

M. Jahanzeb Malik於 2020年3月9日星期一 UTC+8下午8時28分24秒寫道:
To unsubscribe from this group and stop receiving emails from it, send an email to mai...@googlegroups.com.

raincxy

unread,
Nov 3, 2020, 9:26:23 PM11/3/20
to MAINSAR
Hi kevin
Have you solved this problem?

kevin112...@nctu.edu.tw

unread,
Jan 2, 2021, 10:23:30 PM1/2/21
to MAINSAR

Hello raincxy,
Sorry for responding late. I solve this problem. The problem derived from the step mt_prep_isce, which happens when the study area is big. Have you solved this problem ? If you have not solved, I can tell you what codes should be revised.
raincxy 在 2020年11月4日 星期三上午10:26:23 [UTC+8] 的信中寫道:

raincxy

unread,
Jan 8, 2021, 3:56:05 AM1/8/21
to MAINSAR

Unfortunately, I still haven't solved the problem.I guess there may be something wrong with the operation in the previous step, but I don't know how to change the code, so I can only keep changing the number of patches.  

Hari Shankar

unread,
Jan 8, 2021, 7:57:14 AM1/8/21
to mai...@googlegroups.com
  I have processed the stamps(5,5) and did not receive any error message. But after running this fifth step in matlab, all the patches should merge together and a separate folder 'MERGE" should also create in the same directory. This merge folder is not created in my case after running the fifth step. Can anybody help me in this regard?

To unsubscribe from this group and stop receiving emails from it, send an email to mainsar+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mainsar/8bea7e02-d3fc-41ea-b9d2-41756289ecd6n%40googlegroups.com.


--
HS
         
Reply all
Reply to author
Forward
0 new messages