I have had this exact same error when i started processing.
In my case i had accidentally left a ascending file in my descending processing folder.
other options are:
bad ifgs or empty raw images.
You can check this in the LOG of mt_prep_snap.
in the LOG you will see a number for ammount of zero pixels and the mean amplitude.
if the mean amplitude is low or you have to many zero pixels something is wrong.
check and/or delete this ifg from the processing and start again.
This will probably saolve the error (which is related to the ciphers in the array and the matrix dimension).
I have used 4.1b, i saw code inside of py files, there is no big difference working with python3 i have changed just print command (v2.7 print message v3 print (message) ).
Dear Mdelgado, I’m just starting to use snap to prepare images for stamps.
I followed the workflow provided by PSI USING StaMPS.docx (185.1 KB), so doing all the steps with no script.
But when I skip to matlab to run the mt_prep_gamma_snap(changed) (6.4 KB) it doesn’t find the slc.par files…no INSAR_MASTER_date folder has been created actually.
I only got the four folder diff0\geo\dem\rslc.
In wich phase something was wrong in your opinion?
thank you so much
the script mentioned in the word file (mt_prep_gamma_snap_changed) is no longer up-to-date.
You find the latest version of StaMPS here: https://github.com/dbekaert/StaMPS
You can then use the mt_prep_snap command to process the data generated by the StaMPS export of SNAP.
Hello,
I am trying to process StaMPS export and I wanted to check if I need to process radiometric calibration on the SLC images before creating the stack of coregistred images?
Thank you!
When I type ps_plot(‘v-d’,-1) obtain
Error using load
Unable to read file ‘./phuw1’. No such file or directory
Error in ps_plot (line 912)
uw=load(phuwname);
looks alright to me, but mostly dependent of the content of all the files and folders.
Just a recommendation: Leave the folder exported from SNAP (dem, diff, geo, rslc) as it is and run mt_prep_snap in a different/new directory, so all new files are written there separately. This helps you to clean up in case you want to start again without having to repeat the StaMPS export. Basically, all other files besides the four directories are required by Matlab (the textfiles and the PATCH folders).