NCL Website header
NCL Home > Documentation > Functions > General applied math, Statistics

dim_variance_Wrap

Computes unbiased estimates of the variance of a variable's rightmost dimension at all other dimensions and retains metadata.

Prototype

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"  ; not needed from 6.2.0 onward
                                                           ; contributed.ncl is automatically loaded

	function dim_variance_Wrap (
		x  : numeric   
	)

	return_val  :  float or double

Arguments

x

A variable of numeric type and any dimensionality.

Description

This function is identical to dim_variance, except the return value will have metadata added based on metadata attached to x. See the dim_variance page for full documentation and examples.