[Python-modules-commits] [python-pysolar] 02/10: Added doc string to GetJulianEphemerisDay to explain delta_seconds. Really just trying to get used to git.
Wolfgang Borgert
debacle at moszumanska.debian.org
Fri Oct 3 23:36:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to annotated tag 0.2.1
in repository python-pysolar.
commit 577fbb85f6f171cb669d9e4036940e1a1a8a8691
Author: Brandon Stafford <brandon at farb.(none)>
Date: Sat Mar 1 20:37:42 2008 -0500
Added doc string to GetJulianEphemerisDay to explain delta_seconds. Really just trying to get used to git.
---
solar.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/solar.py b/solar.py
index e23aa6a..a1a41a0 100644
--- a/solar.py
+++ b/solar.py
@@ -188,6 +188,9 @@ def GetJulianDay(utc_datetime): # based on NREL/TP-560-34302 by Andreas and Reda
return julian_day + gregorian_offset # after October 5, 1852
def GetJulianEphemerisDay(julian_day, delta_seconds):
+ """delta_seconds is value referred to by astronomers as Delta-T, defined as the difference between
+ Dynamical Time (TD) and Universal Time (UT). In 2007, it's around 65 seconds.
+ A list of values for Delta-T can be found here: ftp://maia.usno.navy.mil/ser7/deltat.data"""
return julian_day + (delta_seconds / 86400.0)
def GetJulianEphemerisMillenium(julian_ephemeris_century):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pysolar.git
More information about the Python-modules-commits
mailing list