raster_tools.Raster.chunk#

Raster.chunk(chunks)[source]#

Rechunk the underlying raster

Parameters

chunks (tuple of int) – The chunk sizes for each dimension (“band”, “y”, “x”, in that order). Must be a 3-tuple.

Returns

The rechunked raster

Return type

Raster