How to prepare Sentinel-1 images stack for PSI/SBAS in SNAP 5


#686

how to include the path,can you explain more ?


#687

All directories which contain the scripts to be called have to be included in the PATH variable.
Therefore, you need to extend it by these directories. It is explained here: http://www.es.ele.tue.nl/~ljozwiak/education/5JJ70p/blocks/1/cygwin.html

Any chance you use Linux for this? It’s free and can be installed in a virtual machine as well.
I managed to run mt_prep_gamma_snap in cygwin and everything seemed fine but then receive an error in the first step of StaMPS within matlab. This error didn’t occur when I used Linux directly to prepare the data.


#688

I known this,I have included the path of Stamp(bin) and cygwin64 in environment variable.it seems the mt_prep_gamma exits error,you can find the error in my above post
image


#689

I don’t have a clue, sorry. Is it related to chinese path names maybe?


#690

it is about mt_prep_gamma,all my install path is in english


#691

I dont know why this error occurs


#692

Please open the mt_prep_gamma_snap script and read line 56.

At least doing some debug you should be able to understand what is going on.


#693

when i type which mt_prep_gamma_snap in cygwin64,te result shows that no mt_prep_gamma in Shared:/cygdrive/d/studysoftware/StaMPS-4.1-beta/bin:
but i have replaced the mt_prep_gamma file in Stamps-4.1/bin folder


#694

the path variable i have to add should be do in windows or cygwin64?


#695

I think the error is about bash and tcsh,how to convet bash to tcsh?


#696

image
I do this step as follow:
(1)edit the StaMPS_CONFIG.bash,add the path of STAMPS、snaphu and triangle,the picture
like this:
image
(2)then i add the source /cygdrive/d/studysoftware/StaMPS-4.1-beta/StaMPS_CONFIG.bash in cygwin .bashrc file like this:


can you check the step i did,and any mistakes in this step?
at last ,i open cygwin64 and turn to my data folder and excute mt_prep_gamma like this:
image
but when i excute the command by add bash to it like this:
image
it seems that the mt_prep_gamma files exit error in line 56、170
if you have not meet the problem ,I have no problem untill no but to convet to unix system and when i trun to unix,may i install a unix version matlab? and compile stamps another one


#697

I have pass the first step (mt_prep_gamma)in ubuntu,
image
and what should i do next about ps_initial_gamma?


#698

Good that you switched to Linux - solves many unnecessary problems.

Now open matlab, switch to the directory of the exported files and proceed as described in the manual, chapter 6:
https://homepages.see.leeds.ac.uk/~earahoo/stamps/StaMPS_Manual_v3.1.pdf

Basically, enter stamps(1,1), stamps(2,2) and so on to run the separate steps described in the manual. Keep track of the results and what is written there.

A more detailled tutorial is given here: http://eoscience.esa.int/landtraining2017/files/materials/D4P1a1I.pdf


#699

and the Manual express really difficult,another problem,there are many version of mt_prep_gamma and ps_initial_gamma files, i dont know which to choose,can you share your file with me


#700

this is the one to use:

They were originally provided by katherine here: Workflow between SNAP and StaMPS

Please understand that we are no teachers. SNAP, StaMPS and all resources are provided for free and with sufficient documentation. If you decide to use them, you need to bring some time to understand it. If you struggle at a certain point, feel free to ask. But we won’t provide private lessons to anyone starting from scratch.


#701

thanks a lot,i will try tomorrow


#702

thank you very much, I am a newby about Stamps,and cannot understand the file you provide for me.


#703

did you read the provided source at all?


#704

i means i dont understand the content of the program,and just do step by step


#705

Dear ABraun:
I have finished the PS selection for PATCH_1 in my data folder,and what should
I do next?
repeat the same operate for other PATCH(i have four Patches fromPATCH_1 to PATCH_4),i want to know whether the PS selection for other pathes should be done once again like Patch_1 or not need to be done again