cdfcont              package:clim.pact              R Documentation

_n_e_t_C_D_F _n_a_m_e_s _a_n_d _d_i_m_e_n_s_i_o_n_s.

_D_e_s_c_r_i_p_t_i_o_n:

     Obtains the variable names and dimension names from a netCDF file.
     This routine provides some of the information returned by
     'names.netCDF', however this function does not depend on the
     'netCDF' package. If it doesn't work, make sure to set the path to
     include the location of 'ncdump' and 'ncgen' (two netCDF
     executables, usually under a netcdf direcory). Alternatively, set
     the 'path'.

_U_s_a_g_e:

     cdfcont(filename,path="")

_A_r_g_u_m_e_n_t_s:

filename: name of netCDF file.

    path: Path to the location where 'ncdump' and 'ncgen' are located.

_V_a_l_u_e:

     a list object containing two character vectors: 'vars' and 'dims'
     holding the names of the variables and dimensions. 'dims' gives
     the dimensions for each of the variable, and may contain several
     names within the same string, separated by a comma, eg.
     "LONS","LATS",and "LATS, LONS" ('strsplit("TIME, LATS, LONS",",
     ")' can be used to split up these variables into seperate names).
     'time.origin' returns the time_origin, 'add.offset' gives the
     'add_offset' attribute, and 'scale.factor' gives the scale_factor.

_A_u_t_h_o_r(_s):

     R.E. Benestad

_E_x_a_m_p_l_e_s:

