sunAz()

Scientific results for this function.

F01 examines magnetic and solar reductions against independent references. F01 study and results.

Function index

A solar reference requires the observer position, timestamp, timezone and the part of the disc that was sighted. Times are parsed using R's civil-time routines and converted to UT Julian dates. Swiss Ephemeris supplies the topocentric solar position and its horizontal coordinates using 1013.25 mbar and 15 degrees Celsius. The returned bearing is measured clockwise from north. Sighting the left or right limb applies a fixed minus or plus 16 arcminutes in azimuth. Optional altitude is the geometric centre altitude.

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

The time and limb of the solar reference.

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

Location, either a skyscapeR.horizon or a vector containing the latitude, longitude and elevation of location, in this order.

time —

String containing the date and time in the following format: "YYYY-MM-DD HH:MM:SS"

timezone —

Timezone for civil timestamps. Use UTC or a fixed offset for dates before 1900. See time2jd for named zones and offsets.

limb —

Measured limb of the sun. Options are left, right. If missing the center of the sun will be output.

alt FALSE

Logical that triggers output of altitude of the sun at exact time. Default is FALSE.

Return value

Solar azimuth in degrees clockwise from north, one value per observation. With alt = TRUE, a data frame with columns az and alt is returned. The altitude is geometric and is expressed in degrees.

Implementation. R/mechanics.R. Full function help · Reducing field observations outline · Reducing field observations · Reduce a theodolite survey with a solar sight