Skip to content

Incorrect refraction elevation cutoff in ephemeris solar position algorithm #2323

Open
@AdamRJensen

Description

The refraction correction used in the ephemeris solar position algorithm has a cutoff at -1 degree, which is not mentioned in the original publication or the provided Fortran code:

Refract[(Elevation > -1) & (Elevation <= -0.575)] = -20.774 / TanEl

To be consistent with the publication I suggest that we remove the lower limit and apply refraction correction to all negative solar elevation angles.

image

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions