Recent content by dwaynie
-
D
Graduate Failure to calculate equation of time and declination of the sun
I realized I forgot to convert my sun's mean longitude back to degrees before calculating the equation of time. Now I'm back to being just a month off. 1) Failure: test_equation_of_time(TestSolarCalculations): Expected 2011-10-01 10:23:00 UTC, not 2011-10-28 10:59:31 UTC. 2) Failure...- dwaynie
- Post #5
- Forum: Astronomy and Astrophysics
-
D
Graduate Failure to calculate equation of time and declination of the sun
Cool! So I added a degrees to radians converter. But whereas my declination of the sun is getting really close, my equation of time has gotten way off by 10 months! 1) Failure: test_equation_of_time(TestSolarCalculations): Expected 2011-10-01 10:23:00 UTC, not 2011-01-06 01:08:11 UTC. 2)...- dwaynie
- Post #4
- Forum: Astronomy and Astrophysics
-
D
Graduate Failure to calculate equation of time and declination of the sun
Getting closer, still one month off though: 1) Failure: test_equation_of_time(TestSolarCalculations): Expected 2011-10-01 10:23:00 UTC, not 2011-10-28 17:02:35 UTC. 2) Failure: test_suns_declination(TestSolarCalculations): Expected -3.18, not 1.380604820284565.- dwaynie
- Post #2
- Forum: Astronomy and Astrophysics
-
D
Graduate Failure to calculate equation of time and declination of the sun
Calculating the equation of time and the declination of the sun Hi, I'm trying to calculate the equation of time and the declination of the sun in the prettiest way possible: https://gist.github.com/1278755" But right now I'm getting some unexpected values: 1) Failure...- dwaynie
- Thread
- Declination Failure Sun The sun Time
- Replies: 4
- Forum: Astronomy and Astrophysics
-
D
Graduate Need help understanding U.S. Naval Observatory's messed up algorithm
Cool - thanks man! As for example calculations, I ended up using this online calculator: http://www.esrl.noaa.gov/gmd/grad/solcalc/ --Dwayne- dwaynie
- Post #8
- Forum: Astronomy and Astrophysics
-
D
Graduate Need help understanding U.S. Naval Observatory's messed up algorithm
Cool - thanks man! As for example calculations, I ended up using this online calculator: http://www.esrl.noaa.gov/gmd/grad/solcalc/ --Dwayne- dwaynie
- Post #7
- Forum: Astronomy and Astrophysics
-
D
Graduate Need help understanding U.S. Naval Observatory's messed up algorithm
Much obliged! Do you know of any example calculations of the equation of time and the declination of the sun? I got to test my code with some real results to make sure it's working right. Also, is it possible to make this algorithm even more accurate? Maybe somebody's running some sort of live...- dwaynie
- Post #5
- Forum: Astronomy and Astrophysics
-
D
Graduate Need help understanding U.S. Naval Observatory's messed up algorithm
Man! I can't believe you did it. Thanks a lot! I was able to piece together this: https://gist.github.com/1278755" I hope it's all correct? The unladen swallow part wasn't me though :) It was my Japanese friend, much respect to him! And to you. You did something Navy.mil couldn't. That's...- dwaynie
- Post #3
- Forum: Astronomy and Astrophysics
-
D
Graduate Need help understanding U.S. Naval Observatory's messed up algorithm
Hello! I'm trying to calculate the equation of time and the declination of the sun based on the U.S. Naval Observatory's algorithm: http://aa.usno.navy.mil/faq/docs/SunApprox.php" But not the U.S. Naval Obseravtory, or any of the astronomers I've tried to contact, has been eager to help me...- dwaynie
- Thread
- Algorithm naval
- Replies: 7
- Forum: Astronomy and Astrophysics