README 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. r.sunmask can be used in two ways:
  2. a) define sun position:
  3. r.sunmask elev=dgm25 output=dgm25.shadow alt=47.394203 azim=138.604904
  4. b) define location, date, time
  5. r.sunmask -v el=dgm5 out=shadow year=1997 month=9 day=25 hour=11 minute=15 \
  6. sec=0 timezone=1 east=3570720 north=5766095
  7. or (using map center coordinates)
  8. r.sunmask -v el=dgm5 out=shadow year=1997 month=9 day=25 hour=11 minute=15 \
  9. sec=0 timezone=1
  10. Calculating sun position... (using solpos (V. 11 April 2001) from NREL)
  11. 1997.09.25, daynum 268, time: 11:15:00
  12. long: 10.030458, lat: 52.025555, timezone: 2.000000
  13. Solar position: sun azimuth 145.121445,
  14. sun angle above horz.(refraction corrected) 31.662413
  15. Sunrise time (without refraction): 07:16
  16. Sunset time (without refraction): 19:07
  17. Calculating shadows from DEM...
  18. --------------------------
  19. Since the solpos algorithm expects lat/long coordinates, the module
  20. transforms the local coordinates to lat/long on-the-fly
  21. --------------------------
  22. daylight savings: Rather than convert time to GMT, the solpos
  23. algorithm uses what is called Local Standard Time, which is generally
  24. defined politically as an offset from GMT. So the key is the offset from
  25. GMT, which the solpos Time Zone parameter. If the user specifies clock time
  26. (different for winter and summer), he/she would have to change the Time Zone
  27. parameter seasonally in r.sunmask (timezone parameter).
  28. --------------------------
  29. solpos questions can be directed to
  30. > Steve Wilcox (Stephen_Wilcox@nrel.gov)
  31. > National Renewable Energy Laboratory
  32. > 1617 Cole Boulevard, Golden, CO 80401-3393
  33. > voice: 1-303-275-4061; fax: 1-303-275-4675
  34. http://rredc.nrel.gov/solar/codes_algs/solpos/