Description Usage Arguments Details Value References Examples
Get a list of dimension variables and axes for a variable's coordinate variable.
1 | nc.get.coordinate.axes(f, v)
|
f |
The file (an object of class |
v |
The name of a variable |
The CF metadata standard defines a convention for definining 2-dimensional variables to accompany pairs of dimension variables. Usually these are latitude and longitude variables, and accompany projected grids. This function returns a named list of axes, the names of which are the associated dimension variables.
A named character vector containing axes, the names of which are the corresponding dimension variables.
1 2 3 4 5 6 7 | ## Get coordinate axes from file.
## Not run:
f <- nc_open("pr.nc")
coord.axes <- nc.get.coordinate.axes(f, "pr")
nc_close(f)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.