GeoscienceAustralia / PyRate

A Python tool for estimating velocity and time-series from Interferometric Synthetic Aperture Radar (InSAR) data.
https://geoscienceaustralia.github.io/PyRate/
Apache License 2.0
199 stars 69 forks source link

Add plotting script for correction files #345

Closed adeane-ga closed 3 years ago

adeane-ga commented 3 years ago

This script is designed to plot the correction files (NumPy), against the original interferogram and the corrected interferogram (GeoTIFFs) to aid user's interpretation of corrections and help debugging with PyRate.

Here is an example where from left to right is original IFG (interferogram_dir/), correction applied (orbit_error_dir/), and resulting corrected IFG (temp_mlooked_dir/):

image

Help Output

image

Example Usage:

python3 ~/PyRate/utils/plot_correction_files.py ./interferogram_dir ./orbit_error_dir ./temp_mlooked_dir ./plot_save_dir 1 10

the last two arguments will indicate that it will plot from the 1st to the 10th IFG (10 separate PNGs), this can be changed to any range within the maximum number of IFGs in user PyRate directory. Using 1 1 will plot the 1st only

Notes