get_node_var | R Documentation |
list_vars
.Get variables for a set of nodes. This is a convenience
function that provides a means for getting a vector of values at a given
sigma layer (or level) and time. Note that the dimensions a
variable uses varies - see list_vars
.
get_node_var(
x,
var = "zeta",
node = seq_len(fvcom_count(x, "nodes")),
y = 1,
time = 1,
y_transform = FALSE
)
x |
FVCOM ncdf4 object |
var |
charcater the name of the variable. Not all variables are handled by this function. |
node |
integer one or more 1-based node ID(s). These must form a contiguous sequence of node identifers |
y |
integer a single 1-based index into siglay, or sigelev |
time |
either a single 1-based integer of POSIXct |
y_transform |
logical, if convert y from sigma to integer? Note that time is auto-converted |
tibble of node id and values - one row for each node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.