SNAP2StaMPS version 2: new features and new sensors supported

Thank you for your response @mdelgado
I guess there is an error collecting orbit files. Because I got the following error:

Do you know any other options to solve this problem?

apologies for the double post, but I’ve been trying the various solutions described in the thread and none have helped. I have two follow up questions for the step 3 issue of my previous post.

  1. It was suggested that the SNAP installation be updated - does that include by updating SNAP via the desktop app that was installed automatically?
  2. if I downloaded snap2stamps v2 by cloning the repository, would I have obtained the updated coreg/ifg xml?

you can run the update of SNAP installed using the snap2stamps conda environment via GUI or command line.

The issue remains on the installations of libraries, according to your message only the git package was installed but not the other 2 libraries. Please find their correspondent libraries for your OS in particular.

apologies again, I’m still not very adept with Linux. Since “sudo apt install git libfftw3 libgfortran” didn’t work, I followed the installation instructions for libfftw3 from the video linked in the first post (link), so that was installed in the directory /usr/local/lib :

I installed libgfortran following the Anaconda site instruction

conda install -c conda-forge libgfortran

So I believe that was installed to /home/anaconda3/lib/

These are the files in that folder

I updated SNAP however nothing changed. I am still getting the same error.

This is quite unfortunate, could you please tell me exactly how you did it?

Personally, I have updated the snap version that I use within the snap2stamps and it worked for me, so I cannot understand why it does not work for you.

Let me know.
Best,

I downloaded here https://www.fftw.org/download.html , then extracted the tar.gz file to the /home directory, which I opened in the terminal and configured with

./configure --enable-threads --enable-openmp --enable-avx

Once configuration finished

sudo make

And finally

sudo make install

And again this was installed to /usr/local/lib

then be sure the path is reachable and exported so that SNAP can find it and use it

The path to the libfftw3 installation? How do I check if it is exported?

The same happens for Ubuntu 20.04, is there any solution?

Solution: as in 22.04, with:

sudo apt-get install fftw-dev
sudo apt-get install gfortran

Sorry i didint try again for ubuntu 22.04. I used ubuntu 18.04

Hi @mdelgado , I’m trying to do auto master selection and downloading scenes but I’m doing something wrong. I’m running auto_run.py, and some lines in the message are the following:

Selected Master date: 20220208



['S1A_IW_SLC__1SDV_20220208T052001_20220208T052028_041817_04FA42_B13A.zip', 'S1A_IW_SLC__1SDV_20220208T052026_20220208T052054_041817_04FA42_9714.zip']

Master to be selected and prepared manually by the user

 Finished process in 0.12734055519104004 seconds.
Step topsar_automaster.py successfully completed.
.
.
.
Traceback (most recent call last):

  File "/home/tidop/snap2stamps2/snap2stamps/bin/topsar_step_1_splitting_master_multi_IW.py", line 142, in <module>

    filename=os.path.basename(files[0])

                              ~~~~~^^^

IndexError: list index out of range

 Finished process in 0.3030264377593994 seconds.
Error running topsar_step_1_splitting_master_multi_IW.py

So, seems like it selected a master, but cannot find it later. The corresponding lines in the conf file are:

#####################################################################
[PROC_PARAMETERS]
# SENSOR : S1
SENSOR = S1
POLARISATION = VV
MASTER = 
# MASTER SEL : AUTO / FIRST / LAST / MANUAL
MASTERSEL = AUTO
EXTDEM = 
#####################################################################

I guess I need to put something in the MASTER parameter, but I don’t know what to write since I want it to be automatic. Thanks!

Edit: I solved this by creating an empty master folder and writing its path in the MASTER parameter.

1 Like

@mdelgado I solved the problem. But I got the following error in stamps export step.


There seems to be no problem at the interferogram formation stage. Do you have any idea about the error?

I got the issue. I have just fixed it on github. Now you can download the package from the last brach 2.0.1.

It was a missing character / on the line of the EXTERNALDEM variable inside the file named: topsar_export_mergeIW_subset_extDEM.xml

Sorry for the incovenience and thanks for reporting it. The issue shall be now fixed.
Let me know

1 Like

I have this kind of error, i used the scripts for the pre-processing and when i run stamps (1,1) appears the following error. How can i solve it?

Maybe your secondary images included also the master? Can you check?

No, i think is everythink okey. i share some screenshot of the product. I don´t know what kind of problem it is and its probably solution.


1 Like

SNAP10 release is getting very close - stay tuned!

1 Like

Could you please try to execute the graph2run of the coreg step that is generated in the run that generates the error?