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 sunsight technique (reduct.theodolite).

Usage

1
sunAz(loc, time, timezone = "Europe/London", limb, alt = F)

Arguments

loc

Location, either a skyscapeR.object or a vector containing the latitude and longitude 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 (eg. "GMT", "CET") or a string with continent followed by country capital (eg. "Europe/London").

limb

(Optional) Measured limb of the sun. Options are left, right. If missing the centre 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), '2017-10-04 12:32:14', 'Europe/London')

f-silva-archaeo/skyscapeR documentation built on Jan. 15, 2019, 3:22 a.m.