[GRASS-SVN] r62981 - grass/trunk/scripts/i.tasscap

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 01:47:35 PST 2014


Author: martinl
Date: 2014-11-26 01:47:35 -0800 (Wed, 26 Nov 2014)
New Revision: 62981

Modified:
   grass/trunk/scripts/i.tasscap/i.tasscap.py
Log:
i.tasscap use standardized options (#2409)

Modified: grass/trunk/scripts/i.tasscap/i.tasscap.py
===================================================================
--- grass/trunk/scripts/i.tasscap/i.tasscap.py	2014-11-26 09:47:04 UTC (rev 62980)
+++ grass/trunk/scripts/i.tasscap/i.tasscap.py	2014-11-26 09:47:35 UTC (rev 62981)
@@ -48,8 +48,14 @@
 #% keywords: MODIS
 #% 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
@@ -57,12 +63,6 @@
 #% options: landsat4_tm,landsat5_tm,landsat7_etm,modis
 #% 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;modis;Use transformation rules for MODIS
 #%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