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