| nc.get.variable.list | R Documentation | 
Get a list of names of data variables.
nc.get.variable.list(f, min.dims = 1)
| f | The file (an object of class  | 
| min.dims | The minimum number of dimensions a variable must have to be included. | 
This function returns the names of any data variables found in the file – that is, variables which are NOT dimension variables, dimension bounds variables, climatology bounds variables, coordinate variables, or grid mapping variables.
Optionally, one may require that the variables have a minimum number of dimensions; this can eliminate unwanted variables left in files.
A character vector naming all of the data variables found.
## Get dimension axes from file by inferring them from dimension names
## Not run: 
f <- nc_open("pr.nc")
var.list <- nc.get.variable.list(f)
nc_close(f)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.