pysteps.verification.spatialscores.intensity_scale¶
-
pysteps.verification.spatialscores.
intensity_scale
(X_f, X_o, name, thrs, scales=None, wavelet='Haar')¶ Compute an intensity-scale verification score.
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 verification observation field.
- name : string
A string indicating the name of the spatial verification score to be used:
Name Description FSS Fractions skill score BMSE Binary mean squared error - thrs : sequence
A sequence of intensity thresholds for which to compute the verification.
- scales : sequence, optional
A sequence of spatial scales in pixels to be used in the FSS.
- wavelet : str, optional
The name of the wavelet function to use in the BMSE. Defaults to the Haar wavelet, as described in Casati et al. 2004. See the documentation of PyWavelets for a list of available options.
Returns: - out : array_like
The two-dimensional array containing the intensity-scale skill scores for each spatial scale and intensity threshold.