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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 16 05:13:45 EST 2008


Author: neteler
Date: 2008-11-16 05:13:45 -0500 (Sun, 16 Nov 2008)
New Revision: 34328

Modified:
   grass-addons/raster/r.sun_horizon/r.sun2/description.html
Log:
Example fixes

Modified: grass-addons/raster/r.sun_horizon/r.sun2/description.html
===================================================================
--- grass-addons/raster/r.sun_horizon/r.sun2/description.html	2008-11-16 09:19:53 UTC (rev 34327)
+++ grass-addons/raster/r.sun_horizon/r.sun2/description.html	2008-11-16 10:13:45 UTC (rev 34328)
@@ -190,17 +190,20 @@
 
 <h3>Example</h3>
 
-Spearfish example (without considering cast shadows):
+Spearfish example (considering also cast shadows):
 <div class="code"><pre>
-g.region rast=elevation.dem -p
+g.region rast=elevation.10m -p
 
 # 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
+r.horizon elevin=elevation.10m step=30 bufferzone=200 horizon=horangle dist=0.7 maxdistance=2000
 
+# slope + aspect
+r.slope.aspect elevation=elevation.10m aspect=aspect.10m slope=slope.10m
+
 # 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
+r.sun2 -s elevation.10m horizon=horangle horizonstep=30 aspin=aspect.10m \
+          slopein=slope.10m glob_rad=global_rad day=180 time=14
 </pre></div>
 
 <h2>SEE ALSO</h2>



More information about the grass-commit mailing list