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
200 stars 70 forks source link

Fix issue 310 #335

Closed mcgarth closed 3 years ago

mcgarth commented 3 years ago

This PR introduces a circumventive measure to address the Issue identified at: https://github.com/GeoscienceAustralia/PyRate/issues/310

Specifically, I add a small value of 1e-20 to the reference phase that is subtracted from each interferogram. This avoids pixels taking the exact value of zero (0.0) and possibly being converted to NaN downstream in the workflow.