get_varnames {eurocordexr} | R Documentation |
Get variable names from netcdf file
Description
Wrapper around ncdf4.helpers::nc.get.variable.list
.
Usage
get_varnames(filename)
Arguments
filename |
.nc file |
Value
vector of variable names
Examples
# example data from EURO-CORDEX (cropped for size)
fn1 <- system.file("extdata", "test1.nc", package = "eurocordexr")
get_varnames(fn1)
[Package eurocordexr version 0.2.4 Index]