Utility function to collect all the variable names from an open netCDF file.
collect_variables.Rd
Utility function to collect all the variable names from an open netCDF file.
Examples
if (FALSE) { # \dontrun{
the_nc_obj <- ncdf4::nc_open("path/to/netCDF/file.nc")
collect_variables(the_nc_obj, nodes = TRUE)
} # }