| 1 |
TODO |
| 2 |
|
| 3 |
------- |
| 4 |
Probably the sun position calculation should be replaced |
| 5 |
with |
| 6 |
|
| 7 |
G_calc_solar_position() |
| 8 |
|
| 9 |
currently used in r.sunmask. G_calc_solar_position() is based on |
| 10 |
solpos.c from NREL and very precise. |
| 11 |
|
| 12 |
MN 4/2001 |
| 13 |
|
| 14 |
#### |
| 15 |
Update |
| 16 |
https://grasswiki.osgeo.org/wiki/R.sun |
| 17 |
|
| 18 |
#### |
| 19 |
Fix https://trac.osgeo.org/grass/ticket/498 |
| 20 |
|
| 21 |
pseudo-data test-case |
| 22 |
https://trac.osgeo.org/grass/ticket/498#comment:22 |
| 23 |
#spearfish (further north than NC so more defined shadows) |
| 24 |
g.region -d |
| 25 |
r.mapcalc "undulates = (2 + sin( row() * 2 ) + cos( col() * 2 )) * 500" |
| 26 |
r.colors undulates color=bcyr |
| 27 |
nviz undulates |
| 28 |
|
| 29 |
DAY=355 |
| 30 |
time r.sun elevin=undulates day=$DAY step=0.05 \ |
| 31 |
beam_rad=rad_test.und.355.beam \ |
| 32 |
diff_rad=rad_test.und.355.diff \ |
| 33 |
refl_rad=rad_test.und.355.refl |