powered by
This function creates a skyscapeR.horizon object from measurements of azimuth and altitude.
createHor(az, alt, alt.unc = 0.5, loc, name = "", smooth = F, .scale = 1000)
Array of azimuth values
Array of altitude values.
(Optional) Either a single value or an array of altitude uncertainty.
Location, a vector containing the latitude, longitude and elevation of the location, in this order.
Name of site.
Boolean to control whether to smooth horizon profile using rolling mean. Defaults to FALSE
Rolling mean window for smoothing. See createHWT
createHWT
plot.skyscapeR.horizon
createHWT, downloadHWT
downloadHWT
# NOT RUN { # Create a skyscapeR.horizon from 5 measurements: az <- c(0,90,180,270,360) alt <- c(0,5,5,0,0) hor <- createHor(az, alt, 0.1, c(40.1,-8), 'Test') plot(hor) # }
Run the code above in your browser using DataLab