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

step2 error about ph_grid is stemmed from the bug of psclonlat #40

Open hongsy0421 opened 1 year ago

hongsy0421 commented 1 year ago

I have found some comments about the phgrid error in step 2. Actually, it is due to the nan value or error value ( lon and lat) in the pscands.1.ll, which is produced by the psclonlat code. This bug of nan value or error value will also cause the hgt error in the pscands.1.hgt, which is producted by the pscdem code. I have tested the question with sentinel-1 data, and found the data with line number < 34000 usually not cause the bug. But if the data with line number > 34000 or 35000 usually cause the bug in the PATCH, whose line input number > 34000 or 35000 (refer to patch.in in the PATCH_). So, it seems there are some bugs on the psclonlat.c and pscdem.c code in the /src folder of StaMPS. I hope someone can help to check and resolve this question. I don't know much about programming.