CC: Crescent crossovers of the Sun and Moon

View source: R/crescent-crossovers.R

CCR Documentation

Crescent crossovers of the Sun and Moon

Description

Identify the first observable seasonal reversal in the relative rising or setting positions of the Sun and a lunar crescent. These events can be compared with archaeological orientations and need not occur close to a solstice.

Usage

CC(
  year,
  loc,
  season = "winter",
  crescent = "first",
  simulation = "SIM1",
  timezone = skyscapeR.env$timezone,
  calendar = skyscapeR.env$calendar,
  refraction = skyscapeR.env$refraction,
  atm = skyscapeR.env$atm,
  temp = skyscapeR.env$temp
)

Arguments

year

One integer year, two ascending endpoints, or a vector of years. Historical labels such as "3700 BC" are accepted by astroYear.

loc

Latitude, longitude and elevation (degrees, degrees, metres), or a skyscapeR.horizon object.

season

Either "winter" (default) or "summer".

crescent

Either "first" (default, waxing/set) or "last" (waning/rise).

simulation

"SIM1" (default) or "SIM2"; see Details.

timezone

Output and observing-day timezone. Defaults to package settings. Use UTC or a fixed offset before 1900.

calendar

"G" for Gregorian or "J" for Julian dates. Defaults to package settings.

refraction

Logical; use atmospheric refraction. Defaults to package settings.

atm

Atmospheric pressure in mbar. Defaults to package settings.

temp

Air temperature in degrees Celsius. Defaults to package settings.

Details

Crescent crossovers describe a change in the relative horizon positions of the luminaries across successive lunations. First (waxing) crescents are compared at sunset and moonset; last (waning) crescents at sunrise and moonrise. The method follows Silva and Pimenta (2012), sections 2.1–2.2. Seasons use the paper's northern-hemisphere names: summer means the June-solstice crossover, winter the December-solstice crossover, also for southern-hemisphere locations.

For each conjunction, days are searched forwards for the first crescent and backwards for the last crescent. Visibility is evaluated at sunset or sunrise, respectively, using Caldwell and Laney's criterion: lower-limb lunar altitude plus one third of the Sun–Moon angular separation must be at least 11.3 degrees. The lower-limb altitude is topocentric. The arc of light is the geocentric Sun–Moon separation, as explicitly defined by Caldwell and Laney; it excludes atmospheric refraction. The lower limb is calculated from the instantaneous lunar distance and a lunar radius of 1737.4 km. With refraction enabled, the centre altitude is apparent and the angular radius is subtracted from it. This is an empirical visibility prediction, not a guarantee under actual weather or extinction.

SIM1 tests only the first qualifying evening or last qualifying morning of each lunation. SIM2 also tests the following evening or preceding morning, respectively. The original visibility day is preferred if it already meets the crossover condition. Dates are searched within eight civil days of conjunction and must remain crescent (elongation below 90 degrees).

Each body's own centre-disc horizon event supplies its azimuth. The shortest signed difference Moon minus Sun is negative after a June crossover and positive after a December crossover, for both event types, with bearings clockwise from north. The starting conjunction is two lunations before the last conjunction at or before the solstice (the beginning of the lunation containing it). This can start nearly three synodic months before the solstice; it is not equivalent to starting at the first conjunction after solstice minus two synodic months. From there, successive lunations are searched for the first eligible crescent with the required strict ordering; exact equality does not qualify. The preceding eligible difference is retained for inspection but is not an additional selection condition in the published algorithm. Missing lunations are skipped. Conjunctions are searched until 150 days after the solstice; failure gives NA. Later qualifying lunations are counted in diagnostics but do not replace the first. Observations may fall in the next calendar year.

A coordinate vector uses a zero-altitude astronomical horizon. A horizon object uses its horizon for both rise/set events and a separate lower-limb clearance check at the visibility assessment. The visibility formula still uses altitude above the astronomical horizontal, not altitude above the terrain. This horizon extension was not calibrated in the original paper. Events use the existing centre-disc convention of riseset, including for the Sun.

Swiss Ephemeris supplies apparent astronomical positions (light-time and aberration corrections), with atmospheric refraction controlled separately. Returned declinations are geocentric and without atmospheric refraction, as in Figure 4 of the paper. Individual event selections do not yet reproduce every original simulation. The starting-window convention and differences in the 40-degree N series remain under validation. Agreement of a smoothed distribution does not imply agreement of every year's selected crescent. Inspect the returned dates, visibility margins and azimuth differences before interpreting a particular event; the cause of all discrepancies is not established. Years use astronomical numbering (0 is 1 BCE). Two ascending year endpoints expand inclusively; longer vectors are evaluated as supplied. The year labels the Gregorian year of the solstice, so a selected observation may occur in an adjacent calendar year. The calendar argument controls date display and civil-day parsing. No PNG or copy of the input horizon is stored in the output.

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

Value

A list with Event, paired Moon and Sun data frames (year, date, time, azimuth, declination, UT Julian date), and a diagnostics data frame. Diagnostics include status, solstice and conjunction JDs, visibility-assessment JD, illuminated fraction, lower-limb altitude, elongation, visibility margin, signed azimuth difference, preceding difference, number of qualifying lunations, and day offset (0 for SIM1's day, 1 for SIM2's additional day). All angles are degrees. Missing results retain the requested year, use NA for observations and issue a warning. settings records conventions.

Comparison with the original simulations

For SIM1, 5,024 of 5,136 events in the supplied 1620–2047 series at latitudes 0, 60 N and 60 S agree within 0.02 degrees in lunar declination. This comparison uses a level horizon, longitude 0, elevation 400 m, UTC, Gregorian dates, refraction, pressure 1013.25 mbar and temperature 15 degrees Celsius. The original 40-degree N series has additional systematic offsets. Of the 112 discrepancies outside that series, inferred matching dates suggest differences in the lunation search window and first/last crescent selection. Some lie close to the visibility threshold. Alternative window and solar-limb conventions improve some cases but disrupt others that already agree, so no replacement convention has been adopted. The exact original settings remain unresolved; the paper does not specify all atmospheric inputs. Inspect the diagnostics before interpreting individual events. Agreement with simulation tables is not independent observational validation, and these SIM1 counts do not establish the accuracy of SIM2.

Provenance

Structured results carry a provenance attribute. Read it with attr(result, "provenance"); its packages entry records the loaded skyscapeR and swephR versions, with NA when a namespace version is unavailable. This attribute adds no list entries or table columns. Ordinary subsetting or transformations may discard attributes; save the original result for reference. It does not identify ephemeris files, catalogue revisions or a development commit. Retain those and the analysis script separately for exact reproduction.

Scientific validation

A07 examines independent crossover selection and sensitivity to the illumination cutoff. A07 scientific validation.

Scientific checks

  • Independent selection agreed in 31 of 32 lunar event cases. At the equator in autumn 1913 the two illumination estimates straddled the EFM cutoff. A07 study.

References

Silva, F. and Pimenta, F. (2012). The Crossover of the Sun and the Moon. Journal for the History of Astronomy 43(2), 191–208. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1177/002182861204300204")}.

Caldwell, J. and Laney, C. D. (2001). First visibility of the lunar crescent. African Skies 5, 15–23. The authors' online version defines dalt and arcl: https://astronomycenter.net/pdf/saao_2001.pdf.

See Also

EFM, moonphase, riseset, body.position, createHor

Examples

if (requireNamespace("swephRdata", quietly = TRUE)) {
  CC(year=2026, loc=c(40, 0, 400), timezone="UTC")
  ## Not run: 
  CC(year=c(2000, 2018), loc=c(40, 0, 400), season="summer", crescent="last",
  simulation="SIM2", timezone="UTC")
  CC(year=-2999, loc=c(40, 0, 400), timezone="UTC")
  
## End(Not run)
}

skyscapeR documentation built on Dec. 2, 2026, 1:10 a.m.