r.sunhours.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <h2>DESCRIPTION</h2>
  2. <em>r.sunhours</em> calculates sun elevation and sun azimuth angles for
  3. the given time of day and each grid cell in the current region.
  4. Additionally, the photoperiod (sunshine hours) can be calculated.
  5. <p>
  6. Sun elevation, height, height angle, or solar altitude angle is the
  7. angle in degrees between the horizon and a line that points from the
  8. site towards the centre of the sun.
  9. <p>
  10. The sun azimuth angle is here defined as the azimuth angle in degrees
  11. of the sun from due north in a clockwise direction.
  12. <p>
  13. The time used here is defined such that 12:00 (high noon) is the time
  14. when the sun has reached its highest point in the sky at the current site,
  15. unless the <em>-t</em> flag is used in which case time is interpreted as
  16. Greenwich standard time.
  17. <p>
  18. If a <em>sunhour</em> output map is specified, the module calculates
  19. sunshine hours for the given day. This option requires both Greenwhich
  20. standard time (<em>-t</em> flag) and the solpos algorithm of NREL
  21. (<em>-s</em> flag).
  22. <h2>EXAMPLES</h2>
  23. Calculate sun's elevation angle map for 2010-10-11 at 14:00h solar time:
  24. <div class="code"><pre>
  25. r.sunhours elevation=sun_elev year=2010 month=10 day=11 hour=14 minute=00
  26. </pre></div>
  27. <p>
  28. Calculate photoperiod of day of year 1 (1st January) 2012
  29. <div class="code"><pre>
  30. r.sunhours -s sunhour=photoperiod_doy_001 year=2012 day=1
  31. </pre></div>
  32. <h2>Acknowledgements</h2>
  33. Acknowledgements: National Renewable Energy Laboratory for their
  34. <a href="http://rredc.nrel.gov/solar/codesandalgorithms/solpos/">SOLPOS 2.0</a> sun position
  35. algorithm.
  36. <h2>SEE ALSO</h2>
  37. <em>
  38. <a href="g.region.html">g.region</a>,
  39. <a href="r.sun.html">r.sun</a>,
  40. <a href="r.sunmask.html">r.sunmask</a>,
  41. </em>
  42. <h2>AUTHOR</h2>
  43. Markus Metz
  44. <p><i>Last changed: $Date$</i>