earthkit.meteo.extreme.array.cpf ================================ .. py:function:: earthkit.meteo.extreme.array.cpf(clim, ens, sort_clim=True, sort_ens=True, epsilon=None, symmetric=False, from_zero=False) Compute Crossing Point Forecast (CPF) WARNING: this code is experimental, use at your own risk! :param clim: Per-point climatology :type clim: :class:`array-like (nclim`, :class:`npoints)` :param ens: Ensemble forecast :type ens: :class:`array-like (nens`, :class:`npoints)` :param sort_clim: If True, sort the climatology first :type sort_clim: :class:`bool` :param sort_ens: If True, sort the ensemble first :type sort_ens: :class:`bool` :param epsilon: If set, use this as a threshold for low-signal regions. Ignored if `symmetric` is True :type epsilon: :class:`float` or :obj:`None` :param symmetric: If True, make CPF values below 0.5 use a symmetric computation (CPF of opposite values) :type symmetric: :class:`bool` :param from_zero: If True, start looking for a crossing from the minimum, rather than the median :type from_zero: :class:`bool` :returns: CPF values :rtype: :class:`array-like (npoints)`