Description Usage Arguments Examples
Create a simplistic sketch of the sky at a given moment in time
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
)
|
time |
Either a string containing the date and time in the format "YYYY-MM-DD HH:MM:SS"
(see |
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 |
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 |
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 |
temp |
(Optional) Atmospheric temperature for refraction calculation.
If not given the value set by |
1 | sky.sketch(time='2019/01/10 18:51', loc=c(35,-8,100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.