Pārlūkot izejas kodu

i.tasscap use standardized options (https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62981 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 gadi atpakaļ
vecāks
revīzija
e54cf72f4a
1 mainītis faili ar 7 papildinājumiem un 7 dzēšanām
  1. 7 7
      scripts/i.tasscap/i.tasscap.py

+ 7 - 7
scripts/i.tasscap/i.tasscap.py

@@ -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