[GRASS-SVN] r68858 - grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.theoretical
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jul 4 12:58:09 PDT 2016
Author: Giulia
Date: 2016-07-04 12:58:09 -0700 (Mon, 04 Jul 2016)
New Revision: 68858
Modified:
grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.theoretical/r.green.hydro.theoretical.py
Log:
r.green: small changes
Modified: grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.theoretical/r.green.hydro.theoretical.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.theoretical/r.green.hydro.theoretical.py 2016-07-04 13:48:40 UTC (rev 68857)
+++ grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.theoretical/r.green.hydro.theoretical.py 2016-07-04 19:58:09 UTC (rev 68858)
@@ -127,7 +127,7 @@
# inizialitation
#############################################################
pid = os.getpid()
- DEBUG = False
+ DEBUG = flags['d']
atexit.register(cleanup, pattern=("tmprgreen_%i*" % pid), debug=DEBUG)
#TOD_add the possibilities to have q_points
# required
@@ -154,7 +154,6 @@
# other_kind_turbine = options['other_kind_turbine']
# optional
- DEBUG = flags['d']
msgr = get_msgr()
# info = gcore.parse_command('g.region', flags='m')
@@ -201,7 +200,7 @@
basin.build_network(stream, dtm, basins_tot)
stream_n = raster2numpy(stream)
discharge_n = raster2numpy(discharge)
- #pdb.set_trace()
+ import ipdb; ipdb.set_trace()
basin.fill_basins(inputs, basins_tot, basins, dtm, discharge_n, stream_n)
###################################################################
More information about the grass-commit
mailing list