solar.date()

Scientific results for this function.

The JPL comparison in A05 matched all tested civil-day passages, including paired dates near a solstice. A05 results.

Function index

The Sun can pass the same declination on either side of a solstice. The search covers the selected civil year from midnight UT, including its first instant and excluding the start of the next year. Daily geocentric apparent solar declinations bracket the annual turning points. The function refines each extremum against the ephemeris and solves separately on either side, then reports the civil day of each crossing. A tangency gives one date. Two crossings can share a calendar day. The calculation uses no terrain or solar limb model.

Astronomical positions require Swiss Ephemeris files covering the epoch. We recommend installing swephRdata; see skyscapeR-package for setup.

Event definition and clock convention.

Implementation arguments, return value and documented modes
Argument Formal default Behaviour in this interface
dec —

One or more declinations in degrees.

year —

Year for which to do calculations. Historical labels such as "3700 BC" are accepted by astroYear.

calendar —

Calendar for sampling and output. G for Gregorian or J for Julian. Defaults to the package calendar, initially Gregorian.

verbose TRUE

Logical. Display progress or informational messages. Default TRUE.

Return value

A character matrix with one column per reachable input, in input order. The rows are Dec, Date1 and Date2, with Date3 added if three passages fall in one civil year. Dates are chronological day/month labels. Unused date cells are missing. The function stops if all requested declinations are unreachable.

Implementation. R/mechanics.R. Full function help · Solar, lunar and planetary events outline · Terrain crossings and event searches · Identifying celestial candidates and limiting declinations