My code keeps throwing up a CPLE_AppDefinedError when using rasterio
Here is the issue. When I try to delete a temp.tiff
file I no longer need, I get an error with this section of code. It is part of a for loop, and there’s something in this for loop that is causing the code to not want to delete the temp.tiff file. It throws up a permission denied error because it thinks it is already open elsewhere so it can’t then delete it. I can’t figure out the issue.