Browse Source

fix script to use G_OPT_R_BASENAME_OUTPUT

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63196 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 years ago
parent
commit
e72d1dd5ed
3 changed files with 3 additions and 3 deletions
  1. 1 1
      scripts/i.pansharpen/i.pansharpen.py
  2. 1 1
      scripts/r.blend/r.blend.py
  3. 1 1
      scripts/r.rgb/r.rgb.py

+ 1 - 1
scripts/i.pansharpen/i.pansharpen.py

@@ -100,7 +100,7 @@ def main():
     ms2       = options['green'] # green channel
     ms3       = options['red'] # red channel
     pan       = options['pan'] # high res pan channel
-    out       = options['basename'] # prefix for output RGB maps
+    out       = options['output'] # prefix for output RGB maps
     bladjust  = flags['l'] # adjust blue channel
     sproc     = flags['s'] # serial processing
     

+ 1 - 1
scripts/r.blend/r.blend.py

@@ -52,7 +52,7 @@ import grass.script as grass
 def main():
     first = options['first']
     second = options['second']
-    output = options['output_prefix']
+    output = options['output']
     percent = options['percent']
 
     mapset = grass.gisenv()['MAPSET']

+ 1 - 1
scripts/r.rgb/r.rgb.py

@@ -30,7 +30,7 @@ import grass.script as grass
 
 def main():
     input = options['input']
-    output = options['basename']
+    output = options['output']
 
     if not grass.find_file(input)['file']:
 	grass.fatal(_("Raster map <%s> not found") % input)