ens_reliability: Reliability for an ensemble.

View source: R/ens_reliability.R

ens_reliabilityR Documentation

Reliability for an ensemble.

Description

Reliability for an ensemble.

Usage

ens_reliability(
  .fcst,
  parameter,
  thresholds,
  groupings = "leadtime",
  climatology = "sample",
  rel_probs = NA,
  show_progress = FALSE
)

Arguments

.fcst

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

parameter

The name of the column for the observed data.

thresholds

A numeric vector of thresholds for which to compute the reliability.

groupings

The groups for which to compute the ensemble mean and spread. 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 leadtime.

rel_probs

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

Value

A data frame with data grouped for the groupings column(s) and a nested column for reliability. The column can be unnested with unnest.


andrew-MET/harpPoint documentation built on Feb. 23, 2023, 1:06 a.m.