This subpackage contains def to calculate sunrise/sunset
calculate the julian date from a python datetime object
convert Julian Day to centuries since J2000.0.
calculate the Geometric Mean Longitude of the Sun (in degrees)
calculate the Geometric Mean Anomaly of the Sun (in degrees)
calculate the eccentricity of earth’s orbit (unitless)
calculate the equation of center for the sun (in degrees)
calculate the true longitude of the sun (in degrees)
calculate the true anamoly of the sun (in degrees)
calculate the distance to the sun in AU (in degrees)
calculate the apparent longitude of the sun (in degrees)
calculate the mean obliquity of the ecliptic (in degrees)
calculate the corrected obliquity of the ecliptic (in degrees)
calculate the right ascension of the sun (in degrees)
calculate the declination of the sun (in degrees)
calculate the difference between true solar time and mean solar time (output: equation of time in minutes of time)
calculate the hour angle of the sun at sunrise for the latitude (in radians)
calculate sun azimuth and zenith angle
calculate time of solar noon the given day at the given location on earth (in minutes since 0 UTC)
calculate time of solar noon the given day at the given location on earth (in minutes)
calculate sunrise/sunset the given day at the given location on earth (in minutes since 0 UTC)
calculate sunrise/sunset the given day at the given location on earth (in minutes)
calculate terminator position and solar zenith angle for a given julian date-time within latitude/longitude limits note that for plotting only, basemap has a built-in terminator
Source: http://www.esrl.noaa.gov/gmd/grad/solcalc/ Translated to Python by Sebastien de Larquier
Calculate sun azimuth and zenith angle
Calculate the eccentricity of earth’s orbit (unitless)
Calculate the difference between true solar time and mean solar time (output: equation of time in minutes of time)
Calculate the Geometric Mean Anomaly of the Sun (in degrees)
Calculate the Geometric Mean Longitude of the Sun (in degrees)
Calculate the hour angle of the sun at sunrise for the latitude (in radians)
Calculate the mean obliquity of the ecliptic (in degrees)
Calculate the corrected obliquity of the ecliptic (in degrees)
Calculate time of solar noon the given day at the given location on earth (in minute)
Calculate time of solar noon the given day at the given location on earth (in minute since 0 UTC)
Calculate the apparent longitude of the sun (in degrees)
Calculate the equation of center for the sun (in degrees)
Calculate sunrise/sunset the given day at the given location on earth (in minutes)
Calculate sunrise/sunset the given day at the given location on earth (in minute since 0 UTC)
alias of utils.calcSun