museotoolbox.processing.RasterMath.custom_block_size

RasterMath.custom_block_size(x_block_size=False, y_block_size=False)[source]

Define custom block size for reading and writing the raster.

Parameters
  • y_block_size (float or int, default False.) – IF int, number of rows per block. If -1, means all the rows. If float, value must be between 0 and 1, such as 1/3.

  • x_block_size (float or int, default False.) – If int, number of columns per block. If -1, means all the columns. If float, value must be between 0 and 1, such as 1/3.