row_col_from_zenith_azimuth {rcaiman} | R Documentation |
Obtain row and col numbers from zenith and azimuth angles
Description
Obtain row and col numbers from zenith and azimuth angles
Usage
row_col_from_zenith_azimuth(z, a, za, lens_coef = NULL)
Arguments
z |
SpatRaster built with |
a |
SpatRaster built with |
za |
Numeric vector of length two. Zenith and azimuth angles in degrees. |
lens_coef |
Numeric vector. Polynomial coefficients of the lens
projection function. See |
Value
Numeric vector of length two.
Note
Use the lens_coef
argument to calculate coordinates below the horizon.
See Also
Other HSP Functions:
read_manual_input()
,
read_opt_sky_coef()
,
write_sky_points()
,
write_sun_coord()
,
zenith_azimuth_from_row_col()
Examples
z <- zenith_image(1000, lens())
a <- azimuth_image(z)
row_col_from_zenith_azimuth(z, a, c(45, 270))
[Package rcaiman version 1.2.2 Index]