cie_sky_model_raster {rcaiman} | R Documentation |
CIE sky model raster
Description
CIE sky model raster
Usage
cie_sky_model_raster(z, a, sun_coord, sky_coef)
Arguments
z |
SpatRaster built with |
a |
SpatRaster built with |
sun_coord |
Numeric vector of length two. The solar disk center represented with zenith and azimuth angles in degrees. |
sky_coef |
Numeric vector of length five. Parameters of the sky model. |
See Also
Other Sky Reconstruction Functions:
fit_cie_sky_model()
,
fit_coneshaped_model()
,
fit_trend_surface()
,
fix_reconstructed_sky()
,
interpolate_sky_points()
,
ootb_sky_reconstruction()
Examples
z <- zenith_image(50, lens())
a <- azimuth_image(z)
path <- system.file("external", package = "rcaiman")
skies <- read.csv(file.path(path, "15_CIE_standard_skies.csv"))
# parameters are from http://dx.doi.org/10.1016/j.energy.2016.02.054
sky_coef <- skies[4,1:5]
sun_coord <- c(45, 0)
plot(cie_sky_model_raster(z, a, sun_coord, sky_coef))
[Package rcaiman version 1.2.2 Index]