For thoroughness, we should add ```try-except``` to the pixel percentile calculations
For thoroughness, we should add
try-exceptto the pixel percentile calculations