vrt_set_meta {pastclim}R 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


[Package pastclim version 2.1.0 Index]