Skip to content

Issue with sunrise and sunset calculations #202

@tjryankeogh

Description

@tjryankeogh

There is an issue in the calculation of sunrise and sunset.

For some longitudes >~70E the sunrise is later than sunset.

Example data:

'2021-03-06'
lat = 20.2
lon = 154.7

sunrise = '2021-03-06T19:56:00.000000'
sunset = '2021-03-06T07:47:00.000000'

If we change lon to 65E then there is no issue:

sunrise = '2021-03-06T01:57:00.000000'
sunset = '2021-03-06T13:47:00.000000'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions