pysteps.verification.ensscores.ensemble_skill¶
-
pysteps.verification.ensscores.ensemble_skill(X_f, X_o, metric, **kwargs)¶ Compute mean ensemble skill for a given skill metric.
Parameters: - X_f : array-like
Array of shape (l,m,n) containing the forecast fields of shape (m,n) from l ensemble members.
- X_o : array_like
Array of shape (m,n) containing the observed field corresponding to the forecast.
- metric : str
The deterministic skill metric to be used (list available in
get_method())
Returns: - out : float
The mean skill of all ensemble members that is used as defintion of ensemble skill (as in Zacharov and Rezcova 2009 with the FSS).
Other Parameters: - thr : float
Intensity threshold for categorical scores.
- scale : int
The spatial scale to verify in px. In practice it represents the size of the moving window that it is used to compute the fraction of pixels above the threshold for the FSS.
References