GeoEco.DataManagement.ArcGISRasters.ArcGISRaster.CopySilent

classmethod ArcGISRaster.CopySilent(sourceRaster, destinationRaster, overwriteExisting=False)

Copies an ArcGIS raster and logs a debug message rather than an informational message.

This method does the same thing as the ArcGISRaster.Copy() method, except it logs a debug message rather than an informational message. It is intended for use when the raster-copy operation is not imporant enough to warrent notifying the user (for example, when an output raster is extracted from a temporary directory to the final location).

Requires: ArcGIS Pro 3.2.0 or later or ArcGIS Server equivalent to ArcGIS Pro 3.2.0 or later.

Parameters:
  • sourceRaster (str) – Raster to copy. Minimum length꞉ 1. Must exist.

  • destinationRaster (str) – Copy to create. If this is a file system path, missing directories in the path will be created if they do not exist. Minimum length꞉ 1. Must be different than sourceRaster.

  • overwriteExisting (bool, optional) – If True, the destination raster will be overwritten, if it exists. If False, a ValueError will be raised if the destination raster exists.