skyscapeR.vars()

Scientific results for this function.

All 499 calendar, clock, era, angle and setting checks in A01 passed. The largest discrepancy across 240 absolute Julian dates was 0.000021 seconds. A01 results.

Function index

The same observation can have different labels or apparent coordinates under different calendar, timezone, reference-frame or atmospheric choices. With no arguments the function returns a named snapshot. Supplied arguments update the package environment for subsequent calls in the current R session. Functions with their own explicit arguments or fixed UT sampling conventions may override these defaults. Record the settings with the survey data.

Method references

Schaefer, B. E. (1986). Atmospheric Extinction Effects on Stellar Alignments. Journal for the History of Astronomy 17, S32-S42. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1177/002182868601701003")}.

Schaefer, B. E. (1993). Astronomy and the Limits of Vision. Vistas in Astronomy 36, 311-361. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/0083-6656(93)90113-X")}.

University of California, Davis. Physics 157 Observing Guide, Spring 2022, discussion of extinction coefficients.

Interpretation and limits. Save the resolved settings at the time of computation. Reproducing the written R call under another session’s refraction, pressure or calendar defaults can produce a different result.

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

Timezone name (for example "Europe/London") or fixed offset in hours east of UTC, or a string such as "UTC+02:00". Initially "Europe/London". Use UTC or a fixed offset for dates before 1900. See time2jd for details.

calendar —

Calendar for civil dates. Use "G" for Gregorian or "J" for Julian.

refraction —

Whether atmospheric refraction is to be taken into account. Default is TRUE.

atm —

Air pressure in mbar for the refraction calculation. Default is 1013.25 mbar.

temp —

Air temperature in degrees Celsius for the refraction calculation. Default is 15 degrees Celsius.

dec —

Output declination: geo for the geocentric, or topo for the topocentric frame of reference. Defaults to topocentric.

k —

Visual extinction in magnitudes per airmass, shared by natural sky sketches and stellar phase calculations. The initial value of 0.2 is a clear-sky baseline, consistent with the approximate V-band coefficient for Kitt Peak in the UC Davis Physics 157 Observing Guide. Extinction varies with site and atmospheric conditions (Schaefer 1986, 1993). Use zero to disable extinction.

Return value

A named list of the current session settings, including the current year. Supplying an argument updates that setting for subsequent package calls in this R session.

Implementation. R/global_vars.R. Full function help · Sky reconstruction · Time, coordinates and ephemerides outline · From a measured orientation to a declination distribution · Equinoctial full Moons and crescent crossovers · Astronomical conventions and stellar positions · Display styles, capture and stepping time