def test_ensemblestats_excprob(X, X_thr, ignore_nan, expected):
    """Test ensemblestats excprob."""
    assert_array_almost_equal(excprob(X, X_thr, ignore_nan), expected)
Test ensemblestats excprob.
pysteps/tests/test_postprocessing_ensemblestats.py