
NCL Home >
Documentation >
Functions >
Metadata routines
copyatt
Copies all attributes, named dimensions and coordinate variables from one variable to another (deprecated version).
Prototype
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" ; This library is automatically loaded ; from NCL V6.2.0 onward. ; No need for user to explicitly load. procedure copyatt ( var_to , var_from )
Arguments
var_toAn array of any dimensionality. Must be the same size as var_from.
var_fromAn array of any dimensionality. Must have attributes, named dimensions and coordinate variables.
Description
This procedure copies all attributes, named dimensions and coordinate variables from var_from to var_to. This is a deprecated procedure; please use copy_VarMeta.
See Also
There are many metadata tools.