The module performs sunset/sunrise checks and refraction correction for sun position calculation. Local coordinate systems are internally transformed to latitude/longitude for the SOLPOS algorithm. The elevation is not considered in the sunset/sunrise calculations.
Note: In latitude/longitude locations the position coordinates pair (east/west) has to be specified in decimal degree (not D:M:S). If not specified, the map center's coordinates will be used. Also g.region -l displays the map center's coordinates.
Note for module usage with -g flag and calculations close to sunset/sunrise:
[...] sunangleabovehorizont=0.434240 sunrise=07:59:19 sunset=16:25:17 Time (07:59:02) is before sunrise (07:59:19)! WARNING: Nothing to calculate. Please verify settings. No map calculation requested. Finished.In above calculation appears to be a mistake as the program indicates that we are before sunrise while the sun angle above horizon is already positive. The reason is that sun angle above horizon is calculated with correction for atmosphere refraction while sunrise and sunset are calculated without correction for atmosphere refraction. The output without -g flag contains related indications.
Last changed: $Date: 2008-05-16 21:09:06 +0200 (Fri, 16 May 2008) $
Main index - raster index - Full index
© 2003-2010 GRASS Development Team