fmeobjects.FMEBand.setOutputSize

FMEBand.setOutputSize(rows, cols)

Changes the size of the source data.

Parameters:
  • rows (int) – Number of rows.

  • cols (int) – Number of columns.

Return type:

tuple[int]

Returns:

New number of rows and columns after resampling the raster.

Raises:

FMEException – An exception is raised if an error occurred.