pastclim_rast | R Documentation |
This function is a wrapper around terra::rast()
, with additional logic
to correctly import time for vrt datasets (time is stored as custom metadata
in pastclim-generated vrt files)
pastclim_rast(
x,
bio_var_orig,
bio_var_pastclim,
var_longname = NULL,
var_units = NULL
)
x |
filename of the raster |
bio_var_orig |
the variable name as present in the file |
bio_var_pastclim |
the variable name as used by pastclim (thus allowing us to rename the variable) |
a terra::SpatRaster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.