The function returns a list that contains the input data of the phenology as
well as some intermediate results that are needed as preprocessed inputs for the
model. The result can be used as input for phenology()
to avoid redundant
calculations.
get_input_data(pheno)
A list of SpatRasters.
A phenology (see phenology()
)
# \donttest{
# setup phenology
p <- phenology('phenips-clim', barrks_data(), .setup_only = TRUE, .quiet = TRUE)
# get the (preprocessed) input data
inputs <- get_input_data(p)
# print the names to show which input data is available
names(inputs)
# }
Run the code above in your browser using DataLab