skip nodata values when applying threshold