<div dir="ltr">Buongiorno,<br><div>sono giorni che provo a fare il comando r.drain con Grass e mi dà il seguente errore:</div><div>r.drain input=calcolo_costo_punto1_punto2@COST_SURFACE_ANALISYS output=drain_con_7_8_3 drain=risultato_simulazione_7-8 start_coordinates=2299077.465797105,4714074.211789936,2296604.929152043,4713627.781562355 start_points=punto1_VRPG@COST_SURFACE_ANALISYS<br>Reading input elevation raster map...<br>Filling sinks...<br>Determinado le direzioni di flusso per casi ambigui...<br>Found 1 unresolved area<br>ERROR: Il raster <calcolo_costo_punto1_punto2@COST_SURFACE_ANALISYS_fill_12860> non si trova nel mapset in uso (COST_SURFACE_ANALISYS)<br>ERROR: calcolo_costo_punto1_punto2@COST_SURFACE_ANALISYS_tmp_12860: Cannot remove or exclude files not in the current mapset.<br>Traceback (most recent call last):<br>  File "C:\Program Files\GRASS GIS 7.8/scripts/<a href="http://r.drain.py">r.drain.py</a>",<br>line 176, in <module><br>    sys.exit(main())<br>  File "C:\Program Files\GRASS GIS 7.8/scripts/<a href="http://r.drain.py">r.drain.py</a>",<br>line 145, in main<br>    grass.run_command("r.fill.dir", input=valmap,<br>output=fill_map, direction=dirmap, areas=area_map,<br>flags='f', format='grass')<br>  File "C:\Program Files\GRASS GIS<br>7.8\etc\python\grass\script\core.py", line 441, in<br>run_command<br>    return handle_errors(returncode, returncode, args,<br>kwargs)<br>  File "C:\Program Files\GRASS GIS<br>7.8\etc\python\grass\script\core.py", line 343, in<br>handle_errors<br>    returncode=returncode)<br>grass.exceptions.CalledModuleError: Module run None<br>r.fill.dir -f<br>input=calcolo_costo_punto1_punto2@COST_SURFACE_ANALISYS outp<br>ut=calcolo_costo_punto1_punto2@COST_SURFACE_ANALISYS_fill_12<br>860 direction=calcolo_costo_punto1_punto2@COST_SURFACE_ANALI<br>SYS_tmp_12860 areas=calcolo_costo_punto1_punto2@COST_SURFACE<br>_ANALISYS_area_12860 format=grass ended with error<br>Process ended with non-zero return code 1. See errors in the<br>(error) output.<br></div><div><br></div><div>FACCIO PRESENTE CHE SE LANCIO R.DRAIN CON LE VERSIONI 7.4.2 e 7.4.4 funziona cosi come tutte le altre versioni precedenti di Grass. Al contrario con le versioni 7.8 in poi non funziona più.</div><div>Qualcuno può aiutarmi a capire qual'è il problema?</div><div>Grazie anticipatamente.</div></div>