[GRASS-SVN] r73999 - grass-addons/grass7/imagery/i.fusion.hpf

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 22 03:54:11 PST 2019


Author: veroandreo
Date: 2019-01-22 03:54:11 -0800 (Tue, 22 Jan 2019)
New Revision: 73999

Modified:
   grass-addons/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py
Log:
i.fusion.hpf: minor change to fix suffix

Modified: grass-addons/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py
===================================================================
--- grass-addons/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py	2019-01-22 11:04:06 UTC (rev 73998)
+++ grass-addons/grass7/imagery/i.fusion.hpf/i.fusion.hpf.py	2019-01-22 11:54:11 UTC (rev 73999)
@@ -97,7 +97,7 @@
 #% label: Suffix for output image(s)
 #% description: Names of Pan-Sharpened image(s) will end with this suffix
 #% required: yes
-#% answer: hpf
+#% answer: .hpf
 #%end
 
 #%option
@@ -555,7 +555,7 @@
         run("r.support", map=tmp_msx_hpf, history="\n".join(cmd_history))
 
         # add suffix to basename & rename end product
-        msx_name = "{base}.{suffix}"
+        msx_name = "{base}{suffix}"
         msx_name = msx_name.format(base=msx.split('@')[0], suffix=outputsuffix)
         run("g.rename", raster=(tmp_msx_hpf, msx_name))
 



More information about the grass-commit mailing list