modifyNcdfCopyAtts: Copy all attributes between different netCDF variables

Description Usage Arguments Value Author(s) See Also

View source: R/modifyNcdfCopyAtts.R

Description

modifyNcdfcopyAtts copies all attributes from one variable in a netCDF file to another variable (possibly in another file).

Usage

1
modifyNcdfCopyAtts(file.con.orig, var.orig, var.copy, file.con.copy = file.con.orig)

Arguments

file.con.orig

a NetCDF object pointing to the original netCDF file from which to copy the attributes

var.orig

the name or id of the variable FROM which to copy all attributes

var.copy

the name or id of the variable TO which to copy all attributes

file.con.copy

a NetCDF object pointing to the netCDF file to which to copy the attributes (same as file.con.orig by default)

Value

nothing is returned.

Author(s)

Jannis v. Buttlar

See Also

modifyNcdfCopyMetadata, modifyNcdfCopyVar


ncdf.tools documentation built on May 2, 2019, 5:16 p.m.