50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

barrks (version 1.1.1)

get_input_data: Get (preprocessed) input data

Description

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.

Usage

get_input_data(pheno)

Value

A list of SpatRasters.

Arguments

pheno

A phenology (see phenology())

Examples

Run this code
# \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