Learn R Programming

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

s2dv (version 0.0.1)

A Set of Common Tools for Seasonal to Decadal Verification

Description

The advanced version of package 's2dverification', which the details can be found in Manubens et al. (2018) . 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

390

Version

0.0.1

License

LGPL-3

Maintainer

An-Chi Ho

Last Published

March 8th, 2020

Functions in s2dv (0.0.1)

Corr

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

Plots A Vertical Section
PlotLayout

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

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

Loads Experimental And Observational Data
LeapYear

Checks Whether A Year Is Leap Year
PlotEquiMap

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

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

Compute effective sample size with classical method
InsertDim

Add a named dimension to an array
Season

Compute seasonal mean
RMSSS

Compute root mean square error skill score
Reorder

Reorder the dimension of an array
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.
Regression

Compute the regression of an array on another along one dimension.
s2dv-package

A Set of Common Tools for Seasonal to Decadal Verification
PlotClim

Plots Climatologies
clim.palette

Generate Climate Color Palettes
MeanDims

Average an array along multiple dimensions
RMS

Compute root mean square error
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
sampleTimeSeries

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

Compute the trend
ConfigEditEntry

Add, Remove Or Edit Entries In The Configuration
ConfigEditDefinition

Add Modify Or Remove Variable Definitions In Configuration
ConfigFileOpen

Functions To Create Open And Save Configuration File
Clim

Compute Bias Corrected Climatologies
ColorBar

Draws a Color Bar
ConfigShowSimilarEntries

Find Similar Entries In Tables Of Datasets
AnimateMap

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

Show Configuration Tables And Definitions
ConfigApplyMatchingEntries

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