datacube.utils.geometry.gbox.GeoboxTiles

class datacube.utils.geometry.gbox.GeoboxTiles(box: datacube.utils.geometry._base.GeoBox, tile_shape: Tuple[int, int])[source]

Partition GeoBox into sub geoboxes

__init__(box: datacube.utils.geometry._base.GeoBox, tile_shape: Tuple[int, int])[source]

Construct from a GeoBox

Parameters:

Methods

__init__(box, tile_shape, int]) Construct from a GeoBox
chunk_shape(idx, int]) Chunk shape for a given chunk index.
range_from_bbox(bbox) Compute rows and columns overlapping with a given BoundingBox
tiles(polygon) Return tile indexes overlapping with a given geometry.

Attributes

base
shape Number of tiles along each dimension