Explorar el Código

r.fillnulls: update r.resamp.bspline call

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@63388 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler hace 10 años
padre
commit
6597cc55b0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      scripts/r.fillnulls/r.fillnulls.py

+ 2 - 2
scripts/r.fillnulls/r.fillnulls.py

@@ -392,12 +392,12 @@ def main():
             grass.run_command('r.resamp.bspline', input = input, mask = usermask,
             grass.run_command('r.resamp.bspline', input = input, mask = usermask,
                 output = prefix + 'filled', method = method, 
                 output = prefix + 'filled', method = method, 
                 ew_step = 3 * reg['ewres'], ns_step = 3 * reg['nsres'], 
                 ew_step = 3 * reg['ewres'], ns_step = 3 * reg['nsres'], 
-                _lambda = 0.01, flags = 'n')
+                lambda_ = 0.01, flags = 'n')
         else:
         else:
             grass.run_command('r.resamp.bspline', input = input,
             grass.run_command('r.resamp.bspline', input = input,
                 output = prefix + 'filled', method = method, 
                 output = prefix + 'filled', method = method, 
                 ew_step = 3 * reg['ewres'], ns_step = 3 * reg['nsres'], 
                 ew_step = 3 * reg['ewres'], ns_step = 3 * reg['nsres'], 
-                _lambda = 0.01, flags = 'n')
+                lambda_ = 0.01, flags = 'n')
 
 
     # restoring user's mask, if present:
     # restoring user's mask, if present:
     if usermask:
     if usermask: