[GRASS-SVN] r50824 - grass/trunk/scripts/r.fillnulls

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 15 20:43:49 EST 2012


Author: hamish
Date: 2012-02-15 17:43:49 -0800 (Wed, 15 Feb 2012)
New Revision: 50824

Modified:
   grass/trunk/scripts/r.fillnulls/r.fillnulls.py
Log:
explicitly list lambda in options so it is easier to know how to change it

Modified: grass/trunk/scripts/r.fillnulls/r.fillnulls.py
===================================================================
--- grass/trunk/scripts/r.fillnulls/r.fillnulls.py	2012-02-15 23:12:34 UTC (rev 50823)
+++ grass/trunk/scripts/r.fillnulls/r.fillnulls.py	2012-02-16 01:43:49 UTC (rev 50824)
@@ -199,12 +199,12 @@
 	    grass.run_command('r.resamp.bspline', input = input, mask = usermask,
 			    output = tmp1 + '_filled', method = method, 
 			    se = 3 * reg['ewres'], sn = 3 * reg['nsres'], 
-			    flags = 'n')
+			    _lambda = 0.01, flags = 'n')
 	else:
 	    grass.run_command('r.resamp.bspline', input = input,
 			    output = tmp1 + '_filled', method = method, 
 			    se = 3 * reg['ewres'], sn = 3 * reg['nsres'], 
-			    flags = 'n')
+			    _lambda = 0.01, flags = 'n')
 
     # restoring user's mask, if present:
     if grass.find_file(usermask, mapset = mapset)['file']:



More information about the grass-commit mailing list