warn.var: Warn or stop execution if mandatory meteorology input...

Description Usage Arguments Note

View source: R/0-Functions.R

Description

Help to explain which variable is missing and/or if there are replacements

Usage

1
warn.var(Var, replacement, type = "error")

Arguments

Var

Input variable name

replacement

Replacement variable that is used to compute "Var"

type

Type of error to return : either

Note

This function helps to debug the model when some mandatory meteorological variables are missing from input: either an error (default), or a warning. If "replacement" is not provided in the meteorology file either, this function will return an error with a hint on which variables can be provided to compute "Var"


VEZY/DynACof documentation built on Feb. 3, 2021, 8:52 p.m.