cdfcont {clim.pact}R Documentation

netCDF names and dimensions.

Description

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.

Usage

cdfcont(filename)

Arguments

filename name of netCDF file.

Value

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)

Author(s)

R.E. Benestad

Examples






[Package Contents]