View source: R/zenith_azimuth_from_row_col.R
zenith_azimuth_from_row_col | R Documentation |
Obtain zenith and azimuth angles from row and col numbers
zenith_azimuth_from_row_col(z, a, row_col, lens_coef = NULL)
z |
SpatRaster built with |
a |
SpatRaster built with |
row_col |
Numeric vector of length two. Row and col numbers. |
lens_coef |
Numeric vector. Polynomial coefficients of the lens
projection function. See |
Numeric vector of length two.
Use the lens_coef
argument to calculate coordinates below the horizon.
Other HSP Functions:
read_manual_input()
,
read_opt_sky_coef()
,
row_col_from_zenith_azimuth()
,
write_sky_points()
,
write_sun_coord()
z <- zenith_image(1000, lens())
a <- azimuth_image(z)
zenith_azimuth_from_row_col(z, a, c(501, 750))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.