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

Description Usage Arguments See Also Examples

View source: R/horizon.R

Description

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

Usage

1
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

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

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