read_sb_growth_parameter {cercospoRa} | R Documentation |
Read LAI images at several time points
Description
Read LAI images at several time points
Usage
read_sb_growth_parameter(img_files, img_dates, target_res)
Arguments
img_files |
character vector providing the file paths of at least two
georeferenced images for the study location. Dates of image capture need to
be defined in |
img_dates |
POSIXct vector of dates corresponding to the images supplied in
|
target_res |
desired spatial resolution. |
Value
terra::SpatRast
with a layer for each input layer. Each layer
is named according to the img_dates
.
The output SpatRast
is suitable for input in calc_r_x0()
Examples
epidemic_onset_param <-
read_sb_growth_parameter(img_files = list.files(system.file("extdata", "uav_img",
package = "cercospoRa"),
pattern = ".tif",
full.names = TRUE),
img_dates = as.POSIXct(c("2022-06-14",
"2022-06-28"),
tz = "UTC"),
target_res = 10)
[Package cercospoRa version 0.0.2 Index]