
mixed_layer_depth
Calculates a quantity derived from the Potential Density of significance. (Documentation under construction.)
Available in version 6.1.0 and later.
Prototype
function mixed_layer_depth ( pot_density : numeric, kmt [*][*] : integer, ht [*][*] : numeric, depth [*] : numeric, offset [1] : numeric ) return_val [dimsizes(ht)] : float or double
Arguments
pot_densityAn array of at least three dimensions containing potential density. The last two dimensions of the array must have the same number of elements as the dimensions of arguments kmt and ht.
kmtA two-dimensional integer array that contains the index of the lowest valid level at each horizontal location. Its dimension sizes must match those of ht and the last two dimensions of pot_density.
htA two-dimensional float or double array that contains the depth at each horizontal location. Its dimension sizes must match those of kmt and the last two dimensions of pot_density.
depthA one-dimensional array containing the depth coordinate value for the third to the last dimension of the pot_density array.
offsetA scalar quantity that provides a criterion to quantify the depth of the mixed layer at each horizontal location.
Return value
If pot_density is double, then the return array will be double; otherwise, the return array will be float.
Description
This function calculates the oceanic mixed layer depth for each horizontal location.
Examples
Example 1:
Example 2: