Преглед изворни кода

+ NC example

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51437 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler пре 13 година
родитељ
комит
1f032dc785
1 измењених фајлова са 23 додато и 1 уклоњено
  1. 23 1
      raster/r.sun/r.sun.html

+ 23 - 1
raster/r.sun/r.sun.html

@@ -236,7 +236,7 @@ memory_bytes = rows*cols*(IR*4 + horizonsteps + OR*4)
 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 @@ r.sun -s elevation.dem horizon=horangle horizonstep=30 aspin=aspect.dem \
           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>