was not working as suggested in the README of the repo : “sudo apt-get install libgfortran” ?
which distro do you have?
was not working as suggested in the README of the repo : “sudo apt-get install libgfortran” ?
which distro do you have?
Not when I first tried on Ubuntu 20.04 - this time I used 18.04 since it worked for other users, but the error was the same in both cases, so I’m guessing it would’ve been a similar if not identical fix, can’t remember if I tried it on 20.04.
Currently waiting on Stamps to finish - all seems to be going smoothly!
Hi dear @mengdahl I am trying to use the version of snap2stamps. when I run the first command this shows up: python topsar_step_0_secondaries_prep.py -F project_topsar.conf
project_topsar.conf
/home/hp/Desktop/newtest/1/Project/Secondaries/
Found 0 Sentinel-1 uncompressed files
Found 0 Sentinel-1 compressed files
However the S1 files are located in secondaries folder
In path you gave Secondaries, instead of secondaries.
check it once. Ubuntu is character sensitive.
Thanks for your answer.
The problem was solved.
In the next step I got this error I could not find any solution. C
python topsar_step_1_splitting_master_multi_IW.py -F project.conf
BBOX
POLYGON ((48.05 32.45,48.2 32.45,48.2 32.55,48.05 32.55,48.05 32.45))
#####################################################################
#####################################################################
Traceback (most recent call last):
File “/home/hp/Desktop/newtest/snap2stamps/bin/topsar_step_1_splitting_master_multi_IW.py”, line 142, in
filename=os.path.basename(files[0])
IndexError: list index out of range
You should give project_topsar.conf instead of project.conf
I just changed the name in order to make it easy to type. even with project_topsar.conf still show the same problem
Can you please check if the Master folder is populated by Sentinel-1 data in zip or SAFE format and without any subfolder?
Best,
Thanks for your great job @mdelgado. I managed to finish the processing stages and here are some results.
I am going to test the package for TSX images, I’ll share the results.
Hi sear @suat can you tell me how did you managed to plot Perpendicular baseline?
You can try ps_baseline_plot command in matlab.
Dear @mdelgado
Compared to SNAP2Stamps older version, the newer version (SNAP2STAMPS V2) is prolonged, particularly stamps export step.
I selected a small area but it is taking too much time to process the stamps export step.
Thanks.
Honestly, performance of the snap2stamps scripts are direcly link to the SNAP ones.
It should be only a small overhead due to the runtime needed for the python scripts, but it shall be negligible compared with the I/O process.
I can only say that I am happy with the perfomance I got on my PC. Let me say that writing on solid state disk (SSD, 2nd generation preferable) is much faster than on hard disks (HDD).
Hi @mdelgado , I’m new to the world of SAR analysis. May I ask if there is a step-by-step guide for using SNAP2StaMPS v2 on Windows with a Conda environment?
Hello @mengdah,
I hope you’re doing well. I’m currently working on CentOS Linux release 7.9.2009 with SNAP v9 and Python 3.11. I’m trying to use snap2stamps version 2.0.1, and when I run the command:
python3 topsar_step_3_coreg_ifg_topsar_smart.py -F project_topsar.conf
I encounter the following error:
Error computing with coregistration and interferogram generation of splitted secondaries /gpfs/work/azarakhs/Path37/data/2019/project/split/20190103_IW2.dim
I’ve also attached the project_topsar.conf file for reference.
Could you kindly assist with this?
Thank you in advance!
Best,
Zeinab
Dear Zeinab,
I will surely support you, but with the only project.conf file is difficult to assess.
I need to ask you why the SRTMGL1 is used as external DEM instead of using it as default one, as it is the one to be used by default.
Could you please let empty the definition of the EXTDEM (i.e. EXTDEM= ) instead of the current one and try again?
Please let me know if this solves anything. Otherwise i will need more details about the previous steps
Best
Dear @mdelgado ,
Thank you for your support. I tried leaving the definition of EXTDEM
empty, as you suggested, but I encountered the following error:
File “/gpfs/work/azarakhs/Path37/data/2019/project/bin/topsar_step_3_coreg_ifg_topsar_smart.py”, line 195, in
filedata = filedata.replace(‘EXTERNALDEM’, extDEM)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: replace() argument 2 must be str, not None
Best,
Zeinab
Hello everyone,
I am relatively new to the subject and have a few questions or problems during the run.
The first problem is with the execution of topsar_automaster.py. I have 57 Sentinel-1 scenes from 2015 - 2024, but they are not listed chronologically and therefore a wrong date is always selected, see screenshot. In the secondaries folder itself all unzipped folders are listed chronologically. Where is my application error?
Apart from the error, I have already managed to run the PSI/StaMPS. I had to change the files in the Graphs folder because my study area (North Finland) is outside the SRTM coverage. I have replaced the SRTM 1Sec HGT with Copernicus 30m Global DEM. This seemed to work. Is there an official way to switch to the Copernicus DEM or should it rather be loaded as external DEM?
I think something was kept on the EXTDEM … as if empty, shall use as default the SRTM1 Sec HGT
Can you please ensure the EXTDEM is as originally in the project.conf file?
ouh! good point… I usually got selected the desired one during the developments, but I can try to review that.
Another suggestion is for you to move the master date compressed SLC into the MASTER folder, so you can overpass in the meanwhile the automaster step
Sorry for the inconvenience