[Python-modules-commits] [python-pysolar] 33/42: Changed dates for ephermeris to 2013 to get it to work!
Wolfgang Borgert
debacle at moszumanska.debian.org
Fri Oct 3 23:37:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag 0.6
in repository python-pysolar.
commit 3c0b85609342b8a3c3f87185daf650670eaddb88
Author: Robin Wilson <robin at rtwilson.com>
Date: Sat Apr 19 12:15:22 2014 +0000
Changed dates for ephermeris to 2013 to get it to work!
---
Pysolar/query_usno.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Pysolar/query_usno.py b/Pysolar/query_usno.py
index 89f15d1..0b4f676 100644
--- a/Pysolar/query_usno.py
+++ b/Pysolar/query_usno.py
@@ -141,7 +141,7 @@ def GatherRandomEphemeris():
latitude = random.randrange(-90, 90)
longitude = random.randrange(0, 360)
elevation = 0.0
- t = datetime.datetime(random.randrange(2012,2014), random.randrange(1, 13), random.randrange(1, 28), random.randrange(0, 24), random.randrange(0, 60), random.randrange(0,60))
+ t = datetime.datetime(random.randrange(2013,2014), random.randrange(1, 13), random.randrange(1, 28), random.randrange(0, 24), random.randrange(0, 60), random.randrange(0,60))
query = Ephemeris(t, latitude, longitude, elevation)
PrintEphemerisDatum(query)
d = RequestEphemerisData(query)
--
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