Tools for advanced processing of LiCSAR data (starting from geotiffs). Primarily for unwrapping interferograms (integrated to LiCSBAS), but further used as repository for experimental functions requiring atypical or heavy python libraries.
While supported by NERC Large Grant project on "Looking inside the continents from Space" (NE/K010867/1), some functionality was developed within activities on ESA Open SAR Library 4000140600/23/I-DT extension, recognised as the AlignSAR InSAR Time Series extension.
You may install this set of tools e.g. using pip by:
`
pip install git+https://github.com/comet-licsar/licsar_extra.git
pip install --upgrade --force-reinstall git+https://github.com/comet-licsar/licsar_extra.git
`
Then, to test it, try e.g.:
from licsar_extra import lics_unwrap
help(lics_unwrap.process_ifg_pair)
The primary tool of the 'licsar_extra' library, improving the phase unwrapping, as was (partly) described in IGARSS 2022 and SARWatch 2023. As additional prerequisite, you must install SNAPHU.
Then, having at least geotiffs of the wrapped interferogram and coherence, you can unwrap e.g. using:
phatif = '20xxxxxx_20xxxxxx.unfiltered_pha.geo.tif'
cohtif = '20xxxxxx_20xxxxxx.coh.geo.tif'
outunw = '20xxxxxx_20xxxxxx.unw.geo.tif'
unwcube = lics_unwrap.process_ifg_pair(phatif, cohtif,
ml = 1, fillby = 'nearest', thres = 0.35,
lowpass = False, goldstein = True, specmag = True,
outtif = outunw, cascade = False) # try cascade True/False, it has strong effect
Useful functions to operate with the LiCSBAS datacube.
Functionality directly imported from MintPy allowing LiCSBAS to calculate/correct plate motion velocity plane, effectively fixing towards Eurasian tectonic plate.