girs.rast.raster.copy

copy(raster, dst_filename='', driver_short_name=None)

Return a copy of given raster

Creates a new RasterUpdate instance using the parameters of this raster

Parameters:
  • raster
  • dst_filename
  • driver_short_name
Returns:

copy of this raster

Return type:

RasterUpdate