sun: Equatorial coordinates for celectial objects (ephemerides)

Description Usage Arguments Details Value Author(s) Examples

Description

These functions compute equatorial coordinates of celestial objects at given day, their phase, position of the limb, distance from earth and the magnitude.

Usage

1
2
3
4
5
6
7
8
9
sun(jday = jd())
mercury(jday = jd())
venus(jday = jd())
mars(jday = jd())
jupiter(jday = jd())
saturn(jday = jd())
uranus(jday = jd())
neptune(jday = jd())
pluto(jday = jd())

Arguments

jday

Julian Day number

Details

The algorithms used here are fairly simple and not with top-accuracy.

Sun is assumed to be always on ecliptic and no eccentric anomaly is considered. The accuracy should be within 10s of right ascension and few minutes of declination.

Planets position are calculated without solving the Kepler Equation and considering perturbations, so the accuracy is similar.

Value

An object of class "eqc, apos, data.frame", containing a row for each day, and following columns:

ra

Right Ascension

d

Declination

phase

Percentage of bright area visible from Earth

angle

Angle between the limb and north-south equatorial axis

dist

Distance from Earth in AUs

size

Size in arcsecs

mag

Magnitude

Author(s)

Lukasz Komsta

Examples

1
2
3
4
options(latitude=51.25,longitude=22.5)	# Lublin, Poland
j=jd(length=30)				# Next 30 days
sun(j) 					# Equatorial position
as.hoc(sun(j),j)			# Horizontal position at current time

Example output

                        ra            d phase angle dist size mag    
2018-08-13-Sun  9h 30m 24s 14* 45' 16''    NA    NA 1.01  0.5  NA Leo
2018-08-14-Sun  9h 34m 10s 14* 26' 57''    NA    NA 1.01  0.5  NA Leo
2018-08-15-Sun  9h 37m 55s 14*  8' 24''    NA    NA 1.01  0.5  NA Leo
2018-08-16-Sun  9h 41m 40s 13* 49' 38''    NA    NA 1.01  0.5  NA Leo
2018-08-17-Sun  9h 45m 24s 13* 30' 38''    NA    NA 1.01  0.5  NA Leo
2018-08-18-Sun  9h 49m  7s 13* 11' 26''    NA    NA 1.01  0.5  NA Leo
2018-08-19-Sun  9h 52m 51s 12* 52'  1''    NA    NA 1.01  0.5  NA Leo
2018-08-20-Sun  9h 56m 33s 12* 32' 23''    NA    NA 1.01  0.5  NA Leo
2018-08-21-Sun 10h  0m 15s 12* 12' 34''    NA    NA 1.01  0.5  NA Leo
2018-08-22-Sun 10h  3m 57s 11* 52' 33''    NA    NA 1.01  0.5  NA Leo
2018-08-23-Sun 10h  7m 38s 11* 32' 21''    NA    NA 1.01  0.5  NA Leo
2018-08-24-Sun 10h 11m 19s 11* 11' 58''    NA    NA 1.01  0.5  NA Leo
2018-08-25-Sun 10h 14m 60s 10* 51' 24''    NA    NA 1.01  0.5  NA Leo
2018-08-26-Sun 10h 18m 40s 10* 30' 40''    NA    NA 1.01  0.5  NA Leo
2018-08-27-Sun 10h 22m 19s 10*  9' 46''    NA    NA 1.01  0.5  NA Leo
2018-08-28-Sun 10h 25m 59s  9* 48' 42''    NA    NA 1.01  0.5  NA Leo
2018-08-29-Sun 10h 29m 38s  9* 27' 28''    NA    NA 1.01  0.5  NA Leo
2018-08-30-Sun 10h 33m 16s  9*  6'  6''    NA    NA 1.01  0.5  NA Leo
2018-08-31-Sun 10h 36m 54s  8* 44' 35''    NA    NA 1.01  0.5  NA Leo
2018-09-01-Sun 10h 40m 32s  8* 22' 55''    NA    NA 1.01  0.5  NA Leo
2018-09-02-Sun 10h 44m 10s  8*  1'  8''    NA    NA 1.01  0.5  NA Leo
2018-09-03-Sun 10h 47m 47s  7* 39' 12''    NA    NA 1.01  0.5  NA Leo
2018-09-04-Sun 10h 51m 24s  7* 17' 10''    NA    NA 1.01  0.5  NA Leo
2018-09-05-Sun 10h 55m  1s  6* 54' 60''    NA    NA 1.01  0.5  NA Leo
2018-09-06-Sun 10h 58m 38s  6* 32' 43''    NA    NA 1.01  0.5  NA Leo
2018-09-07-Sun 11h  2m 14s  6* 10' 19''    NA    NA 1.01  0.5  NA Leo
2018-09-08-Sun 11h  5m 50s  5* 47' 50''    NA    NA 1.01  0.5  NA Leo
2018-09-09-Sun 11h  9m 26s  5* 25' 15''    NA    NA 1.01  0.5  NA Leo
2018-09-10-Sun 11h 13m  2s  5*  2' 34''    NA    NA 1.01  0.5  NA Leo
2018-09-11-Sun 11h 16m 38s  4* 39' 48''    NA    NA 1.01  0.5  NA Leo
                          az           alt
2018-08-13-Sun  30* 39' 32'' -20* 58'  5''
2018-08-14-Sun  43* 50' 49'' -14*  0' 45''
2018-08-15-Sun  56*  3' 59''  -8* 28' 36''
2018-08-16-Sun  67* 30' 33''  -1* 58'  2''
2018-08-17-Sun  78* 30' 49''   8*  7' 33''
2018-08-18-Sun  89* 30' 52''  16* 37' 24''
2018-08-19-Sun 101*  2' 22''  25*  7' 48''
2018-08-20-Sun 113* 44' 10''  33* 15' 56''
2018-08-21-Sun 128* 22' 26''  40* 31' 52''
2018-08-22-Sun 145* 40' 16''  46* 14' 31''
2018-08-23-Sun 165* 42' 11''  49* 33' 17''
2018-08-24-Sun 187*  6'  8''  49* 46'  6''
2018-08-25-Sun 207* 27' 52''  46* 48'  6''
2018-08-26-Sun 225*  9' 42''  41* 15'  8''
2018-08-27-Sun 240*  4' 16''  33* 56' 49''
2018-08-28-Sun 252* 51' 29''  25* 35'  9''
2018-08-29-Sun 264* 18' 22''  16* 40' 38''
2018-08-30-Sun 275*  5' 43''   7* 35' 44''
2018-08-31-Sun 285* 47' 43''  -2* 39' 13''
2018-09-01-Sun 296* 54' 30'' -10*  9' 23''
2018-09-02-Sun 308* 53' 29'' -18* 26' 53''
2018-09-03-Sun 322*  7' 30'' -25* 56' 21''
2018-09-04-Sun 336* 47' 45'' -29*  6' 17''
2018-09-05-Sun 352* 42' 24'' -32* 24' 56''
2018-09-06-Sun   9* 10' 50'' -32* 11' 18''
2018-09-07-Sun  25* 17'  2'' -30* 26' 16''
2018-09-08-Sun  40* 17'  4'' -26* 51' 53''
2018-09-09-Sun  53* 55' 35'' -20* 59' 35''
2018-09-10-Sun  66* 21' 51'' -12* 19' 20''
2018-09-11-Sun  77* 58' 27''  -4* 24' 30''

moonsun documentation built on May 29, 2017, 12:17 p.m.