MODIS_LAI_prep.Rd
Prepare MODIS LAI data for the SDA workflow.
MODIS_LAI_prep(
site_info,
time_points,
outdir = NULL,
search_window = 30,
export_csv = FALSE,
sd_threshold = 20,
skip.download = TRUE,
boundary = NULL
)
list: Bety list of site info including site_id, lon, and lat.
character: a vector contains each time point within the start and end date.
character: where the final CSV file will be stored.
numeric: search window for locate available LAI values.
boolean: decide if we want to export the CSV file.
numeric or character: for filtering out any estimations with unrealistic high standard error, default is 20. The QC check will be skipped if it's set as NULL.
boolean: determine if we want to use existing LAI.csv file and skip the MODIS LAI download part.
numeric vector or list: the upper and lower quantiles for filtering out noisy LAI values (e.g., c(0.05, 0.95) or list(0.05, 0.95)). The default is NULL.
A data frame containing LAI and sd for each site and each time step.