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).
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
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).