Check model name and return standardized code
Arguments
- model
Character vector of model names. Valid options are: "DYRESM-CAEDYM", "GLM-AED", "GOTM-WET", "SIMSTRAT-AED2", "SIMSTRAT-AED" or their corresponding codes "dy_cd", "glm_aed", "gotm_wet", "simstrat_aed2", "simstrat_aed".
- os_valid
Logical. If TRUE, checks if the model is valid for the current operating system.
Examples
check_model(c("GLM-AED", "gotm_wet"))
#> GLM-AED GOTM-WET
#> "glm_aed" "gotm_wet"
