odc.geo.geobox.GeoboxTiles.chunk_shape

GeoboxTiles.chunk_shape(idx)[source]

Query chunk shape for a given chunk.

Parameters:

idx (Union[Tuple[int, int], XY[int], Index2d]) – (row, col) chunk index

Return type:

Shape2d

Returns:

(nrows, ncols) shape of a tile (edge tiles might be smaller)

Raises:

IndexError when index is outside of [(0,0) -> .shape).