xmlquery: Wrapper to CESM xmlquery

Description Usage Arguments Details Value

View source: R/xmlquery.R

Description

Conduct a xmlquery directly from R

Usage

1
xmlquery(dsn, id, fileonly = FALSE, valonly = FALSE)

Arguments

dsn

CHARACTER, path to the xml file

id

xml variable

fileonly

only print the filename where the variable is

valonly

only prints the variable value

Details

returns the content of a variable in a xml CESM file directly into an R workspace. This is only to provide a minimal way of syncrhonising R workspace variable and xmk variables for the purpose of preparing the assimilation setup. See the CESM documentation of tool about the much more flexible system xmlquery command.

Value

CHARACTER, the result of a variable in a xml CESM configuration file


garciapintado/rdafCESM documentation built on July 18, 2019, 4:41 p.m.