NCL Website header
NCL Home > Documentation > Functions > Climatology


Calculates monthly anomalies by subtracting the long term mean from each point: (time,lev,lat,lon) 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 calcMonAnomTLLL (
		x     [*][*][*][*] : float or double,  
		xAve [12][*][*][*] : numeric           

	return_val [dimsizes(x)] :  numeric



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


A four-dimensional array equal to the monthly averages of x. The leftmost dimension must be of size 12. the three rightmost dimensions must matc the rightmost dimensions of x.

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

calcMonAnomTLL, calcMonAnomLLLT, calcMonAnomLLT, clmMonLLT, clmMonLLLT, clmMonTLL, clmMonTLLL


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