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

according to the script (line 54), you get an error when handing over too few arguments.

What happens when you set a slash before cygdrive?

mt_prep_snap 20141027 /cygdrive/c/INSAR_201410/ 0.4 2 2 50 200

An updated scripts for images stack in SNAP based on https://github.com/mdelgadoblasco/snap2stamps

This script working on:

  1. multi-sw, multi-look for Sentinel
  2. multi-threaded for slave prepare, coreg&ifg, NOT for stamps_export.
  3. can stop and continue processing by modify the finished.txt in $PROJECTFOLDER/ifg and $PROJECTFOLDER/slaves
1 Like

I would have loved you put it in the current github page as another branch. I was also preparing an updated version

Joining efforts does things go faster and further.
Keep updated. Many other changes to come in the original snap2stamps

1 Like

modify the scrpt and it still doesn’t work and generates the same error.

I can’t modify it to make it work :confused:

I did not suggest to modify the mt_prep_script. My suggestion was to change the command by adding a / before cygdrive

Sorry, I explained it wrong. modify the argument by adding / but the lease persists

hmm, could you try to delete the mt_prep_snap script from your computer and download it agian here: https://github.com/dbekaert/StaMPS/tree/master/bin

Something seems wrong with the cygwin environment… which misunderstands the syntax of the entire command.

delete everything and the error persists :frowning:

Try to install tcsh

good point - I always used tcsh and the corresponding source script.

Hi!
Im using ubuntu but i hace another problem in lead 68
Anyone know what could it be?

hello @thho,I’m in trouble in staMPS installation,I cannot open the homepage https://uni-bonn.sciebo.de/s/JJHPTvdBTlIiEH and cann’t download the.html filewith the error of"file not found from the server", can you help me,

who can tell me?what happened?2020-03-29 11-03-10屏幕截图

Had you tried to install tcsh as suggested?

please show the entire command you entered, the screenshot is not really helpful.

ok, i write here:
mt_prep_snap 20190715 /media/gsw/My Passport/StaMPS 0.4 4 4 50 200
i have changed the value of range and amithum,but it seemed useless.

I’m not sure if this causes the error, but the convention is to name the folder of your files according to the master date, in your case: INSAR_20190719 (instead of StaMPS)

In this directory, there should be the folders exported from SNAP: geo, diff0, rslc and dem.

ok,i will have a try.

i have tried,but i seemed nothing helpful.do you any other suggestion?

what do you mean by “nothing helpful”? Do you get the same error message?

Please send a screenshot of the folder with the exported directories and another with the mt_prep_snap script executed in your shell.