pycequeau.core.manage_files module¶
- pycequeau.core.manage_files.delete_raster_and_sidecars(tif_path: str) list[str][source]¶
Delete a raster TIFF and all associated sidecar files (e.g. .aux.xml, .ovr).
Removes the main file and common GDAL sidecars: .aux.xml, .ovr, .vat.dbf, .tfw, .tifw, .aux. Missing files are skipped without error.
- Parameters:
tif_path – Path to the raster file (e.g. …/geographic/merged_WBM.tif). Can use forward or backslashes; .tif or .tiff.
- Returns:
List of paths that were successfully deleted.