luhipi / sarvey

Open-source research software for InSAR time series analysis
https://luhipi.github.io/sarvey/docs
Other
25 stars 1 forks source link

mask mean amplitude to avoid zero division warning #6

Closed mahmud1 closed 3 months ago

mahmud1 commented 3 months ago
mahmud1 commented 3 months ago

It should work as expected. In utils.detectValidAreas the mask is created based on values larger than 0, nan values are masked out. - mask_valid_area = (10 ** (bmap_obj.background_map / 10)) > 0