insarlab / MintPy

Miami InSAR time-series software in Python
https://mintpy.readthedocs.io
Other
560 stars 245 forks source link

when load GAMMA format unw file, load_data report a error #1114

Closed zhabuxiacuncunzhang closed 8 months ago

zhabuxiacuncunzhang commented 8 months ago

I have 507 interferograms, WIDTH 6854 FILE_LENGTH 3204. But when load them into MintPy with load_data.py, report error as follow: Snipaste_2023-11-08_21-37-08 the length is only 1602 and I check the unw file, and I can use disrmg (in GAMMA) to plot it. So, I check line 215 of stackDict.py, and print(data.size). The size is 10,980,108. I do not know where is wrong.

welcome[bot] commented 8 months ago

👋 Thanks for opening your first issue here! Please filled out the template with as much details as possible. We appreciate that you took the time to contribute! Make sure you read our contributing guidelines.

zhabuxiacuncunzhang commented 8 months ago

One of rsc file Snipaste_2023-11-08_21-46-55

zhabuxiacuncunzhang commented 8 months ago

And the disrmg result Snipaste_2023-11-08_21-48-17

zhabuxiacuncunzhang commented 8 months ago

I found the reason. When I prepared the files, copy the .slc.par without multi-look to .ramp.par. Then I copy the .mli.par to .ramp.par, and the program has runned correctly.