row_col_from_zenith_azimuth: Row and col numbers from zenith and azimuth angles

View source: R/row_col_from_zenith_azimuth.R

row_col_from_zenith_azimuthR Documentation

Row and col numbers from zenith and azimuth angles

Description

Row and col numbers from zenith and azimuth angles

Usage

row_col_from_zenith_azimuth(z, za, lens_coef)

Arguments

z

SpatRaster built with zenith_image.

za

Numeric vector of length two. Zenith and azimuth angles in degrees.

lens_coef

Numeric vector. Polynomial coefficients of the lens projection function.

Value

Numeric vector of length two.

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())
row_col_from_zenith_azimuth(z, c(45, 270), lens())

rcaiman documentation built on Sept. 20, 2022, 1:05 a.m.