parseInit: Parse init dates

Description Usage Arguments Details Value

Description

Interpret the initialization codes to readable dates (with obvious limitations, see Details)

Usage

1
parseInit(init, model.type, par.list)

Arguments

init

Initialization time, as defined in the parameter file (fcXXXX)

model.type

Type of model. Accepted values are either "forecast" or "hindcast"

par.list

Parameter list, as directly read from the parameter yaml file

Details

The function will return the initialization time at the month level, assuming the first of each month (note that proper initialization times should provide subdaily detail, but these won't be used by the QA4Seas prototype).

Value

A Date-class vector of initialization dates (this will have length one in the case of operative forecasts).


Predictia/metaclipR.qa4seas documentation built on May 9, 2019, 3:28 a.m.