Learn R Programming

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

s2dv (version 1.1.0)

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.

Copy Link

Version

Install

install.packages('s2dv')

Monthly Downloads

405

Version

1.1.0

License

Apache License 2.0

Maintainer

An-Chi Ho

Last Published

December 17th, 2021

Functions in s2dv (1.1.0)

Cluster

K-means Clustering
AnimateMap

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

Compute anomalies in cross-validation mode
Ano

Compute forecast or observation anomalies
CDORemap

Interpolate arrays with longitude and latitude dimensions using CDO
Clim

Compute Bias Corrected Climatologies
ACC

Compute the anomaly correlation coefficient between the forecast and corresponding observation
AMV

Compute the Atlantic Multidecadal Variability (AMV) index
BrierScore

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

Show Configuration Tables And Definitions
Consist_Trend

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

Draws a Color Bar
Composite

Compute composites
ConfigShowSimilarEntries

Find Similar Entries In Tables Of Datasets
ConfigFileOpen

Functions To Create Open And Save Configuration File
ConfigApplyMatchingEntries

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

Add, Remove Or Edit Entries In The Configuration
ConfigEditDefinition

Add Modify Or Remove Variable Definitions In Configuration
GSAT

Compute the Global Surface Air Temperature (GSAT) anomalies
Histo2Hindcast

Chunk long simulations for comparison with hindcasts
Load

Loads Experimental And Observational Data
MeanDims

Average an array along multiple dimensions
Eno

Compute effective sample size with classical method
GMST

Compute the Global Mean Surface Temperature (GMST) anomalies
EOF

Area-weighted empirical orthogonal function analysis using SVD
Corr

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

Filter frequency peaks from an array
InsertDim

Add a named dimension to an array
LeapYear

Checks Whether A Year Is Leap Year
PlotClim

Plots Climatologies
Plot2VarsVsLTime

Plot two scores with confidence intervals in a common plot
Persistence

Compute persistence
NAO

Compute the North Atlantic Oscillation (NAO) Index
PlotAno

Plot Anomaly time series
PlotLayout

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

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

Compute the ratio between the RMSE of two experiments
PlotVsLTime

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

Calculate ratio of predictable components (RPC)
StatSeasAtlHurr

Compute estimate of seasonal mean of Atlantic hurricane activity
TPI

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

Plot Plumes/Timeseries Of Anomaly Correlation Coefficients
RandomWalkTest

Random walk test for skill differences
ProbBins

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

Compute the South Pacific Ocean Dipole (SPOD) index
EuroAtlanticTC

Teleconnection indices in European Atlantic Ocean region
Season

Compute seasonal mean
ProjectField

Project anomalies onto modes of variability
Regression

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

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

Reorder the dimension of an array
PlotEquiMap

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

Plots A Vertical Section
SignalNoiseRatio

Calculate Signal-to-noise ratio
PlotMatrix

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

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

Compute the ratio between the ensemble spread and RMSE
RMS

Compute root mean square error
RMSSS

Compute root mean square error skill score
Smoothing

Smooth an array along one dimension
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.
Trend

Compute the trend
Spectrum

Estimate frequency spectrum
sampleDepthData

Sample of Experimental Data for Forecast Verification In Function Of Latitudes And Depths
s2dv-package

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

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

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

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

Compute Brier scores
clim.palette

Generate Climate Color Palettes