Learn R Programming

s2dverification (version 2.4.0)

Clim: Computes Per-pair/Kharin/Fuckar Climatologies

Description

This function computes climatologies from the experimental and observational matrices output from Load() using one of the following methods:
  • 1) per-pair method (Garcia-Serrano and Doblas-Reyes, CD, 2012)
2) Kharin method (Karin et al, GRL, 2012) 3) Fuckar method (Fuckar et al, GRL, 2014)

Usage

Clim(var_exp, var_obs, memb = TRUE, kharin = FALSE, NDV = FALSE)

Arguments

Value

clim_expArray with same dimensions as var_exp except the third (starting dates) and, depending on the parameters, the second (members), which disappear.clim_obsArray with same dimensions as var_obs except the third (starting dates) and, depending on the parameters, the second (members), which disappear.

Examples

Run this code
# Load sample data as in Load() example:
example(Load)
clim <- Clim(sampleData$mod, sampleData$obs)
PlotClim(clim$clim_exp, clim$clim_obs, 
         toptitle = paste('sea surface temperature climatologies'), 
         ytitle = 'K', monini = 11, listexp = c('CMIP5 IC3'), 
         listobs = c('ERSST'), biglab = FALSE, fileout = 'tos_clim.eps')

Run the code above in your browser using DataLab