You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unwrapping of the PS and DS using the run_unwrap_ps_ds.sh stopped due to the following error:
snaphu v1.4.2
Reading wrapped phase from file PS_DS/20200821_20200914.int
No weight file specified. Assuming uniform weights
Reading correlation data from file PS_DS/tcorr_ds_ps.bin
NaN or infinity found in correlation data
Abort
The command I've used to generate the run_unwrap_ps_ds.sh is integratePS.py -s coreg_stack/slcs_base.vrt -d adjusted_wrapped_DS/ -t Sequential/Datum_connection/EVD/tcorr.bin -p ampDispersion/ps_pixels -o PS_DS --unwrap_method snaphu.
Hi, I recently ran into the same problem and this was the solution:
Snaphu does not do well with NaN values. The first thing to do would be to double check and see if all your data is actually blank or if you are just zoomed in too far. You can add -z -8 to the end of the mdx command or use the zoom button from the toolbar to check.
If the files are actually all blank, you will need to recreate them using previous steps. If there is data there, you can edit the integratePS.py script and add ifgram_ds_ps = np.nan_to_num(ifgram_ds_ps) at line 129 and re-run it. This will replace all NaN values with zeroes and you should be able to unwrap after that.
Unwrapping of the PS and DS using the run_unwrap_ps_ds.sh stopped due to the following error:
snaphu v1.4.2
Reading wrapped phase from file PS_DS/20200821_20200914.int
No weight file specified. Assuming uniform weights
Reading correlation data from file PS_DS/tcorr_ds_ps.bin
NaN or infinity found in correlation data
Abort
The command I've used to generate the run_unwrap_ps_ds.sh is integratePS.py -s coreg_stack/slcs_base.vrt -d adjusted_wrapped_DS/ -t Sequential/Datum_connection/EVD/tcorr.bin -p ampDispersion/ps_pixels -o PS_DS --unwrap_method snaphu.
The code inside the run_unwrap_ps_ds.sh are the following:
unwrap_fringe.py -m snaphu -i PS_DS/20200821_20200827.int -c PS_DS/tcorr_ds_ps.bin -o PS_DS/unwrap/20200821_20200827.unw
unwrap_fringe.py -m snaphu -i PS_DS/20200821_20200902.int -c PS_DS/tcorr_ds_ps.bin -o PS_DS/unwrap/20200821_20200902.unw
unwrap_fringe.py -m snaphu -i PS_DS/20200821_20200908.int -c PS_DS/tcorr_ds_ps.bin -o PS_DS/unwrap/20200821_20200908.unw
unwrap_fringe.py -m snaphu -i PS_DS/20200821_20200914.int -c PS_DS/tcorr_ds_ps.bin -o PS_DS/unwrap/20200821_20200914.unw
unwrap_fringe.py -m snaphu -i PS_DS/20200821_20200920.int -c PS_DS/tcorr_ds_ps.bin -o PS_DS/unwrap/20200821_20200920.unw
The text was updated successfully, but these errors were encountered: