This PR addresses the potential issues that the MGRS tile collection has the bursts with the dual-polarizations and the bursts with the single-polarizations, together.
In such a case, the current codes have no problem in mosaic_rtc_burst.py, pre_processing.py, and initial_threshold.py. However, the fuzzy_logic_ computation.py considers the empty areas as zero-value and computes the fuzzy_values. In this PR, new code uses nanmean instead of computing mean values from nansum and number of layer.
This PR addresses the potential issues that the MGRS tile collection has the bursts with the dual-polarizations and the bursts with the single-polarizations, together. In such a case, the current codes have no problem in
mosaic_rtc_burst.py
,pre_processing.py
, andinitial_threshold.py
. However, thefuzzy_logic_ computation.py
considers the empty areas as zero-value and computes the fuzzy_values. In this PR, new code usesnanmean
instead of computing mean values fromnansum
andnumber of layer
.