getPercentageSimilarDates: Get the percentage of similar analogue dates between...

Description Usage Arguments Value Examples

View source: R/analyseMultipleRuns.R

Description

Get the percentage of similar analogue dates between reanalyses per method

Usage

1
2
getPercentageSimilarDates(directory, predictandDB, datasets, methods, period,
  q.threshold)

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".

q.threshold

Optional precipitation threshold (for target dates). It is expressed as a quantile of days with precipitation (put -1 to ignore)

Value

Dataframe with the percentage of similar analogue dates

Examples

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

## End(Not run)

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