raster.COG_PROFILE

Creation profile for the GDAL COG driver, used by write_cog() and by

raster.COG_PROFILE: dict[str, Any] = {
    "driver": "COG",
    "compress": "deflate",
    "blocksize": 512,
    "overviews": "IGNORE_EXISTING",
    "overview_resampling": "AVERAGE",
    "predictor": "YES",
    "overview_predictor": "YES",
}

callers rewriting existing files to COG via rewrite_tiff().