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


#646

this document is quite outdated. You can generate both a DEM band and a lat/lon band in the interferogram generations step in the meanwhile. No need to generate them manually any longer.


#647

ok GOT IT,but when i do mt_prep_gamma under cygwin64,the error ouccrus:
image
can you help me?


#648

when i do mt_prep_gamma an error occurs like this:

image
have you solved it?


#649

is there any indications about the script i dont know how to use it


#650

Had you tried to read the user manual which is included in the package?
It may help to understand how it works.
Cheers


#651

I have read it and i think it is about this step:
image
but i dont know how to edit the .bash file.
am i right i need your help sincerelly!


#652

Well, in that file you should write the path to the different software you are going to use, such as triangle, snaphu, roi_pac, doris, … and to the auxiliary files you may need (orbits, calibration files).

Some of them are not necessary if you use SNAP, as it takes care of the auxiliary data.

I hope this helps.


#653

yes i use snap,and export stamps successfully,can you guide me to edit the .bash file,and i have changed the first line,but i do not know how to change auxiliary data,i really need your help,i have spent several days on this step


#654

If you arrived to that point, you practically only need to install snaphu and triangle (if it was not done before) and modify that on your path variable or inside the StaMPS_CONFIG.bash

The path you should write should not arrive to the binaries, but pointing to their containing folder , such as : /usr/local/bin

later, load the StaMPS_CONFIG.bash file by doing in linux command line:
source StaMPS_CONFIG.bash

That should work. I hope it does


#655

and the path is harddrive path like this:


or other style?


#656

as you are instist using cygwin you should also be willing to see its documentation: https://cygwin.com/cygwin-ug-net/using.html

for cygwin, the path
D:\studysoftware\snaphu-v-1.4.2_win64\bin
is
/cygdrive/d/studysoftware/snaphu-v-1.4.2_win64/bin


#657

and the triangle i have downloaded is a zip file ,after i unzipped it,do i need install it?and how to install


#658

you means the path i edit in .bash use the path like this:/cygdrive/d/software/snaphu-v-1.4.2_win64/bin?


#659

whatever your full directory looks like. In your screenshot it’s something with “studysoftware”. Use the exact names.


#660

and is my snaphu version suitable?i am try to install triangle ,it is really hard


#661

when i compile triangle under cygwin64 ?the error ocuurs:
image
what does this mean?


#662

both triangle and snaphu are download from the forum,it seems like this:


image
then i edit the .bash file like this:
Uploading…
am i right ?
do i need edit othe in .bash?


#663

and the questuion still occurs:


i am crazy


#664

you’re almost there.
After you source the config file, all files in the folders STAMPS, TIANGLE_BIN and SNAPHU_BIN should be callable in your command line. Type snaphu and triangle as well to test it.

You need to have opening permissions for these files.
Have a look here how to set permissions: https://stackoverflow.com/questions/18960689/ubuntu-says-bash-program-permission-denied


#665

Is the .bash file i edited is right?any other path need to be edited in the .bash file except STAMPS、TRIANGLE and SNAPHU?
i will do as your link tomorrow,now is evening and i am from China,

thank you a lot