print.ncdf {ncdf} | R Documentation |
Prints information about a netCDF file, including the variables and dimensions it contains.
print.ncdf( x, ... )
x |
An object of class "ncdf". |
... |
Extra arguments are passed to the generic print function. |
NetCDF files contain variables, which themselves have dimensions.
This routine prints out useful information about a netCDF file's
variables and dimensions. It is overloaded on the regular print
function, so if "nc" is an object of class "ncdf", then just
calling print(nc)
will suffice. Objects of class
"ncdf" are returned from open.ncdf
.
David W. Pierce dpierce@ucsd.edu
http://www.unidata.ucar.edu/packages/netcdf/
# Open a netCDF file, print information about it nc <- open.ncdf( "salinity.nc" ) print(nc)