Companion to set_glm_param() for reading current values without
needing an aeme object.
Usage
get_glm_param(path_glm, name, glm_file = find_glm_nml(path_glm))Arguments
- path_glm
filepath; directory containing the GLM-AED configuration
- name
character vector; name(s) of the nml parameter(s) to read.
- glm_file
filepath; path to the nml file to edit. Defaults to the GLM hydrodynamic nml (
glm3.nml/glm4.nml) found inpath_glmviafind_glm_nml(). Pass theaed2.nmlpath directly to edit AED parameters instead.
Examples
if (FALSE) { # \dontrun{
get_glm_param(path_glm, "Kw")
get_glm_param(path_glm, c("Kw", "coef_mix_hyp"))
} # }
