[GRASS-user] Help with r.landscape.evol

Helmut Kudrnovsky hellik at web.de
Wed Sep 12 10:23:07 PDT 2018


Nicholas Uwadia wrote
> Thanks makus for your reply, i have added more details as required and
> also
> the error experienced.
> operating system :windows 10
> GRASS GIS: 7.4

tested here with OSGeo4W-winGRASS 7.4.1

-----------------------------
r.landscape.evol --verbose elev=elevation at PERMANENT initbdrk=bedrock at user1
smoothing=no prefx=levol_ outdem=elevation outsoil=soildepth number=1
statsout=D:\temp\testadd\test.txt

##################################################
##################################################

STARTING SIMULATION

Beginning iteration sequence. This may take some time.
Process is not finished until you see the message: 'Done with everything'
_____________________________________________________________
_____________________________________________________________
Total number of iterations to be run is 1
Iteration = 1

##################################################

*************************
Iteration 1 -- step 1: calculating slope
*************************

*************************
Iteration 1 -- step 2: calculating accumulated flow depths
*************************
Calculating runoff excess rates (uplsope accumulated cells scaled to
"flowcontrib" map

*************************
Iteration 1 -- step 3: calculating sediment transport rates (units variable
depending upon process)
*************************

*************************
Iteration 1 -- step 4: calculating divergence/difference of sediment
transport for each process and the actual amount of erosion or deposition in
vertical meters/cell/year
*************************

Running soft-knee smoothing filter...
No additional modal smoothing was requested...
ERROR: Unable to load rules file
<c:\users\hkmyr\appdata\local\temp\grass7-hkmyr-8260\tmp3ykzyr>
Traceback (most recent call last):
  File "C:\Users\hkmyr\AppData\Roaming\GRASS7\addons/scripts
/r.landscape.evol.py", line 681, in <module>
    main(x, (x + 1), prefx, statsout,  region1['nsres'],
masterlist);
  File "C:\Users\hkmyr\AppData\Roaming\GRASS7\addons/scripts
/r.landscape.evol.py", line 509, in main
    grass.run_command('r.colors', quiet = "True", map =
netchange, rules = nccolors.name)
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\
script\core.py", line 421, in run_command
    return handle_errors(returncode, returncode, args,
kwargs)
  File "C:\OSGEO4~1\apps\grass\grass-7.4.1\etc\python\grass\
script\core.py", line 332, in handle_errors
    returncode=returncode)
grass.exceptions.CalledModuleError: Module run None
['r.colors', '--q', 'rules=c:\\users\\hkmyr\\appdata\\local\
\temp\\grass7-hkmyr-8260\\tmp3ykzyr', 'map=levol_ED_rate']
ended with error
Process ended with non-zero return code 1. See errors in the
(error) output.
----------------------------

confirmed

it seems there is an issue with r.colors reading a temporary color rules
file.



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html


More information about the grass-user mailing list