[GRASS-SVN] r72201 - grass-addons/grass7/raster/r.sentinel/r.sentinel.download

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 29 09:11:46 PST 2018


Author: martinl
Date: 2018-01-29 09:11:46 -0800 (Mon, 29 Jan 2018)
New Revision: 72201

Modified:
   grass-addons/grass7/raster/r.sentinel/r.sentinel.download/r.sentinel.download.py
Log:
r.sentinel.download: reorder options

Modified: grass-addons/grass7/raster/r.sentinel/r.sentinel.download/r.sentinel.download.py
===================================================================
--- grass-addons/grass7/raster/r.sentinel/r.sentinel.download/r.sentinel.download.py	2018-01-29 17:06:59 UTC (rev 72200)
+++ grass-addons/grass7/raster/r.sentinel/r.sentinel.download/r.sentinel.download.py	2018-01-29 17:11:46 UTC (rev 72201)
@@ -21,6 +21,28 @@
 #% keyword: sentinel
 #% keyword: download
 #%end
+#%option
+#% key: user
+#% type: string
+#% description: Username for connecting SciHub
+#% required: yes
+#%end
+#%option
+#% key: password
+#% type: string
+#% description: Password for connecting SciHub
+#% required: yes
+#%end
+#%option G_OPT_M_DIR
+#% key: output
+#% description: Name for output directory where to store downloaded Sentinel data
+#% required: no
+#%end
+#%option G_OPT_V_OUTPUT
+#% key: footprints
+#% description: Name for output vector map with footprints
+#% required: no
+#%end
 #%option G_OPT_V_MAP
 #% label: Name of input vector map to define Area of Interest (AOI)
 #% description: If not given than current computational extent is used
@@ -50,11 +72,6 @@
 #% answer: S2MSI1C
 #%end
 #%option
-#% key: limit
-#% type: integer
-#% description: Limit number of Sentinel products
-#%end
-#%option
 #% key: start
 #% type: string
 #% description: Start date ('YYYY-MM-DD')
@@ -65,28 +82,11 @@
 #% description: End date ('YYYY-MM-DD')
 #%end
 #%option
-#% key: user
-#% type: string
-#% description: Username for connecting SciHub
-#% required: yes
+#% key: limit
+#% type: integer
+#% description: Limit number of Sentinel products
 #%end
 #%option
-#% key: password
-#% type: string
-#% description: Password for connecting SciHub
-#% required: yes
-#%end
-#%option G_OPT_M_DIR
-#% key: output
-#% description: Name for output directory where to store downloaded Sentinel data
-#% required: no
-#%end
-#%option G_OPT_V_OUTPUT
-#% key: footprints
-#% description: Name for output vector map with footprints
-#% required: no
-#%end
-#%option
 #% key: sort
 #% description: Sort by values in given order
 #% multiple: yes



More information about the grass-commit mailing list