Rasters.jl icon indicating copy to clipboard operation
Rasters.jl copied to clipboard

Catch error in write to remove broken file

Open felixcremer opened this issue 1 year ago • 2 comments

When the write command errors it still sometimes construct a broken file on disk. This change should make sure, that the write function would tidy up these broken files after faliure, because they are in the way for later analysis.

Do you think, that this is enough to capture all broken files? Should this also be tested for other backends?

Locally I get some spurious failures which have nothing to do with the changes but are coming from some download time out errors.

felixcremer avatar Jul 27 '23 12:07 felixcremer