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 field.

Parameters:
X_f : array_like

Array of shape (m, n) containing the forecast field.

X_o : array_like

Array of shape (m, n) containing the observation field.

thr : float

The intensity threshold.

scale : int

The spatial scale in pixels. In practice, the scale represents 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

[RL2008], [EWWM2013]