pysteps.verification#
Methods for verification of deterministic, probabilistic and ensemble forecasts.
pysteps.verification.interface#
Interface for the verification module.
|
Return a callable function for the method corresponding to the given verification score. |
pysteps.verification.detcatscores#
Forecast evaluation and skill scores for deterministic categorial (dichotomous) forecasts.
|
Calculate simple and skill scores for deterministic categorical (dichotomous) forecasts. |
|
Initialize a contingency table object. |
|
Accumulate the frequency of "yes" and "no" forecasts and observations in the contingency table. |
|
Merge two contingency table objects. |
|
Compute simple and skill scores for deterministic categorical (dichotomous) forecasts from a contingency table object. |
pysteps.verification.detcontscores#
Forecast evaluation and skill scores for deterministic continuous forecasts.
|
Calculate simple and skill scores for deterministic continuous forecasts. |
|
Initialize a verification error object. |
|
Accumulate the forecast error in the verification error object. |
|
Merge two verification error objects. |
|
Compute simple and skill scores for deterministic continuous forecasts from a verification error object. |
pysteps.verification.ensscores#
Evaluation and skill scores for ensemble forecasts.
|
Compute mean ensemble skill for a given skill metric. |
|
Compute mean ensemble spread for a given skill metric. |
|
Compute a rank histogram counts and optionally normalize the histogram. |
|
Initialize a rank histogram object. |
|
Accumulate forecast-observation pairs to the given rank histogram. |
|
Return the rank histogram counts and optionally normalize the histogram. |
pysteps.verification.lifetime#
Estimation of precipitation lifetime from a decaying verification score function (e.g. autocorrelation function).
|
Compute the average lifetime by integrating the correlation function as a function of lead time. |
|
Initialize a lifetime object. |
|
Compute the lifetime by integrating the correlation function and accumulate the result into the given lifetime object. |
|
Compute the average value from the lifetime object. |
pysteps.verification.plots#
Methods for plotting verification results.
|
Plot a intensity-scale verification table with a color bar and axis labels. |
|
Plot a rank histogram. |
|
Plot a reliability diagram. |
|
Plot a ROC curve. |
pysteps.verification.probscores#
Evaluation and skill scores for probabilistic forecasts.
|
Compute the continuous ranked probability score (CRPS). |
Initialize a CRPS object. |
|
|
Compute the average continuous ranked probability score (CRPS) for a set of forecast ensembles and the corresponding observations and accumulate the result to the given CRPS object. |
|
Compute the averaged values from the given CRPS object. |
|
Compute the x- and y- coordinates of the points in the reliability diagram. |
|
Initialize a reliability diagram object. |
|
Accumulate the given probability-observation pairs into the reliability diagram. |
|
Compute the x- and y- coordinates of the points in the reliability diagram. |
|
Compute the ROC curve and its area from the given ROC object. |
|
Initialize a ROC curve object. |
|
Accumulate the given probability-observation pairs into the given ROC object. |
|
Compute the ROC curve and its area from the given ROC object. |
pysteps.verification.salscores#
The Spatial-Amplitude-Location (SAL) score by [WPHF08].
|
Compute the Structure-Amplitude-Location (SAL) spatial verification metric. |
|
Compute the structure component for SAL based on [WPHF08]. |
|
Compute the amplitude component for SAL based on [WPHF08]. |
|
Compute the first parameter of location component for SAL based on [WPHF08]. |
pysteps.verification.spatialscores#
Skill scores for spatial forecasts.
|
Compute an intensity-scale verification score. |
|
Initialize an intensity-scale verification object. |
|
Compute and update the intensity-scale verification scores. |
|
Merge two intensity-scale verification objects. |
|
Return the intensity scale matrix. |
|
Compute the MSE of the binary error as a function of spatial scale. |
|
Initialize a binary MSE (BMSE) verification object. |
|
Accumulate forecast-observation pairs to an BMSE object. |
|
Merge two BMSE objects. |
|
Compute the BMSE. |
|
Compute the fractions skill score (FSS) for a deterministic forecast field and the corresponding observation field. |
|
Initialize a fractions skill score (FSS) verification object. |
|
Accumulate forecast-observation pairs to an FSS object. |
|
Merge two FSS objects. |
|
Compute the FSS. |