Mean longitude
#1033
Replies: 1 comment 2 replies
-
Here is the GitHub guide to quoting code: As you write a new question, or "Edit" an existing question like this one, you can click "Preview" to see ahead of time if GitHub understands which sections of your text should be formatted as code. Maybe you can click "Edit" and adjust your original text, to make the code format correctly? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,
Given that I believe that Skyfield always provides the correct and most accurate results,
I'm preparing a script for calculating the equation of time with Skyfield, using the mean longitude of the Sun.
I notice that, from the comparison with the formula provided by Jean Meeus, Astronomical Algorithms, second edition, there is a slight but significant difference with the value of "mean longitude", that for past dates taken as an example comes to a few arcseconds and for today's date reach 19' 57.7", bringing the equation of time calculated with Skyfield to an excess of 01m 19.85s (for today's date many sources report -8.08 seconds, approximating the Meeus formula, while with my routine I get -9m27s, that is more than 1 minute over.
I'm using something like this code:
for Meeus formula I input:
taw = (jde - 2451545)/ 365250 Lm = 280.4664567 + 360007.6982779 * taw + 0.03032028 * (taw**2) + (taw**3) / 49931 - (taw**4) / 15300 - (taw**5) / 2000000
where taw are Julian Millennials;
then both approaches use the Equation of time formula:
Et = Ld - 0.0057183 - rah*15 + dpsid * math.cos(math.degrees(i))
where
Definitely I get for today (2025, 1, 11, 20, 15) here (19:15 utc):
So, where am I wrong? Or what I'm missing? or Meeus is approximated or wrong?
Thank you so much in advance!
::
EDIT2: aligned and corrected some typos
Beta Was this translation helpful? Give feedback.
All reactions