C4R.vocabulary.update | R Documentation |
Allows the introduction of new user defined entries in the default vocabulary
C4R.vocabulary.update(identifier, standard_name, units)
identifier |
A vector containing the identifier(s) of the new variable(s) to be appended to the dictionary. |
standard_name |
A vector containing the standard name(s) of the new variable(s) to be appended to the dictionary. |
units |
A vector containing the units of the new variable(s) to be appended to the dictionary. |
The built-in vocabulary is updated with the new entries appended at the end.
J Bedia
Standard name table of the CF convention: http://cfconventions.org/standard-names.html
C4R.vocabulary, to access the vocabulary contents
## Not run:
# Inclusion of a new variable ("Total snowfall amount")
C4R.vocabulary.update(identifier = "prsn",
standard_name = "total snowfall amount",
units = "mm")
C4R.vocabulary()
# Inclusion of 2 new variables:
C4R.vocabulary.update(identifier = c("wap", "plev"),
standard_name = c("lagrangian tendency of air pressure",
"air pressure"),
units = c("Pa.s-1", "Pa"))
C4R.vocabulary()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.