[GRASS-SVN] r73606 - grass-addons/grass7/imagery/i.modis/i.modis.import
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 24 00:12:51 PDT 2018
Author: martinl
Date: 2018-10-24 00:12:51 -0700 (Wed, 24 Oct 2018)
New Revision: 73606
Modified:
grass-addons/grass7/imagery/i.modis/i.modis.import/i.modis.import.py
Log:
i.modis.import: define guisections
Modified: grass-addons/grass7/imagery/i.modis/i.modis.import/i.modis.import.py
===================================================================
--- grass-addons/grass7/imagery/i.modis/i.modis.import/i.modis.import.py 2018-10-23 15:45:55 UTC (rev 73605)
+++ grass-addons/grass7/imagery/i.modis/i.modis.import/i.modis.import.py 2018-10-24 07:12:51 UTC (rev 73606)
@@ -31,43 +31,48 @@
#%flag
#% key: m
#% description: Create a mosaic for each date
+#% guisection: Import settings
#%end
#%flag
#% key: t
#% description: Preserve temporary files (TIF and HDF mosaic)
+#% guisection: Import settings
#%end
#%flag
#% key: q
#% description: Ignore the QA map layer
+#% guisection: Import settings
#%end
#%flag
#% key: w
#% description: Create a text file to use with t.register
+#% guisection: Temporal
#%end
#%flag
#% key: a
#% description: Append new file to existing file to use with t.register
+#% guisection: Temporal
#%end
#%flag
#% key: l
#% description: List more info about the supported MODIS products
+#% guisection: Print
#%end
#%flag
#% key: g
#% description: Print output message in shell script style
+#% guisection: Print
#%end
-#%option
-#% key: input
-#% type: string
-#% key_desc: path
+#%option G_OPT_F_BIN_INPUT
#% description: Full path to single HDF file
-#% gisprompt: old,file,input
#% required: no
+#% guisection: Input
#%end
#%option G_OPT_F_INPUT
#% key: files
#% description: Full path to file with list of HDF files
#% required: no
+#% guisection: Input
#%end
#%option
#% key: method
@@ -77,14 +82,13 @@
#% options: nearest, bilinear, cubic
#% answer: nearest
#% required: no
+#% guisection: Import settings
#%end
-#%option
+#%option G_OPT_M_DIR
#% key: mrtpath
-#% type: string
-#% key_desc: path
#% description: Full path to MRT directory
-#% gisprompt: old,dir,input
#% required: no
+#% guisection: Input
#%end
#%option
#% key: spectral
@@ -92,11 +96,13 @@
#% key_desc: spectral subset
#% description: String of the form "( 1 0 1 0 )" to choose a subset of HDF layers to import
#% required: no
+#% guisection: Import settings
#%end
#%option G_OPT_F_OUTPUT
#% key: outfile
#% description: Full path to output file to use with t.register
#% required: no
+#% guisection: Temporal
#%end
import os
More information about the grass-commit
mailing list