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
203 stars 71 forks source link

Coherence masking #223

Closed brenmous closed 5 years ago

brenmous commented 5 years ago

Coherence masking has been implemented. This affect converttogeotiff and prepifg.

If masking is enabled, converttogeotiff will convert the coherence images to .tif files. During prepifg, the interferogram will be maksed before resampling or cropping is performed. This masking occurs on the in-memory copy of the interferogram, so the ifg provided by the user isn't modified.

codecov-io commented 5 years ago

Codecov Report

Merging #223 into develop will decrease coverage by 1.12%. The diff coverage is 42.1%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #223      +/-   ##
===========================================
- Coverage    83.97%   82.85%   -1.13%     
===========================================
  Files           24       24              
  Lines         2914     2974      +60     
===========================================
+ Hits          2447     2464      +17     
- Misses         467      510      +43
Impacted Files Coverage Δ
pyrate/prepifg.py 90.68% <100%> (ø) :arrow_up:
pyrate/ifgconstants.py 100% <100%> (ø) :arrow_up:
pyrate/gamma.py 100% <100%> (ø) :arrow_up:
pyrate/gdal_python.py 81.52% <31.03%> (-9.11%) :arrow_down:
pyrate/config.py 81.81% <33.33%> (-7.82%) :arrow_down:
pyrate/scripts/run_prepifg.py 91.42% <60%> (-2.42%) :arrow_down:
pyrate/scripts/converttogtif.py 90.9% <60%> (-2.64%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 27423c7...1905f6b. Read the comment docs.

brenmous commented 5 years ago

Let's hold off on merging this one till the INSAR team have had a chance to test it and are happy with the output.