[GRASS-SVN] r33999 - grass-addons/raster/r.sun_horizon/r.sun2

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 24 06:03:38 EDT 2008


Author: neteler
Date: 2008-10-24 06:03:38 -0400 (Fri, 24 Oct 2008)
New Revision: 33999

Modified:
   grass-addons/raster/r.sun_horizon/r.sun2/description.html
Log:
use bufferzone instead of unsymmetric e_buff; complete example

Modified: grass-addons/raster/r.sun_horizon/r.sun2/description.html
===================================================================
--- grass-addons/raster/r.sun_horizon/r.sun2/description.html	2008-10-24 08:14:01 UTC (rev 33998)
+++ grass-addons/raster/r.sun_horizon/r.sun2/description.html	2008-10-24 10:03:38 UTC (rev 33999)
@@ -194,9 +194,12 @@
 <div class="code"><pre>
 g.region rast=elevation.dem -p
 
-# calculate local horizons
-r.horizon elevation.dem step=30 e_buff=20 horizon=horangle dist=0.7 maxdistance=4000
+# calculate horizons
+# (we put a bufferzone of 10% of maxdistance around the study area)
+r.horizon elevin=DEM step=30 bufferzone=200 horizon=horangle dist=0.7 maxdistance=2000
+
 # calculate global radiation for day 180 at 14:00hs
+r.slope.aspect elevation=elevation.dem aspect=aspect slope=slope
 r.sun2 -s elevation.dem horizon=horangle horizonstep=30 aspin=aspect slopein=slope glob_rad=global_rad day=180 time=14
 </pre></div>
 



More information about the grass-commit mailing list