[GRASS-SVN] r62377 - in grass/trunk/raster: r.horizon r.sun

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Oct 24 08:04:17 PDT 2014


Author: neteler
Date: 2014-10-24 08:04:17 -0700 (Fri, 24 Oct 2014)
New Revision: 62377

Modified:
   grass/trunk/raster/r.horizon/r.horizon.html
   grass/trunk/raster/r.sun/r.sun.html
Log:
manual cosmetics

Modified: grass/trunk/raster/r.horizon/r.horizon.html
===================================================================
--- grass/trunk/raster/r.horizon/r.horizon.html	2014-10-24 12:56:45 UTC (rev 62376)
+++ grass/trunk/raster/r.horizon/r.horizon.html	2014-10-24 15:04:17 UTC (rev 62377)
@@ -138,29 +138,40 @@
 
 <h3>Single point mode</h3>
 
-Single point mode (output of horizon angles CCW from East):
+<b>Example 1</b>: determine horizon angle in 225 degree direction (output
+of horizon angles CCW from East):
+
 <div class="code"><pre>
-# determine horizon angle in 225 degree direction:
+g.region rast=elevation -p
 r.horizon elevation=elevation direction=215 step=0 bufferzone=200 \
     coordinate=638871.6,223384.4 maxdistance=5000
+</pre></div>
+<p>
+<b>Example 2</b>: determine horizon values starting at 90 deg (North), 
+step size of 5 deg, saving result as CSV file:
 
-# determine horizon values starting at 90 deg (North), step size of 5 deg:
-# save result in CSV file
+<div class="code"><pre>
 r.horizon elevation=elevation direction=90 step=5 bufferzone=200 \
     coordinate=638871.6,223384.4 maxdistance=5000 output=horizon.csv
+</pre></div>
 
-# test point near high way intersection
+<p>
+<b>Example 3</b>: test point near highway intersection, saving result
+as CSV file for plotting the horizon around the highway intersection:
+
+<div class="code"><pre>
 g.region n=223540 s=220820 w=634650 e=638780 res=10 -p
 r.horizon elevation=elevation direction=0 step=5 bufferzone=200 \
     coordinate=636483.54,222176.25 maxdistance=5000 -d output=horizon.csv
 </pre></div>
 
+<center>
 <img src="rhorizon_shaded_dem_point.png"><br>
 Test point near high way intersection (North Carolina sample dataset)
 <p>
 <img src="rhorizon_singlepoint_plot.png"><br>
 Horizon angles for test point (CCW from East)
-<p>
+</center>
 
 <h3>Raster map mode</h3>
 
@@ -173,14 +184,6 @@
 </pre></div>
 
 
-<h2>SEE ALSO</h2>
-
-<em>
-<a href="r.sun.html">r.sun</a>,
-<a href="r.sunmask.html">r.sunmask</a>,
-<a href="r.viewshed.html">r.viewshed</a></em>
-
-
 <h2>REFERENCES</h2>
 <p>Hofierka J., 1997. Direct solar radiation modelling within an
 open GIS environment. Proceedings of JEC-GI'97 conference in Vienna,
@@ -201,7 +204,14 @@
 Photovoltaic Assessments. <a href="http://www.blackwellpublishing.com/toc.asp?ref=1361-1682">Transactions
 in GIS</a>, 8(2), 175-190
 
+<h2>SEE ALSO</h2>
 
+<em>
+<a href="r.sun.html">r.sun</a>,
+<a href="r.sunmask.html">r.sunmask</a>,
+<a href="r.viewshed.html">r.viewshed</a>
+</em>
+
 <h2>AUTHORS</h2>
 <p>Thomas Huld, Joint Research Centre of
 the European Commission, Ispra, Italy 

Modified: grass/trunk/raster/r.sun/r.sun.html
===================================================================
--- grass/trunk/raster/r.sun/r.sun.html	2014-10-24 12:56:45 UTC (rev 62376)
+++ grass/trunk/raster/r.sun/r.sun.html	2014-10-24 15:04:17 UTC (rev 62377)
@@ -264,13 +264,14 @@
 # slope + aspect
 r.slope.aspect elevation=elevation aspect=aspect.dem slope=slope.dem
 
-# calculate global radiation for day 180 at 14:00hrs, using r.horizon output
+# calculate global radiation for day 180 at 2p.m., using r.horizon output
 r.sun elevation=elevation horizon_basename=horangle horizon_step=30 \
       aspect=aspect.dem slope=slope.dem glob_rad=global_rad day=180 time=14
+# result: output global (total) irradiance/irradiation [W.m-2] for given day/time
+r.univar global_rad
 </pre></div>
 
 <p>
-
 Calculation of the integrated daily irradiation for a region in North-Carolina
 for a given day of the year at 30m resolution. Here day 172 (i.e., 21 June
 in non-leap years):



More information about the grass-commit mailing list