utils.calcSun

Module: utils.calcSun

This subpackage contains def to calculate sunrise/sunset

This includes the following defs:

Source: http://www.esrl.noaa.gov/gmd/grad/solcalc/ Translated to Python by Sebastien de Larquier


utils.calcSun.calcAzEl(t, localtime, latitude, longitude, zone)[source]

Calculate sun azimuth and zenith angle

utils.calcSun.calcEccentricityEarthOrbit(t)[source]

Calculate the eccentricity of earth’s orbit (unitless)

utils.calcSun.calcEquationOfTime(t)[source]

Calculate the difference between true solar time and mean solar time (output: equation of time in minutes of time)

utils.calcSun.calcGeomMeanAnomalySun(t)[source]

Calculate the Geometric Mean Anomaly of the Sun (in degrees)

utils.calcSun.calcGeomMeanLongSun(t)[source]

Calculate the Geometric Mean Longitude of the Sun (in degrees)

utils.calcSun.calcHourAngleSunrise(lat, solarDec)[source]

Calculate the hour angle of the sun at sunrise for the latitude (in radians)

utils.calcSun.calcMeanObliquityOfEcliptic(t)[source]

Calculate the mean obliquity of the ecliptic (in degrees)

utils.calcSun.calcObliquityCorrection(t)[source]

Calculate the corrected obliquity of the ecliptic (in degrees)

utils.calcSun.calcSolNoon(jd, longitude, timezone, dst)[source]

Calculate time of solar noon the given day at the given location on earth (in minute)

utils.calcSun.calcSolNoonUTC(jd, longitude)[source]

Calculate time of solar noon the given day at the given location on earth (in minute since 0 UTC)

utils.calcSun.calcSunApparentLong(t)[source]

Calculate the apparent longitude of the sun (in degrees)

utils.calcSun.calcSunDeclination(t)[source]

Calculate the declination of the sun (in degrees)

utils.calcSun.calcSunEqOfCenter(t)[source]

Calculate the equation of center for the sun (in degrees)

utils.calcSun.calcSunRadVector(t)[source]

Calculate the distance to the sun in AU (in degrees)

utils.calcSun.calcSunRiseSet(jd, latitude, longitude, timezone, dst)[source]

Calculate sunrise/sunset the given day at the given location on earth (in minutes)

utils.calcSun.calcSunRiseSetUTC(jd, latitude, longitude)[source]

Calculate sunrise/sunset the given day at the given location on earth (in minute since 0 UTC)

utils.calcSun.calcSunRtAscension(t)[source]

Calculate the right ascension of the sun (in degrees)

utils.calcSun.calcSunTrueAnomaly(t)[source]

Calculate the true anamoly of the sun (in degrees)

utils.calcSun.calcSunTrueLong(t)[source]

Calculate the true longitude of the sun (in degrees)

utils.calcSun.calcTerminator(date, latitudes, longitudes)[source]

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

utils.calcSun.calcTimeJulianCent(jd)[source]

Convert Julian Day to centuries since J2000.0.

utils.calcSun.getJD(date)[source]

Calculate julian date for given day, month and year

utils.calcSun

alias of utils.calcSun

Previous topic

utils.geoPack

This Page