Two documents and tutorial videos for PSI analysis using SNAP-STaMPS workflow in WSL.
This instruction is for PSI analysis using stamps and SNAP in Windows Subsystem for Linux (WSL). The Windows Subsystem for Linux (WSL) is a great feature introduced in Windows 10.
It is a compatibility layer for running Linux binary executables natively on Windows 10, and allows the use of a rather real Linux installation, without using a virtual machine (Andrea Fortuna web site)
I tried my best to keep everything short and easy to grasp. However, it is not guaranteed to be empty of any error. Before starting, I strongly recommend that the user take a look at the following links and provided documentation. I wrote this tutorial based on my own experiences with the help of the documents and information which are provided by the SNAP forum, especially by the super users like Thorsten Hoeser, Andreas Braun, Ekaterina Smolianinova, Jose Manuel, Marco Peters, Falah Fakhri, and others.
Honestly, I have not faced this problem so far. But what I have done was with the latest version of STaMPS (4.2.B) and snap(7). I know that for older versions of stamps you have to replace two files that are associated with MATLAB with the adjusted versions of those files. Nothing seems wrong to me in this step. Just be sure that the MATLAB is working properly in Linux. then another point is when you see an unsuccessful process, delete the temporary files and then do mt_prep_snap again.
It is also possbile that something is wrong with the initial process in SNAP, recheck everything and try to use different combination of SAR images or different siz of substract.
I check the error and I saw that another guy named MARCU had the same problem, however, I coulnd find any update to see what he have done to overcome it
Thank you.
I didnât install Matlab for Linux yet because I have troubles to install it on Ubuntu WSL. I am still trying to figure out how to do that.
as far as I know, you need MATLAB in linux. for MATLAB, if you use WSL, the best advise is to make it visual first and thentry to install the same version of matlab that I suggested in the instruction. I hope it will solve the problem for you.
there are plenty of helpful links for installation of MATLAB in WSL. I had also probems with matlab installation, but I could figured it out aiming the helpful links on the internet
I still have the same problem. I used a different and larger subset of images.
Do you think that this problem could be caused from a not correct installation of StaMPS in Linux or even from a not correct modification of StaMPS_conf.bash?
The are differences in how X11 graphics are configured between WSL and WSL2. I think the matlab instructions are for WSL version 1. To see which is being used:
PS C:\Users\user> wsl --list --verbose
NAME STATE VERSION
* Debian Running 2
Ubuntu-20.04 Running 1
if your problem is with matlab isntallation. use the other versions of matlab. I also did some configuration. I dont know if you use any graphical desktop in WSL as it would help with graphical problems.