Remove all NaN values from the target data to calculate the global minimum and maximum of the data.
User defined percentiles can remove extreme outliers.
Parameters:
data (DataArray) – DataArray containing the target data
min_percentile (float) – Minimum percentile of the data
max_percentile (float) – Maximum percentile of the data