pysteps.verification.spatialscores.fss¶
-
pysteps.verification.spatialscores.
fss
(X_f, X_o, thr, scale)¶ Compute the fractions skill score (FSS) for a deterministic forecast field and the corresponding observation.
Parameters: - X_f : array_like
Array of shape (n,m) containing the forecast field.
- X_o : array_like
Array of shape (n,m) containing the reference field (observation).
- thr : float
Intensity threshold.
- scale : int
The spatial scale in px. In practice they represent the size of the moving window that it is used to compute the fraction of pixels above the threshold.
Returns: - out : float
The fractions skill score between 0 and 1.
References