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.
Arguments
- pheno
A phenology (see
phenology()
)
Examples
# \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)
#> [1] "daylength" "rad" "sunrise" "sunset" "tmax" "tmean"
#> [7] "tmin" "dd_onset" "btmean" "btmax" "teff" "fly"
# }