<br>
<br>
Le 9 janvier 2017 20:43:37 GMT+01:00, Rafaela Soares <rafaelaniemann@gmail.com> a écrit :<br>
>Hi Moritz!<br>
><br>
>I've reinstalled v.lidar.mcc using g.extension in another computer, but<br>
>it<br>
>seems that it did not work.<br>
<br>
<br>
It did in that you don't have the same error. Now the issue seems to be with v.outlier. As Anna says, we would need the error message in order to be able to debug this.<br>
<br>
If the temporary files still exist, you can try to run v.outlier directly and check the output:<br>
<br>
v.outlier --oq ew_step=0.5<br>
outlier=v_lidar_mcc_tmp_ng_8330 filter=positive lambda=2.0 input=v_lidar_mcc_tmp_ncin_8330 threshold=0.4 output=v_lidar_mcc_tmp_ncout_8330<br>
ns_step=0.5<br>
<br>
Moritz<br>
<br>
<br>
><br>
>He returned this report:<br>
><br>
>****<br>
>(Mon Jan 9 13:39:58 2017)<br>
>v.lidar.mcc input=q16_p02@q16_total_jun2016 ground=q16_p02gro<br>
>nonground=q16_p02nongro<br>
>Processing scale domain 1...<br>
>Processing scale domain 2...<br>
>Traceback (most recent call last):<br>
>File "/home/carlos/.grass7/addons/scripts/v.lidar.mcc",<br>
>line 278, in <module><br>
>sys.exit(main())<br>
>File "/home/carlos/.grass7/addons/scripts/v.lidar.mcc",<br>
>line 229, in main<br>
>overwrite=True, quiet=True, stderr=nuldev)<br>
>File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>line 410, in run_command<br>
>return handle_errors(returncode, returncode, args,<br>
>kwargs)<br>
>File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>line 329, in handle_errors<br>
>returncode=returncode)<br>
>grass.exceptions.CalledModuleError: Module run None<br>
>['v.outlier', '--o', '--q', 'ew_step=0.5',<br>
>'outlier=v_lidar_mcc_tmp_ng_8330', 'filter=positive',<br>
>'lambda=2.0', 'input=v_lidar_mcc_tmp_ncin_8330',<br>
>'threshold=0.4', 'output=v_lidar_mcc_tmp_ncout_8330',<br>
>'ns_step=0.5'] ended with error<br>
>Process ended with non-zero return code 1. See errors in the<br>
>(error) output.<br>
>(Mon Jan 9 17:06:51 2017) Comando terminado (206 min 53 sec)<br>
><br>
><br>
>Best Regards,<br>
><br>
><br>
>*Rafaela Soares Niemann*<br>
>Geografa - Universidade Estadual de Campinas - UNICAMP<br>
>Mestranda em Geografia - Universidade Estadual Paulista - UNESP Rio<br>
>Claro<br>
><br>
><br>
><br>
><br>
>2017-01-09 13:32 GMT-02:00 Moritz Lennert<br>
><mlennert@club.worldonline.be>:<br>
><br>
>> On 09/01/17 16:11, Rafaela Soares wrote:<br>
>><br>
>>> Hi Anna,<br>
>>><br>
>>> Thanks for your attention.<br>
>>><br>
>>> The module v.lidar.mcc creates two products (point cloud): ground<br>
>and<br>
>>> non-ground. So, after I installed Linux Mint on my computer, the<br>
>module<br>
>>> is not creating ground file, only file of non-ground and also files<br>
>I'm<br>
>>> not understanding what it are.<br>
>>><br>
>>> Example for output:<br>
>>><br>
>>> ***<br>
>>> /home/eddard/Downloads/<a href="http://v.lidar.mcc.py">v.lidar.mcc.py</a> <<a href="http://v.lidar.mcc.py">http://v.lidar.mcc.py</a>><br>
>>> input=q16@q16_total g_output=q16_gro ng_output=q16_ngro<br>
>>> Processing scale domain 1...<br>
>>> Traceback (most recent call last):<br>
>>> File "/home/eddard/Downloads/<a href="http://v.lidar.mcc.py">v.lidar.mcc.py</a><br>
><<a href="http://v.lidar.mcc.py">http://v.lidar.mcc.py</a>>",<br>
>>> line 243, in<br>
>>> <module><br>
>>> sys.exit(main())<br>
>>> File "/home/eddard/Downloads/<a href="http://v.lidar.mcc.py">v.lidar.mcc.py</a><br>
><<a href="http://v.lidar.mcc.py">http://v.lidar.mcc.py</a>>",<br>
>>> line 214, in<br>
>>> main<br>
>>> grass.run_command('g.remove', vect = temp_ncin, quiet =<br>
>>> True, stderr = nuldev)<br>
>>> File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>>> line 410, in run_command<br>
>>> return handle_errors(returncode, returncode, args,<br>
>>> kwargs)<br>
>>> File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>>> line 329, in handle_errors<br>
>>> returncode=returncode)<br>
>>> grass.exceptions.CalledModuleError: Module run None<br>
>>> ['g.remove', '--q', 'vect=v_lidar_mcc_tmp_ncin_18102'] ended<br>
>>> with error<br>
>>> Process ended with non-zero return code 1. See errors in the<br>
>>> (error) output.<br>
>>> Error in atexit._run_exitfuncs:<br>
>>> Traceback (most recent call last):<br>
>>> File "/usr/lib/python2.7/<a href="http://atexit.py">atexit.py</a>", line 24, in<br>
>>> _run_exitfuncs<br>
>>> func(*targs, **kargs)<br>
>>> File "/home/eddard/Downloads/<a href="http://v.lidar.mcc.py">v.lidar.mcc.py</a><br>
><<a href="http://v.lidar.mcc.py">http://v.lidar.mcc.py</a>>",<br>
>>> line 106, in<br>
>>> cleanup<br>
>>> grass.run_command('g.remove', vect = '%s,%s,%s' %<br>
>>> (temp_ng, temp_ncin, temp_ncout), quiet = True, stderr =<br>
>>> nuldev)<br>
>>> File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>>> line 410, in run_command<br>
>>> return handle_errors(returncode, returncode, args,<br>
>>> kwargs)<br>
>>> File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>>> line 329, in handle_errors<br>
>>> returncode=returncode)<br>
>>> CalledModuleError: Module run None ['g.remove', '--q', 'vect<br>
>>> =v_lidar_mcc_tmp_ng_18102,v_lidar_mcc_tmp_ncin_18102,v_lidar<br>
>>> _mcc_tmp_ncout_18102'] ended with error<br>
>>> Process ended with non-zero return code 1. See errors in the<br>
>>> (error) output.<br>
>>> Error in sys.exitfunc:<br>
>>> Traceback (most recent call last):<br>
>>> File "/usr/lib/python2.7/<a href="http://atexit.py">atexit.py</a>", line 24, in<br>
>>> _run_exitfuncs<br>
>>> func(*targs, **kargs)<br>
>>> File "/home/eddard/Downloads/<a href="http://v.lidar.mcc.py">v.lidar.mcc.py</a><br>
><<a href="http://v.lidar.mcc.py">http://v.lidar.mcc.py</a>>",<br>
>>> line 106, in<br>
>>> cleanup<br>
>>> grass.run_command('g.remove', vect = '%s,%s,%s' %<br>
>>> (temp_ng, temp_ncin, temp_ncout), quiet = True, stderr =<br>
>>> nuldev)<br>
>>> File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>>> line 410, in run_command<br>
>>> return handle_errors(returncode, returncode, args,<br>
>>> kwargs)<br>
>>> File "/usr/lib/grass73/etc/python/grass/script/<a href="http://core.py">core.py</a>",<br>
>>> line 329, in handle_errors<br>
>>> returncode=returncode)<br>
>>> grass.exceptions.CalledModuleError: Module run None<br>
>>> ['g.remove', '--q', 'vect=v_lidar_mcc_tmp_ng_18102,v_lidar_m<br>
>>> cc_tmp_ncin_18102,v_lidar_mcc_tmp_ncout_18102'] ended with<br>
>>> error<br>
>>> Process ended with non-zero return code 1. See errors in the<br>
>>> (error) output.<br>
>>> (Mon Dec 5 22:28:30 2016) Comando terminado (4983 min 19 sec)<br>
>>><br>
>>><br>
>>><br>
>>> What can I do wrong?<br>
>>><br>
>><br>
>><br>
>> I don't think you are doing anything wrong. It rather looks like the<br>
>> version you use is and old version of v.lidar.mcc. The parameters of<br>
>> g.remove have changed in grass 7 and v.lidar.mcc does not use a call<br>
>such<br>
>> as "grass.run_command('g.remove', vect = '%s,%s,%s'" anymore.<br>
>><br>
>> Try reinstalling v.lidar.mcc using g.extension.<br>
>><br>
>> Moritz<br>
>><br>