Skip to contents

Read in model configuration files for a given model and lake directory

Usage

read_model_config(model, lake_dir)

Arguments

model

character; model name ("dy_cd", "glm_aed", "gotm_wet"). Only one model at a time.

lake_dir

character; directory which contains the model configuration files.

Value

List with model configuration components. This includes a 'hydrodynamic' list with hydrodynamic model configuration and a 'bgc' list with biogeochemistry model configuration (if applicable). For model = "glm_aed", also includes 'hydrodynamic_file', the basename of the GLM nml file it was read from (e.g. "glm3.nml" or "glm4.nml").