Преглед изворни кода

i.tasscap: use standardized options (https://trac.osgeo.org/grass/ticket/2409) - (merge https://trac.osgeo.org/grass/changeset/62981 from trunk)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62982 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa пре 10 година
родитељ
комит
b181dc4064
1 измењених фајлова са 7 додато и 7 уклоњено
  1. 7 7
      scripts/i.tasscap/i.tasscap.py

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

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