[GRASS-SVN] r66342 - grass/branches/releasebranch_7_0/temporal/t.rast.series

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 26 16:25:00 PDT 2015


Author: neteler
Date: 2015-09-26 16:25:00 -0700 (Sat, 26 Sep 2015)
New Revision: 66342

Modified:
   grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.py
Log:
temporal modules: Fixed usage of the 'z' flag; inform user then -z flag is switched on (much slower) (trunk, r66319 + r66341)

Modified: grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.py
===================================================================
--- grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.py	2015-09-26 23:23:29 UTC (rev 66341)
+++ grass/branches/releasebranch_7_0/temporal/t.rast.series/t.rast.series.py	2015-09-26 23:25:00 UTC (rev 66342)
@@ -99,7 +99,10 @@
 
         file.close()
 
-        flag = "z"
+        flag = ""
+        if len(rows) > 1000:
+            grass.warning(_("Processing over 1000 maps: activating -z flag of r.series which slows down processing"))
+            flag += "z"
         if nulls:
             flag += "n"
 



More information about the grass-commit mailing list