checkModelType: Check model type

Description Usage Arguments Value

Description

Checks the consistency between the model string and the type assigned (e.g., to avoid defining ERA-Interim as a seasonal forecast).

Usage

1
checkModelType(model, model.type)

Arguments

model

model string, as read from the parameters file

model.type

Model type. Accepted values are "hindcast", "forecast" and "ref"

Value

Acts silently. Stops the execution if the check is not fulfilled


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