This function returns a summary of all attributes of a single variable in a netCDF file.
infoNcdfAtts(file.con, var.id = "NC_GLOBAL")
a NetCDF object pointing to the respective netCDF file.
the name or id of the variable for which to display attributes.
If an id or variable name is given for 'var.id ', attributes from one variable are returned. Global attributes are returned if 'NC_GLOBAL' is given.
A matrix containing the name, value and type (columns) of all attributes (rows)
Jannis v. Buttlar