pyPDAF.PDAF.diag_CRPS_nompi

pyPDAF.PDAF.diag_CRPS_nompi()

A continuous rank probability score for an ensemble without using MPI parallelisation.

The implementation is based on [1].

References

Parameters:
  • element (int) – ID of element to be used If element=0, mean values over all elements are computed

  • oens (ndarray[tuple[dim, dim_ens], np.float64]) –

    State ensemble

    The1st-th dimension dim is PE-local state dimension; the2nd-th dimension dim_ens is Ensemble size.

  • obs (ndarray[tuple[dim], np.float64]) –

    State ensemble

    The array dimension dim is PE-local state dimension.

Returns:

  • CRPS (float) – CRPS

  • reli (float) – Reliability

  • resol (float) – resolution

  • uncert (float) – uncertainty

  • status (int) – Status flag (0=success)