NCL Home > Documentation > Functions > Metadata routines

copy_VarCoords_1

Copies all named dimensions and coordinate variables from one variable to another except for the rightmost dimension.

Prototype

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

	procedure copy_VarCoords_1 (
		var_from  ,    
		var_to         
	)

Arguments

var_from

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

var_to

An array of any dimensionality.

Description

This procedure copies all named dimensions and coordinate variables from one variable to another except for the rightmost dimension.

See Also

There are many metadata tools.