Set the observing and time conventions that should be shared across an analysis, or retrieve them for a reproducible methods record.
skyscapeR.vars(timezone, calendar, refraction, atm, temp, dec, k)
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 |
calendar |
Calendar for civil dates. Use |
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. |
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.
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.
Build 2.0.9005 passed all 499 calendar, clock, era, angle and setting checks in A01. The largest discrepancy across 240 absolute Julian dates was 0.000021 seconds. See A01 validation in the technical manual.
All 499 calendar, clock and angle checks passed. The largest error across 240 absolute Julian dates was 0.000021 seconds. A01 study.
With extinction of 0.2 magnitudes per airmass, transmission was 0.149 at 5 degrees and 0.832 at the zenith under the adopted law. V05 study.
A one-minute native sky step retained the publication extinction setting. External Stellarium capture requires a separate comparison. V07 study.
Schaefer, B. E. (1986). Atmospheric Extinction Effects on Stellar Alignments. Journal for the History of Astronomy 17, S32-S42. doi:10.1177/002182868601701003.
Schaefer, B. E. (1993). Astronomy and the Limits of Vision. Vistas in Astronomy 36, 311-361. doi:10.1016/0083-6656(93)90113-X.
University of California, Davis. Physics 157 Observing Guide, Spring 2022, discussion of extinction coefficients.
skyscapeR-package, time2jd, body.position
settings <- skyscapeR.vars()
settings$timezone