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

Description Usage Arguments Examples

View source: R/planetarium.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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

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

skyscapeR documentation built on Oct. 30, 2021, 1:06 a.m.