nc.get.dim.bounds.var.list {ncdf4.helpers} | R Documentation |
Get a list of names of dimension bounds variables.
Description
Get a list of names of dimension bounds variables.
Usage
nc.get.dim.bounds.var.list(f, v = NULL)
Arguments
f |
The file (an object of class |
v |
The name of the variable (a string). |
Details
Many dimension variables are not single points, but in fact represent a range along the axis. This is expressed by associated dimension bounds variables. This function returns the names of any dimension bounds variables found in a file.
Value
A character vector naming all of the dimension bounds variables found.
References
http://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#cell-boundaries
Examples
## Get list of dimension bound variables
## Not run:
f <- nc_open("pr.nc")
dim.bounds.var.list <- nc.get.dim.bounds.var.list(f)
nc_close(f)
## End(Not run)
[Package ncdf4.helpers version 0.3-6 Index]