NCL Home > Documentation > Functions > Metadata routines

copy_VarCoords

Copies all named dimensions and coordinate variables from one variable to another.

Prototype

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"

	procedure copy_VarCoords (
		var_from  ,    
		var_to         
	)

Arguments

var_from

An array of any dimensionality. Must have named dimensions and coordinate variables. An array of any dimensionality.

Description

This procedure copies all named dimensions and coordinate variables from one variable to another.

See Also

There are many metadata tools.