-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Not really an issue, but I have code in native Julia for the sun position at given geodetic coordinates and time, returning zenith angle and azimuth. We use this to calculate the sun position relative to the satellite. It is quite fast. I never got around to put this into a package, but if you think it might fit, I would try to come up with a pull request for the SatelliteToolbox?
Some more details:
Functions for calculating the Sun's position described in
Roberto Grena (2012), Five new algorithms for the computation of sun position
from 2010 to 2110, Solar Energy, 86(5):1323–1337, doi:10.1016/j.solener.2012.01.024.
URLs:
http://adsabs.harvard.edu/abs/2012SoEn...86.1323G
The Julia code was transcribed from C++ obtained at
http://www.solaritaly.enea.it/StrSunPosition/SunPositionEn.php
by Stephan Buchert, Swedish Institute of Space Physics, [email protected]
Examples for usage:
zenith,azimuth,rightAscension,declination,hourAngle =
sunpos(...