sunAz: Returns the azimuth of the sun at a given time from a...

Description Usage Arguments See Also Examples

View source: R/mechanics.R

Description

This function returns the azimuth of the sun at a given time and location, useful for data reduction of theodolite measurements using the sun-sight technique (reduct.theodolite).

Usage

1
sunAz(loc, time, timezone, limb, alt = F)

Arguments

loc

Location, either a skyscapeR.object or a vector containing the latitude, longitude and elevation of location, in this order.

time

String containing the date and time in the following format: "YYYY-MM-DD HH:MM:SS"

timezone

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").

limb

(Optional) Measured limb of the sun. Options are left, right. If missing the center of the sun will be output.

alt

(Optional) Boolean that triggers output of altitude of the sun at exact time. Default is FALSE.

See Also

reduct.theodolite

Examples

1
sunAz(c(52,-3,100), '2017-10-04 12:32:14', 'Europe/London')

skyscapeR documentation built on Oct. 30, 2021, 1:06 a.m.