Learn R Programming

⚠️There's a newer version (2.1.0) of this package.Take me there.

s2dv (version 1.4.1)

A Set of Common Tools for Seasonal to Decadal Verification

Description

The advanced version of package 's2dverification'. It is intended for 'seasonal to decadal' (s2d) climate forecast verification, but it can also be used in other kinds of forecasts or general climate analysis. This package is specially designed for the comparison between the experimental and observational datasets. The functionality of the included functions covers from data retrieval, data post-processing, skill scores against observation, to visualization. Compared to 's2dverification', 's2dv' is more compatible with the package 'startR', able to use multiple cores for computation and handle multi-dimensional arrays with a higher flexibility. The CDO version used in development is 1.9.8.

Copy Link

Version

Install

install.packages('s2dv')

Monthly Downloads

74

Version

1.4.1

License

GPL-3

Maintainer

An-Chi Ho

Last Published

June 4th, 2023

Functions in s2dv (1.4.1)

BrierScore

Compute Brier score, its decomposition, and Brier skill score
CDORemap

Interpolate arrays with longitude and latitude dimensions using CDO
Ano_CrossValid

Compute anomalies in cross-validation mode
AnimateMap

Animate Maps of Forecast/Observed Values or Scores Over Forecast Time
CRPS

Compute the Continuous Ranked Probability Score
Ano

Compute forecast or observation anomalies
ACC

Compute the spatial anomaly correlation coefficient between the forecast and corresponding observation
AbsBiasSS

Compute the Absolute Mean Bias Skill Score
Bias

Compute the Mean Bias
AMV

Compute the Atlantic Multidecadal Variability (AMV) index
ColorBar

Draws a Color Bar
ConfigApplyMatchingEntries

Apply Matching Entries To Dataset Name And Variable Name To Find Related Info
Composite

Compute composites
Clim

Compute Bias Corrected Climatologies
ConfigFileOpen

Functions To Create Open And Save Configuration File
ConfigEditEntry

Add, Remove Or Edit Entries In The Configuration
ConfigShowSimilarEntries

Find Similar Entries In Tables Of Datasets
CRPSS

Compute the Continuous Ranked Probability Skill Score
Cluster

K-means Clustering
ConfigEditDefinition

Add Modify Or Remove Variable Definitions In Configuration
GMST

Compute the Global Mean Surface Temperature (GMST) anomalies
EuroAtlanticTC

Teleconnection indices in European Atlantic Ocean region
Corr

Compute the correlation coefficient between an array of forecast and their corresponding observation
ConfigShowTable

Show Configuration Tables And Definitions
DiffCorr

Compute the correlation difference and its significance
GSAT

Compute the Global Surface Air Temperature (GSAT) anomalies
Eno

Compute effective sample size with classical method
Filter

Filter frequency peaks from an array
EOF

Area-weighted empirical orthogonal function analysis using SVD
Consist_Trend

Compute trend using only model data for which observations are available
Persistence

Compute persistence
PlotACC

Plot Plumes/Timeseries Of Anomaly Correlation Coefficients
LeapYear

Checks Whether A Year Is Leap Year
MeanDims

Average an array along multiple dimensions
Histo2Hindcast

Chunk long simulations for comparison with hindcasts
PlotAno

Plot Anomaly time series
InsertDim

Add a named dimension to an array
NAO

Compute the North Atlantic Oscillation (NAO) Index
Load

Loads Experimental And Observational Data
Plot2VarsVsLTime

Plot two scores with confidence intervals in a common plot
PlotLayout

Arrange and Fill Multi-Pannel Layouts With Optional Colour Bar
ProbBins

Compute probabilistic information of a forecast relative to a threshold or a quantile
ProjectField

Project anomalies onto modes of variability
PlotClim

Plots Climatologies
PlotSection

Plots A Vertical Section
PlotVsLTime

Plot a score along the forecast time with its confidence interval
PlotStereoMap

Maps A Two-Dimensional Variable On A Polar Stereographic Projection
PlotMatrix

Function to convert any numerical table to a grid of coloured squares.
PlotBoxWhisker

Box-And-Whisker Plot of Time Series with Ensemble Distribution
PlotEquiMap

Maps A Two-Dimensional Variable On A Cylindrical Equidistant Projection
RPSS

Compute the Ranked Probability Skill Score
RatioPredictableComponents

Calculate ratio of predictable components (RPC)
ROCSS

Compute the Relative Operating Characteristic Skill Score
REOF

Area-weighted empirical orthogonal function analysis with varimax rotation using SVD
RMSSS

Compute root mean square error skill score
RMS

Compute root mean square error
RPS

Compute the Ranked Probability Score
RatioSDRMS

Compute the ratio between the ensemble spread and RMSE
RandomWalkTest

Random Walk test for skill differences
RatioRMS

Compute the ratio between the RMSE of two experiments
Season

Compute seasonal mean or other calculations
Spread

Compute interquartile range, maximum-minimum, standard deviation and median absolute deviation
Regression

Compute the regression of an array on another along one dimension.
StatSeasAtlHurr

Compute estimate of seasonal mean of Atlantic hurricane activity
Spectrum

Estimate frequency spectrum
Smoothing

Smooth an array along one dimension
Reorder

Reorder the dimension of an array
SignalNoiseRatio

Calculate Signal-to-noise ratio
SPOD

Compute the South Pacific Ocean Dipole (SPOD) index
ResidualCorr

Compute the residual correlation and its significance
ToyModel

Synthetic forecast generator imitating seasonal to decadal forecasts. The components of a forecast: (1) predictabiltiy (2) forecast error (3) non-stationarity and (4) ensemble generation. The forecast can be computed for real observations or observations generated artifically.
clim.palette

Generate Climate Color Palettes
s2dv-package

s2dv: A Set of Common Tools for Seasonal to Decadal Verification
TPI

Compute the Tripole Index (TPI) for the Interdecadal Pacific Oscillation (IPO)
Trend

Compute the trend
UltimateBrier

Compute Brier scores
sampleTimeSeries

Sample Of Observational And Experimental Data For Forecast Verification As Area Averages
sampleDepthData

Sample of Experimental Data for Forecast Verification In Function Of Latitudes And Depths
sampleMap

Sample Of Observational And Experimental Data For Forecast Verification In Function Of Longitudes And Latitudes