Skip to content

rise/set times discrepancy 2 #146

Description

@valeriy-sokoloff

Today, I compared a bit longer set of Sun rise/transit/set times calculated by supernovas to USNO data and noticed another discrepancy pattern (event times are rounded to the nearest minute for convenience and converted to local time without accounting for DST):

Image

Failed sunset calculation (nan) for 2025-01-07, then ±4-minute difference in rise or set times for certain day sequences.

Ephemeris: d440s.bsp
Elevation angle: -0.26, novas_standard_refraction
Location: lat 39.74, lon -104.99
Leap seconds, DUT1, polar_dx, polar_dy: 0.0 (which I believe is negligible for 1-minute precision results)

Before each event calculation, the frame time is set to the previous event time.

When trying to calculate civil twilight (elevation -6.0), even more failed calculations (nan) occur.

A similar shift is observed for the Moon events as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions