[GRASS-SVN] r51436 - grass/branches/develbranch_6/raster/r.sun2

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 14 03:25:58 EDT 2012


Author: neteler
Date: 2012-04-14 00:25:58 -0700 (Sat, 14 Apr 2012)
New Revision: 51436

Modified:
   grass/branches/develbranch_6/raster/r.sun2/description.html
Log:
+ NC example

Modified: grass/branches/develbranch_6/raster/r.sun2/description.html
===================================================================
--- grass/branches/develbranch_6/raster/r.sun2/description.html	2012-04-14 07:23:55 UTC (rev 51435)
+++ grass/branches/develbranch_6/raster/r.sun2/description.html	2012-04-14 07:25:58 UTC (rev 51436)
@@ -249,7 +249,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>
@@ -267,6 +267,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