Compute BRDF kernels
Usage
compute_kernels(
x,
ref = x,
band = "B02",
nadir_adjusted = FALSE,
sun_zenith_0 = 0.542,
output_dir = NULL,
overwrite = FALSE
)Arguments
- x
terra::SpatRaster. Raster stack of zenith and azimuth angles
- ref
terra::SpatRaster. Reference raster at which kernels are resampled
- band
character. Band name to process, example "B02"
- nadir_adjusted
logical. If TRUE, compute kernels for nadir adjusted
- sun_zenith_0
numeric. Sun zenith angle in radian at which nadir is adjusted
- output_dir
character. Output directory, if not NULL kernels files are written here
- overwrite
logical. If TRUE, overwrite existing files