getCrpssThresholds: Process the CRPSS conditionally to predictand thresholds

Description Usage Arguments Value Examples

View source: R/analyseMultipleRuns.R

Description

Process the CRPSS of multiple methods / datasets conditionally to predictand thresholds

Usage

1
2
getCrpssThresholds(directory, predictandDB, datasets, methods, period,
  startYear, endYear)

Arguments

directory

Root directory of multiple runs.

predictandDB

Path to the predictand DB.

datasets

List of datasets (must be used as folder names - e.g. /JRA-55/)

methods

List of methods (must be used as folder names - e.g. /4Z/)

period

Either "calibration" or "validation".

startYear

First year of the total period.

endYear

Last year of the total period.

Value

Dataframe with CRPSS scores for every method / dataset.

Examples

1
2
3
4
5
6
## Not run: 
datasets <- c('CFSR', 'ERA-20C', 'JRA-55')
methods <- c('2Z', '4Z', '4Z-2MI')
stations <- atmoswing::getCrpssThresholds('path/to/runs', 'path/to/db', datasets, methods, 'validation', 1981, 2010)

## End(Not run)

atmoswing/R-toolbox documentation built on Nov. 8, 2019, 3:49 p.m.