Description Usage Arguments See Also Examples
Computes the rising and setting azimuth, declination and time of a Solar System object for a given location and day
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
obj |
(Optional) String containing name of the solar system body of interest. Can be any of the planets (inc. Pluto), the Moon, the Sun or the Ecliptic. Defaults to 'sun'. |
date |
Either a string containing the date in the format "YYYY/MM/DD"
(see |
jd |
(Optional) A numeric containing the julian date (see |
alt |
(Optional) The altitude of the horizon to consider. Defaults to zero degrees. |
loc |
Location, either a skyscapeR.object or a vector containing the latitude, longitude and elevation of location, in this order. |
calendar |
(Optional) Calendar used in parameter date. G for gregorian and J for julian.
If not given the value set by |
timezone |
(Optional) Timezone for output of rising and setting time 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. If not given the value set by |
dec |
(Optional) Output declination: geo for the geocentric, or topo for the topocentric
frame of reference. If not given the value set by |
refraction |
(Optional) Whether atmospheric refraction is to be taken into account.
If not given the value set by |
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 |
verbose |
(Optional) Boolean to control whether or not to display text. Default is TRUE. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Rising and setting of the sun on june solstice 2018, from the location of London
riseset('sun', '2018/06/21', loc=c(51.5, 0.11, 100))
# Rising ans setting of the moon on june solstice 2018, using a horizon profile
hor <- downloadHWT('HIFVTBGK') # Liverpool cathedral
riseset('moon', '2018/06/21', loc=hor)
# Rising and setting of the sun throughout February 1999, from the location of London
riseset('sun', '1999/02', loc=c(51.5, 0.11, 100))
## Not run:
# Rising and setting of the sun throughout 3001 BC, from the location of London
riseset('sun', -3000, loc=c(51.5, 0.11, 100))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.