[GRASS-SVN] r51356 - grass-addons/grass6/raster/r.basin
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 10 12:10:30 EDT 2012
Author: madi
Date: 2012-04-10 09:10:30 -0700 (Tue, 10 Apr 2012)
New Revision: 51356
Modified:
grass-addons/grass6/raster/r.basin/r.basin.py
Log:
clean up
Modified: grass-addons/grass6/raster/r.basin/r.basin.py
===================================================================
--- grass-addons/grass6/raster/r.basin/r.basin.py 2012-04-10 13:49:01 UTC (rev 51355)
+++ grass-addons/grass6/raster/r.basin/r.basin.py 2012-04-10 16:10:30 UTC (rev 51356)
@@ -330,10 +330,6 @@
overwrite = True)
baricenter_slope_baricenter = baricenter_slope_baricenter.split()
mean_slope = baricenter_slope_baricenter[28]
- baricenter_aspect_baricenter = grass.read_command('r.volume', data = r_aspect,
- clump = r_basin )
- baricenter_aspect_baricenter = baricenter_aspect_baricenter.split()
- basin_average_aspect = baricenter_aspect_baricenter[28]
# Rectangle containing basin
basin_east = baricenter_slope_baricenter[31]
@@ -539,7 +535,6 @@
parametri_bacino = {}
parametri_bacino["mean_slope"] = float(mean_slope)
parametri_bacino["mean_elev"] = float(mean_elev)
- parametri_bacino["basin_average_aspect"] = float(basin_average_aspect)
parametri_bacino["basin_east"] = float(basin_east)
parametri_bacino["basin_north"] = float(basin_north)
parametri_bacino["basin_resolution"] = float(basin_resolution)
More information about the grass-commit
mailing list