[GRASS-SVN] r53014 - grass/trunk/imagery/i.sunhours
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 31 03:42:58 PDT 2012
Author: neteler
Date: 2012-08-31 03:42:58 -0700 (Fri, 31 Aug 2012)
New Revision: 53014
Modified:
grass/trunk/imagery/i.sunhours/i.sunhours.html
Log:
+example
Modified: grass/trunk/imagery/i.sunhours/i.sunhours.html
===================================================================
--- grass/trunk/imagery/i.sunhours/i.sunhours.html 2012-08-31 10:35:46 UTC (rev 53013)
+++ grass/trunk/imagery/i.sunhours/i.sunhours.html 2012-08-31 10:42:58 UTC (rev 53014)
@@ -9,15 +9,25 @@
why isn't this just a single integer value?
-->
-<p>The latitude input map can be created with the <em>i.latlong</em>
+<p>
+The latitude input map can be created with the <em>i.latlong</em>
module, or with <em>r.mapcalc</em>'s <tt>y()</tt> function in a
latitude-longitude location (possibly reprojected with <em>r.proj</em>.
+<h2>EXAMPLE</h2>
+
+<div class="code"><pre>
+g.region rast=elevation -p
+r.mapcalc "doy_180 = 180"
+i.sunhours dayofyear=doy_180 latitude=latitude output=photoperiod_doy_180
+</pre></div>
+
<h2>REFERENCES</h2>
Iqbal, M., 1983. An Introduction to Solar Radiation. Iqbal, M.,
Editorial: Academic Press. Toronto, Canada.
-<p>Parodi, G., 2000. AVHRR Hydrological Analysis System. Algorithms
+<p>
+Parodi, G., 2000. AVHRR Hydrological Analysis System. Algorithms
and Theory, Version 1.0. WRES - ITC, The Netherlands.
<h2>SEE ALSO</h2>
More information about the grass-commit
mailing list