Workflow between SNAP and StaMPS

I think SNAPHU should only contain the path to the script, so you can remove the second part (usr/share/…snaphu.1.gz). But this should not cause the problem you mentioned in the first post.

The file looks alright, you don’t need to modify the other lines because they are not included when data is preprocessed with SNAP.

Whenever you open a new terminal, you have to call (source) this file, before all commands are found. What happens when you type snaphu or triangle?

Thank you sir for your time.


Although I have started processing in SNAP again. But I don’t find the reason for the problem that is why willing to know.
Is it possible that I have done anything wrong in SNAP Processing as my first three steps go very smoothly without any error every time I do?

it is a good sign that snaphu and triangle are recognized.

are you sure that you have typed the command correctly? mt_prep_snap
this script should be inside the StaMPS-4.1-beta\bin folder

yes script is in.
mt_prep_snap MasterImage RouteToMyStampsExport/ 0.4 1 1 50 200
Like This:
mt_prep_snap 20200326 /media/sadi/WORKDIR/INSAR_20200326/ 0.4 1 1 50 200

sorry, I was browsing the forum on my phone and confused your issue with this one. Obviously, all scripts run fine on your side.
As your error occurs during step 4, there could be something wrong with the unwrapping.
Maybe this solution is an option: https://yunjunzhang.wordpress.com/2015/02/10/doris-9-segmentation-fault-error-in-snaphu/comment-page-1/ It requires to compile snaphu on your own (instead of apt-get), so first removing the existing instance is required. I cannot guarantee if this will solve your problem (although the error message is quite similar), but if you are familiar with compiling scripts, it could be worth a try.

Thank you so much, Sir! I just try maybe it works. I will come back to you soon hopefully with some positive response. :slightly_smiling_face:

1 Like

Installing 3rd party packages with “sudo” may result in user configuration data being owned by “root” and/or being stored in root’s home directory. Complex packages often lag behind changes in the OS or have only been tested in one OS, so may overwrite critical OS programs.

Using the whereis command explains why you had a man page in one of your environment variables. Also, your X_BIN variables sometimes refer to the bin directory where a program can be found and sometimes give the full path of the program. The documentation always shows the path to the bin directory where the program has been installed.

Is there a guide/tutorial of SNAP-to-StaMPS worflow, for time series creation? It would be much appreciated

yes, please have a look at this post: StaMPS - Detailed instructions

1 Like

Hi Gijs,

Could you resolve this issue? I’m having the same problem…

Sohrab

Check this below one, For me it’s working.

1 Like

Thanks a lot suribabu! but unfortunately that didn’t work for me…
Apparently, not so many people had the same issue so probably that’s something related to the dataset.

hey, i ran into the same problem. have you found the solution?

hi
i’m getting this error in mt_prep_snap, pls help

Remove inverted commas and run

The space in a directory name likely causes your problem.

1 Like

instead of INSAR_20160219 just give INSAR_20160219/


i tried with both suggestions, it worked but another error came
is it my system? i downloaded ubuntu in virtualbox and set up everything for stamps