dbekaert / StaMPS

Stanford Method for Persistent Scatterers
http://homepages.see.leeds.ac.uk/~earahoo/stamps/
GNU General Public License v3.0
226 stars 119 forks source link

The ph1.mat of one PATCH is corrupt while ph1.mat file of other PATCHes are normal. #46

Open ranneylxr opened 1 year ago

ranneylxr commented 1 year ago

Dear all, After running stamps(1, 1) for all patches, there is one patch whose ph1.mat file is corrupt and can not be loaded by Matlab while ph1.mat file of other patches are normal. Please help me if you know it. I am using StaMPS-master (Version 4.1b). Thank you!

############################### The error message are:

Error using load
Unable to read MAT-file
./INSAR_20160419/PATCH_13/ph1.mat. File might be corrupt.

Error in ps_plot (line 612)
            rc=load(phname);
mirzawaqar commented 1 year ago

I am facing the same issue. Did you solve this error?

000000ta commented 11 months ago

或许可以试一下 cd /StaMPS/src ,找到makefile,改一下里面的c=g++-7,然后重新make install,之后会出现一些else 。。bin 不存在,不要管它,是成功的。回去source StaMPS.bash那个文件。再重新跑,检查PATCH里的pscands.1.ij有值就行。 Perhaps you can try the following: navigate to the directory "cd /StaMPS/src," locate the "makefile," modify the line where "c=g++-7" is mentioned, then proceed to remake the installation using "make install." Afterward, you might encounter some "else ... bin" messages. Don't worry about them; they indicate success. Return to the "source StaMPS.bash" file. Then, rerun the process and ensure that the "pscands.1.ij" inside the "PATCH" has values.

GengPeiLin commented 11 months ago

You should provide 'ls -l ' result in the PATCH folder.

And re-run stamps(1,1) in the PATCH folder, see if there is any error or difference in the folder.