| cdfcont {clim.pact} | R Documentation |
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 library.
cdfcont(filename)
filename |
name of netCDF file. |
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)
R.E. Benestad