GeoscienceAustralia / CoRAL

Corner Reflector Analysis Library
Apache License 2.0
17 stars 8 forks source link

Convert zeroes in intensity image to Nans #2

Open mcgarth opened 4 years ago

mcgarth commented 4 years ago

Convert zeroes in intensity image to Nan prior to performing the decibel conversion (log base 10 of a zero gives a warning like:

RuntimeWarning: invalid value encountered in log10