sky.sketch: Create a simplistic sketch of the sky at a given moment in...

View source: R/planetarium.R

sky.sketchR Documentation

Create a simplistic sketch of the sky at a given moment in time

Description

Create a simplistic sketch of the sky at a given moment in time

Usage

sky.sketch(
  time,
  timezone,
  calendar,
  xrange = c(30, 150),
  yrange = c(-45, 45),
  sun = T,
  moon = T,
  planets = F,
  exagerate = T,
  max.mag = 6,
  loc,
  atm,
  temp
)

Arguments

time

Either a string containing the date and time in the format "YYYY-MM-DD HH:MM:SS" (see timestring), or a numeric containing the julian date (see time2jd).

timezone

(Optional) Timezone of input either as a known acronym (e.g. "GMT", "CET") or a string with continent followed by country capital (e.g. "Europe/London"). See timezones for details. Only needed if time is a string. If not given the value set by skyscapeR.vars will be used instead.

calendar

(Optional) Calendar used in parameter time. G for gregorian and J for julian. Only needed if time is a string. If not given the value set by skyscapeR.vars will be used instead.

xrange

Range of azimuths to display, preferably no larger than 120 degrees.

yrange

Range of altitudes to display, preferably no larger than 120 degrees.

sun

(Optional) Boolean on whether the sun should be displayed. Defaults to TRUE.

moon

(Optional) Boolean on whether the moon should be displayed. Defaults to TRUE.

planets

(Optional) Boolean on whether the visible planets should be displayed. Defaults to FALSE.

exagerate

(Optional) Boolean on whether the size of the sun, moon and planets should be exaggerated, which can be useful when attempting wider viewing angles. Defaults to TRUE.

max.mag

(Optional) Maximum magnitude of stars to consider. Default is 6.

loc

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

atm

(Optional) Atmospheric pressure for refraction calculation. If not given the value set by skyscapeR.vars will be used instead.

temp

(Optional) Atmospheric temperature for refraction calculation. If not given the value set by skyscapeR.vars will be used instead.

Examples

sky.sketch(time='2019/01/10 18:51', loc=c(35,-8,100))

f-silva-archaeo/skyscapeR documentation built on Sept. 24, 2023, 8:14 p.m.