gdal_output_file_exists¶
- HSTB.kluster.gdal_helpers.gdal_output_file_exists(pth)¶
here we could just do os.path.exists, but we also support vsimem virtual file systems for gdal https://gdal.org/user/virtual_file_systems.html therefore we should just try a gdal open to see if the file path exists
- Parameters
pth (
str) – path to the file you want to check- Returns
True if the file exists
- Return type
bool