<div dir="ltr">Ok. I do a commit with some changes to nnbathy.py command: <div><br></div><div>- correction in read region</div><div>- correction due to the problem of v.out.ascii -r </div><div>- correction suggested by Luca for string concatenation</div><div><br></div><div> A problem remains open when using v.surf.nnbathy from GUI because the name of the vector map with @mapset seem to be a problem... <br></div><div><br></div><div><br></div><div><div>Fetching data...</div><div>WARNING: Illegal filename <ztd_temp@meteo>. Character <@> not allowed.</div><div>Traceback (most recent call last):</div><div>  File</div><div>"/home/roberto/.grass7/addons/scripts/v.surf.nnbathy", line</div><div>115, in <module></div><div>    main()</div><div>  File</div><div>"/home/roberto/.grass7/addons/scripts/v.surf.nnbathy", line</div><div>106, in main</div><div>    obj = Nnbathy_vector(options)</div><div>  File "/home/roberto/.grass7/addons/etc/v.surf.nnbathy/nnba</div><div>thy.py", line 128, in __init__</div><div>    self._load(options)</div><div>  File "/home/roberto/.grass7/addons/etc/v.surf.nnbathy/nnba</div><div>thy.py", line 171, in _load</div><div>    grass.fatal_error("Invalid input: %s" % e)</div><div>AttributeError: 'module' object has no attribute</div><div>'fatal_error'</div></div><div><br></div><div><br></div><div>Removing the mapset from input name (<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ztd_temp@meteo --> ztd_temp)</span> the module works correctly. I do not know how to solve this problem. Perhaps it has an easy solution for you. </div><div><br></div><div>All the best, </div><div>R</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-03-27 21:11 GMT+02:00 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
2018-03-27 14:48 GMT+02:00 Roberto Marzocchi <<a href="mailto:roberto.marzocchi@gmail.com">roberto.marzocchi@gmail.com</a>>:<br>
> fout.write(parts[0]+' '+parts[1]+' '+parts[3])     -->  is part of the<br>
> actual command.<br>
><br>
> I can do debug, but I would like to be cautious in completly rewriting the<br>
> module without the endorsement of the authors.<br>
<br>
</span>please feel free to provide patch and attach it to a reported ticket. Martin<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" rel="noreferrer" target="_blank">http://geo.fsv.cvut.cz/gwiki/<wbr>Landa</a><br>
<a href="http://gismentors.cz/mentors/landa" rel="noreferrer" target="_blank">http://gismentors.cz/mentors/<wbr>landa</a><br>
</font></span></blockquote></div><br></div>