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


Computes the sample standard deviation of a variable's given dimension(s) at all other dimensions and retains metadata.

Available in version 5.1.1 and later.


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.

	function dim_stddev_n_Wrap (
		x        : numeric,  
		dims [*] : integer   

	return_val  :  float or double



A variable of numeric type and any dimensionality.


The dimension(s) of x on which to calculate the standard deviation. Must be consecutive and monotonically increasing.


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