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.
