Hey guys, im having a error in the step 6 on StaMPS, maybe somebody can help me:
Error using /
Matrix dimensions must agree.
Error in uw_grid_wrapped (line 68)
grid_ij(:,1)=ceil((xy_in(:,3)-grid_y_min+1e-3)/pix_size);
…
Error in stamps (line 503)
ps_unwrap
I read the topic and maybe my study area is too small (2x2km aprox) but is a old topic for mt_prep_gamma…
i set parms :
filter_grid_size: 50
unwrap_grid_size: ‘10’
unwrap_time_win: ‘24’
Regards!
I meet the same error, have you sloved it?
deepesh
December 26, 2021, 6:20pm
#3
hey did you get the solution? i got the same error
thmrs
February 16, 2023, 2:18pm
#4
Did you guys get the solution? Ever time I change the Stamps 6 step parameters I get this error. But if I don’t change nothing it’s sucessfully done. I would like to set the parameters since i’m looking for a landslide area as done @thho in his master thesis.
Parameters:
setparm(‘unwrap_time_win’,‘24’);
setparm(‘unwrap_grid_size’,‘10’);
setparm(‘unwrap_gold_n_win’,‘8’);
setparm(‘scn_time_win’,‘50’);
Error:
Error using /
Matrix dimensions must agree.
Error in uw_grid_wrapped (line 68)
grid_ij(:,1)=ceil((xy_in(:,3)-grid_y_min+1e-3)/pix_size);
Error in uw_3d (line 155)
uw_grid_wrapped(ph,xy,options.grid_size,options.prefilt_win,options.goldfilt_flag,options.lowfilt_flag,options.gold_alpha,options.ph_uw_predef);
Error in ps_unwrap (line 235)
[ph_uw_some,msd_some]=uw_3d(ph_w(:,unwrap_ifg_index),ps.xy,day,ifgday_ix(unwrap_ifg_index,:),ps.bperp(unwrap_ifg_index),options);
Error in stamps (line 503)
ps_unwrap