Learn R Programming

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

s2dverification (version 2.10.1)

Set of Common Tools for Forecast Verification

Description

Set of tools to verify forecasts through the computation of typical prediction scores against one or more observational datasets or reanalyses (a reanalysis being a physical extrapolation of observations that relies on the equations from a model, not a pure observational dataset). Intended for seasonal to decadal climate forecasts although can be useful to verify other kinds of forecasts. The package can be helpful in climate sciences for other purposes than forecasting. To find more details, see the review paper Manubens, N.et al. (2018) .

Copy Link

Version

Install

install.packages('s2dverification')

Monthly Downloads

130

Version

2.10.1

License

Apache License 2.0

Maintainer

An-Chi Ho

Last Published

February 22nd, 2022

Functions in s2dverification (2.10.1)

Cluster

K-means Clustering
Clim

Computes Bias Corrected Climatologies
ArrayToNetCDF

Save multidimensional R arrays into NetCDF files
AnimateMap

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

Computes Forecast or Observed Anomalies
Ano_CrossValid

Computes Anomalies In Cross-Validation Mode
BrierScore

Compute Brier Score And Its Decomposition And Brier Skill Score
CDORemap

Interpolates arrays with longitude and latitude dimensions using CDO
Alpha

Estimates AutoCorrelation At Lag 1 following Guemas et al, BAMS, 2013b
ACC

Computes Anomaly Correlation Coefficient
ConfigShowSimilarEntries

Find Similar Entries In Tables Of Datasets
Composite

Computes composites
ColorBar

Draws a Color Bar
Enlarge

Extends The Number Of Dimensions of A Matrix
EOF

Area-Weighted Empirical Orthogonal Function Analysis Using SVD
IniListDims

Creates A List Of Integer Ranges
Corr

Computes the correlation coefficient between an array of forecasts and their corresponding observations
Histo2Hindcast

Chunks Long Simulations For Comparison With Hindcasts
Consist_Trend

Computes Trends Using Only Model Data For Which Observations Are Available
ConfigEditEntry

Add, Remove Or Edit Entries In The Configuration
ConfigFileOpen

Functions To Create Open And Save Configuration File
ConfigShowTable

Show Configuration Tables And Definitions
FitAutocor

Fits an AR1 Autocorrelation Function Using Dichotomy
PlotACC

Plot Plumes/Timeseries Of Anomaly Correlation Coefficients
GenSeries

Generates An AR1 Time Series
ConfigApplyMatchingEntries

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

Plot Raw Or Smoothed Anomalies
ConfigEditDefinition

Add Modify Or Remove Variable Definitions In Configuration
Filter

Filter Frequency Peaks From An Array
FitAcfCoef

Fits an AR1 AutoCorrelation Function Using the Cardano Formula
PlotClim

Plots Climatologies
Eno

Computes Effective Sample Size With Classical Method
PlotBoxWhisker

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

Adds A Dimension To An Array
RMS

Computes Root Mean Square Error
EnoNew

Computes Effective Sample Size Following Guemas et al, BAMS, 2013b
Load

Loads Experimental And Observational Data
PlotVsLTime

Plots A Score Along The Forecast Time With Its Confidence Interval
PlotStereoMap

Maps A Two-Dimensional Variable On A Polar Stereographic Projection
.LoadDataFile

Load Data From File Into Environment
NAO

Computes the North Atlantic Oscillation (NAO) Index
PlotMatrix

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

Generate Climate Color Palettes
RatioRMS

Computes the Ratio Between The RMSE of Two Experiments
RatioSDRMS

Computes the ratio between the ensemble spread and RMSE
PlotSection

Plots A Vertical Section
Plot2VarsVsLTime

Plot Two Scores With Confidence Intervals In A Common Plot
Mean1Dim

Averages An Array Along A Dimension
PlotEquiMap

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

Averages An Array Along Multiple Dimensions
PlotLayout

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

Computes Probabilistic Information of a Forecast Relative to a Threshold or a Quantile
Season

Computes Seasonal Means
ProjectField

Project Anomalies onto Modes of Variability
Regression

Computes The Regression Of An Array On Another Along A Dimension
sampleDepthData

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

Single Value Decomposition (Maximum Covariance Analysis)
LeapYear

Checks Whether A Year Is Leap Year
s2dverification

Set of Common Tools for Forecast Verification
Smoothing

Smoothes An Array Along A Dimension
sampleTimeSeries

Sample Of Observational And Experimental Data For Forecast Verification As Area Averages
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.
Subset

Subset a Data Array
Spectrum

Estimates Frequency Spectrum
StatSeasAtlHurr

Compute estimate of seasonal mean of Atlantic hurricane activity
Spread

Computes InterQuartile Range, Maximum-Minimum, Standard Deviation and Median Absolute Deviation of the Ensemble Members
RMSSS

Computes Root Mean Square Skill Score
SelIndices

Slices A Matrix Along A Dimension
sampleMap

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

Computes the Trend of the Ensemble Mean
UltimateBrier

Computes Brier Scores