datacube.utils.geometry.roi_pad

datacube.utils.geometry.roi_pad(roi, pad, shape)[source]

Pad ROI on each side, with clamping (0,..) -> shape