PSI: Error on first step on Matlab

Dear all ,
I am facing with following error on first step om Matlab:
StaMPS step 1;
Error using load
Unable to read file ‘…/day.1.in’. No such file or directory.

Error in sb_load_initial (line 41)
day_yyyymmdd=load(dayname);

Error in stamps (line 135)
sb_load_initial;

Plaese help me to solve it.
And my data consist of 23 images, schould i divide them into two before stacking them on SNAP?

Thanks in advance!

Please take a look at the following link which includes the whole step our colleagues are doing their best of sharing their knowledge

Thank you very much!
I followed this steps.
Now my problem is on Matlab, step 1, stamps (1,1). I got next error:

Error using load
Unable to read file ‘…/day.1.in’. No such file or directory.

Error in sb_load_initial (line 41)
day_yyyymmdd=load(dayname);

Error in stamps (line 135)
sb_load_initial;

That is mean the change of directory to the right one should be done

I also had this error in Windows but not in Linux. Which system are you operating?

hello,
Linux

1 Like

the problem is solved after reinstalling the Matlab)

Hallo,
I work in windows environment, I installed Cygwin I ran the first script mt_prep_gamma_snap of stamps and I think it is good because all my pscands.ij files are not empty behave pscands.1.ij0. i use the trial windows matlab version, I got the following error message in running stamps(1,1).

1 Like

Hi
Im trying to run Stamps Small baselines, from gamma pre-processing.

When I run Stamps (1,1) I get an error on sb_load_initial_gamma (line 146),

Index in position 1 exceeds array bounds (must not exceed 2).

Error in sb_load_initial_gamma (line 146)
bl=mean(sort_x(1:n_pc,:)); % bottom left corner!

Has this relation to the number of ps? or and dem error?, I checked the dem.rdc and I see no gaps, and the number of lines and width is correct.

If someone can illuminate the error I would appreciate it.
Thanks

1 Like

did you find any solution for this problem? Thanks

There was an error in the code where an apostrophe was missing. So instead of generating a column it was reading a line. I reported it to the developers. So there may be an update or You could just add it.
For more info check the stamps GitHub

Thanks chanitacr . I found the error in the code on this link: https://github.com/dbekaert/StaMPS/pull/7/files

I’m having the same issue, i’ve reinstalled MATLAB twice but the issue hasn’t gone away. What version of matlab are you using, maybe it’s a version issue.

I’m using R2019a in ubuntu.