[GRASS-SVN] r70010 - grass-addons/grass7/raster/r.green/r.green.hydro/libhydro
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 5 13:46:24 PST 2016
Author: Giulia
Date: 2016-12-05 13:46:24 -0800 (Mon, 05 Dec 2016)
New Revision: 70010
Modified:
grass-addons/grass7/raster/r.green/r.green.hydro/libhydro/optimal.py
Log:
r.green:change parameter in the recursive function
Modified: grass-addons/grass7/raster/r.green/r.green.hydro/libhydro/optimal.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.hydro/libhydro/optimal.py 2016-12-05 21:45:26 UTC (rev 70009)
+++ grass-addons/grass7/raster/r.green/r.green.hydro/libhydro/optimal.py 2016-12-05 21:46:24 UTC (rev 70010)
@@ -197,8 +197,6 @@
# we should avoid to take discharge in another branch
#import ipdb; ipdb.set_trace()
if len(h) > 3:
- if line.cat==100:
- import ipdb; ipdb.set_trace()
h_diff = np.array(h[0: -2])-np.array(h[1: -1])
if h_diff.sum() < 0:
q = q[::-1]
More information about the grass-commit
mailing list