Skip to contents

Reliability for an ensemble.

Usage

ens_reliability(
  .fcst,
  parameter,
  thresholds,
  groupings = "lead_time",
  climatology = "sample",
  rel_probs = NA,
  show_progress = TRUE,
  fcst_model = NULL,
  ...
)

Arguments

.fcst

A harp_df or harp_list object with tables that have a column for observations, or a single forecast table.

parameter

The name of the column for the observations data. Can be the column name, quoted, or unquoted. If a variable it should be embraced - i.e. wrapped in {{}}.

thresholds

A numeric vector of thresholds for which to compute the threshold based scores. Set to NULL (the default) to only compute summary scores.

groupings

The groups for which to compute the scores. See group_by for more information of how grouping works.

climatology

The climatology to use for the Brier Skill Score. Can be "sample" for the sample climatology (the default), a named list with elements eps_model and member to use a member of an eps model in the harp_fcst object for the climatology, or a data frame with columns for threshold and climatology and also optionally lead_time.

rel_probs

Probabilities to use for reliability diagrams. Set to NA (the default) to select automatically.

show_progress

Logical - whether to show progress bars. Defaults to TRUE.

fcst_model

The name of the forecast model to use in the fcst_model column of the output. If the function is dispatched on a harp_list object, the names of the harp_list are automatically used.

...

Reserved for methods.