MultiMetric {CSTools}R Documentation

Multiple Metrics applied in Multiple Model Anomalies

Description

This function calculates correlation (Anomaly Correlation Coefficient; ACC), root mean square error (RMS) and the root mean square error skill score (RMSSS) of individual anomaly models and multi-models mean (if desired) with the observations on arrays with named dimensions.

Usage

MultiMetric(
  exp,
  obs,
  metric = "correlation",
  multimodel = TRUE,
  time_dim = "ftime",
  memb_dim = "member",
  sdate_dim = "sdate"
)

Arguments

exp

a multidimensional array with named dimensions.

obs

a multidimensional array with named dimensions.

metric

a character string giving the metric for computing the maximum skill. This must be one of the strings 'correlation', 'rms' or 'rmsss.

multimodel

a logical value indicating whether a Multi-Model Mean should be computed.

time_dim

name of the temporal dimension where a mean will be applied. It can be NULL, the default value is 'ftime'.

memb_dim

name of the member dimension. It can be NULL, the default value is 'member'.

sdate_dim

name of the start date dimension or a dimension name identifiying the different forecast. It can be NULL, the default value is 'sdate'.

Value

a list of arrays containing the statistics of the selected metric in the element $data which is a list of arrays: for the metric requested and others for statistics about its signeificance. The arrays have two dataset dimensions equal to the 'dataset' dimension in the exp$data and obs$data inputs. If multimodel is TRUE, the greatest position in the first dimension correspons to the Multi-Model Mean.

Author(s)

Mishra Niti, niti.mishra@bsc.es

Perez-Zanon Nuria, nuria.perez@bsc.es

References

Mishra, N., Prodhomme, C., & Guemas, V. (n.d.). Multi-Model Skill Assessment of Seasonal Temperature and Precipitation Forecasts over Europe, 29-31.https://link.springer.com/10.1007/s00382-018-4404-z

See Also

Corr, RMS, RMSSS and CST_Load

Examples

res <- MultiMetric(lonlat_data$exp$data, lonlat_data$obs$data)

[Package CSTools version 4.0.1 Index]