Estimate the spatial equinox from a site horizon

Description

Find the directions halfway between the two solstitial sunrise bearings and between the two solstitial sunset bearings on a particular horizon.

Usage

spatial.equinox(
  hor,
  parallax = 0.00224,
  year = skyscapeR.env$cur.year,
  refraction = skyscapeR.env$refraction,
  atm = skyscapeR.env$atm,
  temp = skyscapeR.env$temp
)

Arguments

hor

A skyscapeR.horizon with finite, increasing azimuths covering 0 to 360 degrees and matching endpoint altitudes.

parallax

Mean horizontal parallax in degrees. The default is 0.00224 degrees for the Sun.

year

One astronomical year, defaulting to the package's current-year setting. Historical labels such as "3250 BC" are accepted.

refraction

Whether to apply atmospheric refraction. Defaults to the package setting, normally TRUE.

atm

Atmospheric pressure in hPa. Defaults to the package setting. Zero requests an estimate from site elevation.

temp

Air temperature in degrees Celsius. Defaults to the package setting.

Details

A spatial midpoint is defined by the local terrain and need not coincide with the astronomical equinox. The function uses the positive and negative obliquity at the requested year as the geocentric solstitial declinations. Each fixed track is followed through one rotation from lower culmination to lower culmination. Horizontal solar parallax is applied to geometric altitude before atmospheric refraction. The terrain is interpolated linearly in azimuth.

On the rising half of each track, the first emergence is selected; on the setting half, the final disappearance is selected. The circular midpoint of the two solstitial bearings is then found separately for sunrise and sunset. At each midpoint, refraction and horizontal parallax are inverted to recover the geocentric declination. Atmospheric settings are identical in both stages.

Ruggles (1997) distinguishes the spatial midpoint of the solstitial horizon bearings from the midpoint in time between the solstices.

Value

A list containing azimuth and declination. Each contains rise and set values in degrees for the supplied horizon. Declinations are geocentric. An undefined side returns NA for both values, with a warning; the other side is retained when defined.

Validation

H07 checked that partial photographs are rejected and that a full photographic profile can be used. See the H07 check in the technical manual.

In A05, rising and setting midpoints matched independent track intersections on flat, eastern-ridge and western-ridge skylines; missing polar crossings were identified. See the A05 check in the technical manual.

Crossing conventions and limitations

Both rising and setting tracks are considered in either hemisphere. The search uses the terrain-aware crossing machinery also used by riseset, including terrain vertices and interior extrema. Tangencies without a change of visibility are excluded. Multiple terrain crossings are resolved using the first-emergence/final-disappearance rule; this need not be the locally preferred observational definition of sunrise or sunset. Inspect complex skylines before interpretation.

If either solstitial track lacks the required crossing, the corresponding midpoint is undefined. This includes polar non-rising/non-setting cases and complete terrain obstruction. Exactly opposite bearings have no unique circular midpoint and also return NA.

These are fixed-declination solar-centre tracks, not a dated solar ephemeris or upper-limb calculation. The mean horizontal parallax is fixed, and the refraction model cannot represent local atmospheric anomalies. Results are limited by horizon resolution and atmospheric assumptions. Solar semidiameter is not included. The result is a spatial midpoint, not the Sun's rising or setting at the astronomical equinox.

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 checks

References

Ruggles, C. L. N. (1997). Whose Equinox? Journal for the History of Astronomy 28, S45-S96. doi:10.1177/002182869702802205.

See Also

jS, dS, eq, zenith, antizenith, findTargets

Examples

## Not run: 
hor <- createHWT(34.174051531543405, 110.81299818694872, name='Xipo, Lingbao')
spatial.equinox(hor, year="3250 BC")

## End(Not run)