[GRASS-SVN] r63695 - in grass/trunk: raster/r.sunhours scripts/d.shade

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 23 06:08:07 PST 2014


Author: neteler
Date: 2014-12-23 06:08:07 -0800 (Tue, 23 Dec 2014)
New Revision: 63695

Added:
   grass/trunk/raster/r.sunhours/r_sunhours.png
Modified:
   grass/trunk/raster/r.sunhours/r.sunhours.html
   grass/trunk/scripts/d.shade/d.shade.html
Log:
r.sunhours manual: example screenshot added

Modified: grass/trunk/raster/r.sunhours/r.sunhours.html
===================================================================
--- grass/trunk/raster/r.sunhours/r.sunhours.html	2014-12-22 23:38:31 UTC (rev 63694)
+++ grass/trunk/raster/r.sunhours/r.sunhours.html	2014-12-23 14:08:07 UTC (rev 63695)
@@ -24,13 +24,31 @@
 
 <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>
 
-Calculate photoperiod of day of year 1 (1st January) 2012
+<h3>Calculate map of photoperiod (insolation time)</h3>
+
+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>

Added: grass/trunk/raster/r.sunhours/r_sunhours.png
===================================================================
(Binary files differ)


Property changes on: grass/trunk/raster/r.sunhours/r_sunhours.png
___________________________________________________________________
Added: svn:mime-type
   + image/png

Modified: grass/trunk/scripts/d.shade/d.shade.html
===================================================================
--- grass/trunk/scripts/d.shade/d.shade.html	2014-12-22 23:38:31 UTC (rev 63694)
+++ grass/trunk/scripts/d.shade/d.shade.html	2014-12-23 14:08:07 UTC (rev 63695)
@@ -42,7 +42,7 @@
 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



More information about the grass-commit mailing list