Skip to contents

Internal helper for creating terra layers

Internal helper for creating terra layers

Usage

.make_rast(file, wrld, vars, varname)

.make_rast(file, wrld, vars, varname)

Arguments

file

CRU .dat.gz file path.

wrld

Empty terra::rast template.

vars

Named logical vector of CRU variable selections.

Value

A terra::rast object for one variable.

A terra::rast object for one variable.