I am not sure that this does not look as a StaMPS error… but something more system related.
Can you check about the involved files or permissions?
Before that step 5… what are the log of precedent steps for each PATCHes?
And… are you running StaMPS on Windows OS? Maybe it could be related to that. @Abraun, had you faced something similar?
I am running StaMPS on Windows OS. I was able to get past step 5 by adding a few lines of code to stamps.m that checks for opened files and closes them before the calls to movefile(). I now am able to get to step 8, at which point in the script ps_scn_filt, the following error occurs:
PS_SCN_FILT: Starting
Estimating other spatially-correlated noise…
GETPARM: unwrap_grid_size=200
GETPARM: scn_time_win=365
GETPARM: scn_deramp_ifg=
GETPARM: scn_wavelength=100
GETPARM: drop_ifg_index=
GETPARM: small_baseline_flag=‘n’
Number of points per ifg: 26384
‘triangle’ is not recognized as an internal or external command,
operable program or batch file.
Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in fgetl (line 32)
[tline,lt] = fgets(fid);
Error in ps_scn_filt (line 73)
header=str2num(fgetl(fid));
Error in stamps (line 545)
ps_scn_filt"
Looking at my working directory, there is no file by the name scnfilt.2.edge, which the script is looking for. Do you have any suggestions, or thoughts as to where something might have gone wrong?
I don’t know if this caused the error but shouldn’t triangle be compiled and available to matlab somehow?
On the other hand, you wouldn’t have gotten to step 8 if this was a problem…
Did you also run the mt_prep_snap scripts under Windows?
Would be the first case (at least which I know) in which the whole processing chain technically works without errors outside Linux.
it would be great if you can put up ur work as a step by step process as it would be much useful for the ones using stamps in windows and i am desperately waiting for it… Because i am so confused with stamps…
StaMPS was developed for Linux. If you want to run it in Windows you will have to do the translation work by yourself. Currently, no instructions are compiled on how to accomplish this from a-z but ttolhurst gives an advise on triangle above. I agree with @falahfakhri that running in Linux solves many problems regarding the installation. Basic Linux handling and knowledge on command line scripting is still required.
With StaMPS you reach levels of processing that are no longer featured within a graphical user interface, at least when provided for free. Commercial software like ENVI SARScape or SARPROZ allow PS processing in a graphical user interface.