Skip to contents

Get the file paths needed to derive a variable.

Usage

get_files(x, y, ...)

# S4 method for Mod09ga,ANY
get_files(x, variable)

# S4 method for Daymet,Cropmaps
get_files(x, y, variable, varxy)

Arguments

x

S4 object. A product of interest.

y

S4 object. A product of interest.

...

extra arguments.

variable

character. The variable of interest.

varxy

character. Variables used to derive variable.

Value

A vector or list with the paths required by derive.

Examples

if (FALSE) {
# Define required variables
region <- Region(name = "nebraska", type = "us state",
                 div = c(country = "United States", state = "Nebraska"))
date <- date_seq("2002-01-01", "2002-12-31")

# Create the object
x <- new("Mod09ga", region = region, date = date)

# Get the files
get_files(x, "ndvi")
}