pysteps.verification.ensscores.rankhist_accum

pysteps.verification.ensscores.rankhist_accum(rankhist, X_f, X_o)

Accumulate forecast-observation pairs to the given rank histogram.

Parameters:
rankhist : dict

The rank histogram object.

X_f : array-like

Array of shape (k,m,n,…) containing the values from an ensemble forecast of k members with shape (m,n,…).

X_o : array_like

Array of shape (m,n,…) containing the observed values corresponding to the forecast.