Hi Pietro,
I really appreciate your reply. thank you
I just run the ps_select.m line by line in one patch. I noticed that the reason why the coh_thresh are always 1.000 in the result is that the value of "ok_ix" is empty, which means all the "percent_rand" are bigger than "max_percent_rand". Is this the case you just said?
there was no error in the coregistration step, but I acctually I did not use the parameters for xband. I will check on that.
my test site is a volcano. the coherence are good in fact, and the interferograms I got looks good too. every step was ended normally until this step.
I will think your advice over. they are very valuable. Thank you very much!
cheers
Yu