Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/raster/r.earthworks/r.earthworks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,10 @@ def main():

# Run processes
try:
# Use a temporary region so the user's computational region is
# restored on exit, including when the module exits with an error
gs.use_temp_region()

# Convert inputs
if raster:
coordinates = convert_raster(raster)
Expand Down