equatorial2horizontal: Equatorial coordinates to Horizontal coordinates...

Description Usage Arguments Value Examples

View source: R/coordinates.R

Description

Equatorial coordinates to Horizontal coordinates transformation

Usage

1
2
equatorial2horizontal(geographic_longitude, geographic_latitude,
  declination, right_ascension, jd = NULL, obliquity = NULL)

Arguments

geographic_longitude

Geographical longitude in degrees

geographic_latitude

Geographical latitude in degrees

declination

Declination in degrees

right_ascension

Right Ascension as hour angle

jd

Julian day used to determine true obliquity of ecliptic

obliquity

true obliquity of ecliptic. If null it uses jd to calculate it

Value

Horizontal coordinates

Examples

1
2
3
4
5
6
geographic_longitude<-str2degrees("-77<c3><82><c2><ba>03'55.5\u0022")
geographic_latitude<-str2degrees("38<c3><82><c2><ba>55'17\u0022")
jd<-str2jd("1987-04-10T19:21:00")
declination<-str2degrees("-6<c3><82><c2><ba>43'11.61\u0022")
right_ascension<-str2hours("23:09:16.641")
equatorial2horizontal(geographic_longitude,geographic_latitude,declination, right_ascension,jd)

Susarro/arqastwb documentation built on May 21, 2019, 10:28 a.m.