OSGeo / grass

GRASS GIS - free and open-source geospatial processing engine
https://grass.osgeo.org
Other
846 stars 308 forks source link

[Bug] r.viewshed does not clean tempfiles #1436

Open ninsbl opened 3 years ago

ninsbl commented 3 years ago

Describe the bug After running r.viewshed, temporary files remain in the .tmp directory.

To Reproduce

ls ${LOCATION}/.tmp/*
g.region raster=elevation.10m
r.viewshed input=elevation.10m output=viewshed coordinates=598869,4916642 memory=800
ls ${LOCATION}/.tmp/*

Expected behavior Temporary files in .tmp are removed when process finishes.

System description (please complete the following information):

Additional context Remaining tempfiles can slow down closing of GRASS GIS.

neteler commented 3 years ago

(probably the same applies to r.terraflow)