I am trying to produce the PSI using the S-1 images, using snap2stamps to do the preprocessing. The preprocessing went fine, but when trying to use StaMPS, I encounter the following error:
Array indices must be positive integers or logical values.
Error in ps_est_gamma_quick (line 176)
Error in stamps (line 327)
When trying to figure out the error, I saw that the error occurs because the array produced by the following code are full of zeros:
Does anyone know why this is happening? Note that I am only using 2 images just to test the procedures and 3 patches produced by the snap2stamps scripts. I already saw a similar solution here, but I do not know how to check if SNAP is exporting NaN values or empty files in the stack.