Просмотр исходного кода

r.sunhours manual: example screenshot added

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63695 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 10 лет назад
Родитель
Сommit
81fd700de9

+ 20 - 2
raster/r.sunhours/r.sunhours.html

@@ -24,13 +24,31 @@ standard time (<em>-t</em> flag) and the solpos algorithm of NREL
 
 <h2>EXAMPLES</h2>
 
-Calculate sun's elevation angle map for 2010-10-11 at 14:00h solar time:
+<h3>Calculating a sun elevation angle map</h3>
+
+Calculate the sun elevation angle map for 2010-10-11 at 14:00h solar time:
+
 <div class="code"><pre>
+# set computational region to North Carolina state extent
+g.region n=318500 s=-16000 w=124000 e=963000 res=500 -p
 r.sunhours elevation=sun_elev year=2010 month=10 day=11 hour=14 minute=00
+
+# visualize
+d.mon wx0
+d.rast sun_elev 
+d.vect nc_state type=boundary
+d.legend sun_elev -s 
 </pre></div>
 <p>
+<center>
+<img src="r_sunhours.png" alt="Sun angle map (in degree) of NC, USA"><br>
+<i>Sun angle map (in degree) of North Carolina for the 2010-10-11 at 14:00h solar time</i>
+</center>
+
+<h3>Calculate map of photoperiod (insolation time)</h3>
+
+Calculate photoperiod of day of year 1 (1st January) 2012:
 
-Calculate photoperiod of day of year 1 (1st January) 2012
 <div class="code"><pre>
 r.sunhours -s sunhour=photoperiod_doy_001 year=2012 day=1
 </pre></div>

BIN
raster/r.sunhours/r_sunhours.png


+ 1 - 1
scripts/d.shade/d.shade.html

@@ -42,7 +42,7 @@ d.out.file dshade.png
 optipng -o5 dshade.png
 -->
 <center>
-<img src="dshadedmap.png" alt="Elevation with aspect shades">
+<img src="dshade.png" alt="Elevation with aspect shades">
 <p>
 Figure: A detail of raster created by applying shading effect of aspect
 to elevation raster map from North Carolina dataset elevation map