Display information about all variables in netCDF file

Description

This function returns different summary information about all variables in a netCDF file.

Usage

1
2
infoNcdfVars(file.con, order.var = c("id", "name")[2], info.ext = FALSE, 
    dimvars = FALSE)

Arguments

file.con

a NetCDF object pointing to the respective netCDF file.

order.var

character vector: Whether to sort the variables according to their name (default) or id.

info.ext

logical: whether to compute ranges/means etc. for the variables. Setting this to TRUE may take a while to compute with large files.

dimvars

logical: whether to include the coordinate variables in the output.

Value

a dataframe with the different information in its columns and each variable in one row.

Author(s)

Jannis v. Buttlar

See Also

infoNcdfDims, infoNcdfAtts

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.