wradlib.zonalstats.DataSource.dump_raster

DataSource.dump_raster(filename, driver='GTiff', attr=None, pixel_size=1.0, remove=True, **kwargs)

Output layer to GDAL Rasterfile

Parameters:
  • filename (string) – path to shape-filename
  • driver (string) – GDAL Raster Driver
  • attr (string) – attribute to burn into raster
  • pixel_size (float) – pixel Size in source units
  • remove (bool) – if True removes existing output file
Keyword Arguments:
 

silent (bool) – If True no ProgressBar is shown. Defaults to False.