raster_tools.Raster.round#

Raster.round(decimals=0)[source]#

Evenly round to the given number of decimals

Parameters

decimals (int, optional) – The number of decimal places to round to. If negative, value specifies the number of positions to the left of the decimal point. Default is 0.

Returns

Rounded raster.

Return type

Raster