Learn R Programming

skyscapeR (version 1.0.0)

hor2alt: 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

Run this code
# NOT RUN {
hor <- downloadHWT('HIFVTBGK')
hor2alt(hor, 90)
# }

Run the code above in your browser using DataLab