[GRASS-SVN] r72751 - grass-addons/grass7/vector/v.surf.nnbathy
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 31 03:38:04 PDT 2018
Author: robertomarzocchi
Date: 2018-05-31 03:38:04 -0700 (Thu, 31 May 2018)
New Revision: 72751
Modified:
grass-addons/grass7/vector/v.surf.nnbathy/nnbathy.py
Log:
Corrected input of nnbathy command (e,w,n,s must be real and not integer)
Modified: grass-addons/grass7/vector/v.surf.nnbathy/nnbathy.py
===================================================================
--- grass-addons/grass7/vector/v.surf.nnbathy/nnbathy.py 2018-05-30 22:27:40 UTC (rev 72750)
+++ grass-addons/grass7/vector/v.surf.nnbathy/nnbathy.py 2018-05-31 10:38:04 UTC (rev 72751)
@@ -58,8 +58,8 @@
grass.call(['nnbathy',
'-W', '%d' % 0,
'-i', '%s' % self._tmpxyz,
- '-x', '%d' % self.nn_w, '%d' % self.nn_e,
- '-y', '%d' % self.nn_n, '%d' % self.nn_s,
+ '-x', '%f' % self.nn_w, '%f' % self.nn_e,
+ '-y', '%f' % self.nn_n, '%f' % self.nn_s,
'-P', '%s' % self.ALG,
'-n', '%dx%d' % (self.cols, self.rows)],
stdout=fsock)
More information about the grass-commit
mailing list