set values to 0, 1 or nodata during thresholding for biodiverse