odc.geo.overlap.ReprojectInfo

class odc.geo.overlap.ReprojectInfo(roi_src, roi_dst, paste_ok, read_shrink, scale, scale2, transform)[source]

Describes computed data loading parameters.

For scale direction is: “scale > 1 –> shrink src to fit dst”.

__init__(roi_src, roi_dst, paste_ok, read_shrink, scale, scale2, transform)

Methods

__init__(roi_src, roi_dst, paste_ok, ...)

Attributes

roi_src

Section of the source image to load.

roi_dst

Section of the destination image to update.

paste_ok

When True source can be pasted into destination directly.

read_shrink

Highest allowed integer shrink factor on the read side.

scale

Scale change as a single number.

scale2

Full 2D Scale change as an XY.

transform

Mapping from src pixels to destination pixels.