Harmonization weights are affected by extreme values in the computed spectral distances between spectrum and available regressors.
The weights are computed from normalized spectral distance measures. This normalization uses the minimum/maximum values of the computed spectral distance measures.
In case of extreme values in the spectral distances (e.g., due to nodata values in the input image) the maximum value can be affected.