Skip to contents

Takes named list of hosts as an input. See host object in get_parameters() or load_parameters(). This is also a wrapper of crops_rast(). Function creates 2 raster object - one is a sum of all the crops specified under sources and other using the provided raster file. See tiff_torast()

Usage

get_rasters(hosts)

Arguments

hosts

List of hosts and values. It is synonym to Hosts object in parameters

Value

List of SpatRaster.

Examples

# Get default rasters
if (FALSE) {
get_rasters(list(mapspam2010 = c("wheat"), monfreda = c("avocado"), file = "some_raster.tif"))
}