hor2alt: Retrieves horizon altitude for a given azimuth from a given...

View source: R/horizon.R

hor2altR Documentation

Retrieves horizon altitude for a given azimuth from a given horizon profile

Description

This function retrieves the horizon altitude for a given azimuth from a previously created skyscapeR.horizon object via spline interpolation.

Usage

hor2alt(hor, az, return.unc = F)

Arguments

hor

A skyscapeR.horizon object from which to retrieve horizon altitude.

az

Array of azimuth(s) for which to retrieve horizon altitude(s).

return.unc

(Optional) Boolean switch control where to output altitude uncertainty. Default is FALSE.

See Also

createHor, downloadHWT

Examples

hor <- downloadHWT('HIFVTBGK')
hor2alt(hor, 90)

f-silva-archaeo/skyscapeR documentation built on Sept. 24, 2023, 8:14 p.m.