vrt_set_meta: Set vrt metadata

vrt_set_metaR Documentation

Set vrt metadata

Description

This function sets the metadata information to a vrt file. It creates some dataset wide metadata, as well as band specific descriptions and times.

Usage

vrt_set_meta(vrt_path, description, time_vector, time_bp = TRUE)

Arguments

vrt_path

path to the XML file defining the vrt dataset

description

a string with the description of the variable in this dataset

time_vector

a vector of descriptions (same length as the number of bands)

time_bp

boolean defining whether time is in BP or (if FALSE) CE

Value

TRUE if the file was updated correctly, FALSE if the update failed


EvolEcolGroup/pastclim documentation built on Nov. 8, 2024, 5:21 a.m.