Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ThetaG_JD calculation #2

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

DanielMorsing
Copy link
Contributor

The ThetaG_JD conversion has a step that converts from Julian date
to UT1. This involves taking the fractional part of the Julian
date. Instead of taking the fractional component, the calculation
would be fixed at 0.5.

Fix by using math.Modf

The ThetaG_JD conversion has a step that converts from Julian date
to UT1. This involves taking the fractional part of the Julian
date. Instead of taking the fractional component, the calculation
would be fixed at 0.5.

Fix by using math.Modf
@joshuaferrara
Copy link
Owner

Awesome, thanks so much for this fix!

@joshuaferrara joshuaferrara merged commit c477597 into joshuaferrara:master Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants