[GRASS-SVN] r71839 - grass/trunk/temporal/t.rast.accdetect
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Nov 25 19:19:50 PST 2017
Author: wenzeslaus
Date: 2017-11-25 19:19:50 -0800 (Sat, 25 Nov 2017)
New Revision: 71839
Modified:
grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py
Log:
t.rast.accdetect: replace print by debug
Modified: grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py
===================================================================
--- grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py 2017-11-26 03:17:27 UTC (rev 71838)
+++ grass/trunk/temporal/t.rast.accdetect/t.rast.accdetect.py 2017-11-26 03:19:50 UTC (rev 71839)
@@ -302,7 +302,7 @@
input_maps = input_strds.get_registered_maps_as_objects(where=where,
dbif=dbif)
- print len(input_maps)
+ grass.debug(len(input_maps))
input_topo = tgis.SpatioTemporalTopologyBuilder()
input_topo.build(input_maps, input_maps)
@@ -402,7 +402,7 @@
expression = "%s = if(isnull(%s), %s, %s)"%(indicator_map_name,
prev_map, subexpr1,
subexpr3)
- print expression
+ grass.debug(expression)
grass.mapcalc(expression, overwrite=True)
map_start, map_end = map.get_temporal_extent_as_tuple()
@@ -566,7 +566,7 @@
map.get_name(),
min, map.get_name(),
max, days)
- print expression
+ grass.debug(expression)
grass.mapcalc(expression, overwrite=True)
map_start, map_end = map.get_temporal_extent_as_tuple()
More information about the grass-commit
mailing list