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

coefficient is incorrect in solarTransitJ() function #178

Open
IcedLife opened this issue Nov 18, 2024 · 0 comments
Open

coefficient is incorrect in solarTransitJ() function #178

IcedLife opened this issue Nov 18, 2024 · 0 comments

Comments

@IcedLife
Copy link

Was doing some testing for high latitude and the date where it has 2 sunset is off by one when compare to timeanddate.com and GML sunrise sunset date.

so after doing some digging to the website algorithm that code uses.

The solar transit approximation in J is using slightly off coefficient.

0.0069 should be 0.0068 for Earth which correspond to J2 in equation 35.

After updating the coefficient, the calculation for double sunset date is matching what is shown in timeanddate.com.

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

No branches or pull requests

1 participant