Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Ano_CrossValid

Computes Anomalies In Cross-Validation Mode


Description

Computes the anomalies from the arrays of the experimental and observational data output from load() by subtracting the climatologies computed with a cross-validation technique and a per-pair method.

Usage

Ano_CrossValid(var_exp, var_obs, memb = TRUE)

Arguments

var_exp

Model data:
c(nmod/nexp, nmemb/nparam, nsdates, nltime) up to
c(nmod/nexp, nmemb/nparam, nsdates, nltime, nlevel, nlat, nlon).

var_obs

Observational data:
c(nobs, nmemb, nsdates, nltime) up to
c(nobs, nmemb, nsdates, nltime, nlevel, nlat, nlon).

memb

TRUE/FALSE (1 climatology for each member/1 climatology averaging all the members). Default = TRUE.

Value

$ano_exp

Matrix with same dimensions as var_exp

$ano_obs

Matrix with same dimensions as var_obs

Author(s)

History:
0.1 - 2011-12 (V. Guemas, virginie.guemas@ic3.cat) - Original code
1.0 - 2013-09 (N. Manubens, nicolau.manubens@ic3.cat) - Formatting to CRAN

Examples

# Load sample data as in Load() example:
example(Load)
anomalies <- Ano_CrossValid(sampleData$mod, sampleData$obs)
 
PlotAno(anomalies$ano_exp, anomalies$ano_obs, startDates, 
       toptitle = paste('anomalies'), ytitle = c('K', 'K', 'K'), 
       legends = 'ERSST', biglab = FALSE, fileout = 'tos_ano_crossvalid.eps')

s2dverification

Set of Common Tools for Forecast Verification

v2.10.0
Apache License 2.0
Authors
BSC-CNS [aut, cph], Virginie Guemas [aut], Nicolau Manubens [aut], An-Chi Ho [ctb, cre], Nuria Perez-Zanon [ctb], Javier Garcia-Serrano [aut], Neven Fuckar [aut], Louis-Philippe Caron [aut], Omar Bellprat [aut], Luis Rodrigues [aut], Veronica Torralba [aut], Alasdair Hunter [aut], Chloe Prodhomme [aut], Martin Menegoz [aut], Domingo Manubens [ctb], Constantin Ardilouze [ctb], Lauriane Batte [ctb], Fabian Lienert [ctb], Julia Giner [ctb], Jean-Philippe Baudouin [ctb], Nube Gonzalez [ctb], Ludovic Auger [ctb], Nicola Cortesi [ctb], Eleftheria Exarchou [ctb], Ruben Cruz [ctb], Isabel Andreu-Burillo [ctb], Ramiro Saurral [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.