You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The usage and also the test of t.rast.whatcsv fails due to an incorrect r.what call:
GRASS :testsuite > python test_whatcsv.py
ERROR: Raster map <dummy> not found
Traceback (most recent call last):
File "/home/mneteler/.grass7/addons/scripts/t.rast.whatcsv", line 160, in <module>
main(options, flags)
File "/home/mneteler/.grass7/addons/scripts/t.rast.whatcsv", line 130, in main
r_what = gcore.read_command("r.what", map="dummy",
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/etc/python/grass/script/core.py", line 503, in read_command
return handle_errors(returncode, stdout, args, kwargs)
File "/home/mneteler/software/grass78/dist.x86_64-pc-linux-gnu/etc/python/grass/script/core.py", line 342, in handle_errors
raise CalledModuleError(module=None, code=code,
grass.exceptions.CalledModuleError: Module run None r.what --q map=dummy output=- separator=| ended with error
Process ended with non-zero return code 1. See errors in the (error) output.
You are right, I must have had an outdated addon version installed.
GRASS nc_spm_08_grass7/user1:testsuite > python test_whatcsv.py
1|115.0043586274|36.3593955783||100
2|79.6816763826|45.2391522853||200
3|97.4892579600|79.2347263950||300
4|115.0043586274|36.3593955783||400
.
----------------------------------------------------------------------
Ran 1 test in 5.480s
OK
The usage and also the test of
t.rast.whatcsv
fails due to an incorrectr.what
call:The reason is this call:
grass-addons/grass7/temporal/t.rast.whatcsv/t.rast.whatcsv.py
Line 130 in 4d03303
which needs to be rewritten.
The text was updated successfully, but these errors were encountered: