NCL Home > Documentation > Functions > Climatology


Calculates monthly anomalies by subtracting the long term mean from each point (lev,lat,lon,time version)


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 calcMonAnomLLLT (
		x     [*][*][*][*] : numeric,  
		xAve [*][*][*][12] : numeric   

	return_val [dimsizes(x)] :  numeric



A four-dimensional array of any numeric type. Dimensions must be lev,lat, lon, time. The time dimension must be a multiple of 12.


A four-dimensional array equal to the monthly averages of x. The leftmost three dimensions are lev,lat,lon, while the rightmost must be of size 12.

Return value

An array of the same size and type as x.


Calculates climatological anomalies by subtracting the long term mean from each point. Assumes monthly data. If the input data contains metadata (e.g. coordinate variables and attributes), these will be retained.

See Also

calcMonAnomLLT, calcMonAnomTLL, clmMonLLT, clmMonLLLT, clmMonTLL, clmMonTLLL


No examples are available for this function. See the example for the similar function calcMonAnomLLT.