unwrap with Phass and Snaphu using isce3 env #69
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains functions to prepare and run unwrapping with Phass and Snaphu version 2.0.4 as isce3.unwrap modules:
functions:
unwrap_phass :: unwrap wrapped interferogram in radians using Phass, added extra function vrt_cpx2rad which creates vrt file that extracts phase from complex format on-the-fly using gdal pixel function
unwrap_snaphu :: unwrap complex wrapped interferogram with Snaphu v2.0.4, with additional options as tiling, masking, defo_threshold etc.., added deformation_threshold to deal with snaphu infinite loop due to cost overflow when unwrapped result contains too many discontinuities (example: unwrapping Ridgcrest high-resolution coseismic interferograms with tiling option). Snaphu man page suggests either increasing the value of DEFOTHRESHFACTOR or decreasing the value of DEFOCONST
unw_vrt_xml :: creates vrt and xml files for unwrapping outputs similar to isceobj.createImage.renderHdr/renderVRT but without depending on isce2