rasterio.shutil module
Raster file management.
- rasterio.shutil.copy(src, dst, driver=None, strict=True, **creation_options)
Copy a raster from a path or open dataset handle to a new destination with driver specific creation options.
- Parameters:
src (str or PathLike or dataset object opened in 'r' mode) – Source dataset
dst (str or PathLike) – Output dataset path
driver (str, optional) – Output driver name
strict (bool, optional. Default: True) – Indicates if the output must be strictly equivalent or if the driver may adapt as necessary
creation_options (dict, optional) – Creation options for output dataset
- Return type:
None
- rasterio.shutil.copyfiles(src, dst)
Copy files associated with a dataset from one location to another.