[GRASS-SVN] r62982 - grass/branches/releasebranch_7_0/scripts/i.tasscap
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 01:49:20 PST 2014
Author: martinl
Date: 2014-11-26 01:49:20 -0800 (Wed, 26 Nov 2014)
New Revision: 62982
Modified:
grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.py
Log:
i.tasscap: use standardized options (#2409) - (merge r62981 from trunk)
Modified: grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.py 2014-11-26 09:47:35 UTC (rev 62981)
+++ grass/branches/releasebranch_7_0/scripts/i.tasscap/i.tasscap.py 2014-11-26 09:49:20 UTC (rev 62982)
@@ -41,8 +41,14 @@
#% keywords: Landsat
#% keywords: Tasseled Cap transformation
#%end
+#%option G_OPT_R_INPUTS
+#%end
+#%option G_OPT_R_BASENAME_OUTPUT
+#% label: Name for output basename raster map(s)
+#% description: For Landsat 4-7, the raster maps should be the bands 1, 2, 3, 4, 5, and 7.
+#%end
#%option
-#% key: satellite
+#% key: sensor
#% type: string
#% description: Satellite sensor
#% required: yes
@@ -50,12 +56,6 @@
#% options: landsat4_tm,landsat5_tm,landsat7_etm
#% descriptions: landsat4_tm;Use transformation rules for Landsat 4 TM;landsat5_tm;Use transformation rules for Landsat 5 TM;landsat7_etm;Use transformation rules for Landsat 7 ETM
#%end
-#%option G_OPT_R_INPUTS
-#%end
-#%option G_OPT_R_BASENAME_OUTPUT
-#% label: Name of input raster map(s)
-#% description: For Landsat 4-7, the raster maps should be the bands 1, 2, 3, 4, 5, and 7.
-#%end
import sys
import os
More information about the grass-commit
mailing list