[GRASS-SVN] r51437 - grass/trunk/raster/r.sun

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 14 03:26:35 EDT 2012


Author: neteler
Date: 2012-04-14 00:26:35 -0700 (Sat, 14 Apr 2012)
New Revision: 51437

Modified:
   grass/trunk/raster/r.sun/r.sun.html
Log:
+ NC example

Modified: grass/trunk/raster/r.sun/r.sun.html
===================================================================
--- grass/trunk/raster/r.sun/r.sun.html	2012-04-14 07:25:58 UTC (rev 51436)
+++ grass/trunk/raster/r.sun/r.sun.html	2012-04-14 07:26:35 UTC (rev 51437)
@@ -236,7 +236,7 @@
 memory_bytes = rows*cols*((IR*4+horizonsteps)/numpartitions  + OR*4)
 </pre></div>
 
-<h3>Example</h3>
+<h2>EXAMPLES</h2>
 
 Spearfish example (considering also cast shadows):
 <div class="code"><pre>
@@ -254,6 +254,28 @@
           slopein=slope.dem glob_rad=global_rad day=180 time=14
 </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):
+
+<div class="code"><pre>
+g.region rast=elev_ned_30m -p
+
+# considering cast shadows (-s)
+r.sun -s elev_ned_30m lin=2.5 alb=0.2 day=172 \
+      beam_rad=b172 diff_rad=d172 \
+      refl_rad=r172 insol_time=it172
+
+d.mon x0
+# show irradiation raster map [Wh.m-2.day-1]
+d.rast.leg b172
+# show insolation time raster map [h]
+d.rast.leg it172
+</pre></div>
+
+
 <h2>SEE ALSO</h2>
 
 <em>



More information about the grass-commit mailing list