Skip to content

coefficient is incorrect in solarTransitJ() function #178

Open
@IcedLife

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions