[GRASS-SVN] r68176 - grass-addons/grass7/raster/r.futures/r.futures.parallelpga
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 28 19:43:56 PDT 2016
Author: annakrat
Date: 2016-03-28 19:43:55 -0700 (Mon, 28 Mar 2016)
New Revision: 68176
Modified:
grass-addons/grass7/raster/r.futures/r.futures.parallelpga/r.futures.parallelpga.py
Log:
r.futures: fix module keywords and message
Modified: grass-addons/grass7/raster/r.futures/r.futures.parallelpga/r.futures.parallelpga.py
===================================================================
--- grass-addons/grass7/raster/r.futures/r.futures.parallelpga/r.futures.parallelpga.py 2016-03-28 21:23:39 UTC (rev 68175)
+++ grass-addons/grass7/raster/r.futures/r.futures.parallelpga/r.futures.parallelpga.py 2016-03-29 02:43:55 UTC (rev 68176)
@@ -22,7 +22,11 @@
#%module
#% label: Simulates landuse change using FUTURES (r.futures.pga) on multiple CPUs in parallel.
#% description: Module uses Patch-Growing Algorithm (PGA) to simulate urban-rural landscape structure development.
-#% keyword: raster, patch growing, urban, landscape, modeling
+#% keyword: raster
+#% keyword: patch growing
+#% keyword: urban
+#% keyword: landscape
+#% keyword: modeling
#%end
#%flag
#% key: d
@@ -316,9 +320,9 @@
gscript.fatal(_("Raster map <{r}> already exists."
" To overwrite, use the --overwrite flag").format(r=options['output'] + '_run_1'))
global TMP_RASTERS
- gscript.message(_("Splitting subregions"))
cats = []
if tosplit:
+ gscript.message(_("Splitting subregions"))
cats = gscript.read_command('r.stats', flags='n', input=subregions).strip().splitlines()
if len(cats) < 2:
gscript.fatal(_("Not enough subregions to split computation. Do not use -d flag."))
More information about the grass-commit
mailing list