star_visibility: Star visibility information when certain star sets or rises...

Description Usage Arguments Value Examples

View source: R/general.R

Description

Star visibility information when certain star sets or rises at a given horizontal coordinate value

Usage

1
2
star_visibility(x, parms, horizontal_coordinate = "elevation",
  horizontal_star_time = "setting")

Arguments

x

Julian day

parms

Vector of strings containing the name of celestial body, geographic longitude, geographic latitude, geographic altitude and reference horizontal coordinate value

horizontal_coordinate

Horizontal coordinate (azimuth or elevation) to compare to a reference coordinate value or threshold

horizontal_star_time

"setting" or "rising". Only required if horizontal_coordinate=="elevation"

Value

Star visibility information

#'

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
years<--2000:-1999
from<-str2jd(paste(years[1],"01","01",sep="-"))
to<-str2jd(paste(years[length(years)],"01","01",sep="-"))
star_name<-"epsilon orionis"
ee<-star_visibility(seq(from,to,1),
                    parms=c(star_name,
                            "42\u00b036'25\u0022N",
                            "5\u00b033'58\u0022W",
                            "782",
                            "2\u00b00'0\u0022"),
                    horizontal_coordinate="elevation", horizontal_star_time="setting")

ee<-star_visibility(seq(from,to,1),
                    parms=c(star_name,
                            "42\u00b036'25\u0022N",
                            "5\u00b033'58\u0022W",
                            "782",
                            "2\u00b00'0\u0022"),
                    horizontal_coordinate="elevation", horizontal_star_time="rising")

ee<-star_visibility(seq(from,to,1),
                    parms=c(star_name,
                            "42\u00b036'25\u0022N",
                            "5\u00b033'58\u0022W",
                            "782",
                            "-107\u00b022'33.866\u0022"),
                    horizontal_coordinate="azimuth")

ee<-star_visibility(seq(from,to,1),
                    parms=c(star_name,
                            "42\u00b036'25\u0022N",
                            "5\u00b033'58\u0022W",
                            "782",
                            "107\u00b022'33.866\u0022"),
                    horizontal_coordinate="azimuth")

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