sets values in nml object
set_nml.Rd
This function sets values in nml object for GLM config.
Examples
if (FALSE) { # \dontrun{
sim_folder <- run_example_sim(verbose = FALSE)
nml_file <- file.path(sim_folder, 'glm3.nml')
glm_nml <- read_nml(nml_file)
get_nml_value(glm_nml, arg_name = 'Kw')
glm_nml <- set_nml(glm_nml, arg_name = 'Kw', arg_val = 1.4)
glm_nml <- set_nml(glm_nml, arg_list = list('Kw' = 1.4))
print(glm_nml)
} # }