print.ncv {ncvar}R Documentation

Print Summary Information About a NetCDF Dataset

Description

Print summary information about a NetCDF dataset.

Usage

print.ncv(x, ...)

Arguments

x Object of class "var.ncv" or "att.ncv".
... Arguments passed to or from other methods (not used)

Details

This function prints information about a NetCDF dataset. This includes a list of all dimensions and their length, a list of all variables and their attributes (including their values) and a list of all global attributes (including their values).

The output of this function is almost identical with a "ncdump -h" call.

Value

Author(s)

Juerg Schmidli

References

http://www.unidata.ucar.edu/packages/netcdf/

Examples

## Create example file
foo.ncv()

## Read variable
temp <- var.get.ncv(paste(tempdir(),"/foo.nc",sep=""), "temperature")

print.ncv(temp)

[Package ncvar version 1.0-3 Index]