write_nml: write GLM .nml for a GLM simulation

View source: R/write_nml.R

write_nmlR Documentation

write GLM .nml for a GLM simulation

Description

Creates a .nml file running a GLM simulation.

Usage

write_nml(glm_nml, file)

Arguments

glm_nml

a nml (a list) for GLM config

file

a string with the path to the glm2.nml file to write

Author(s)

Jordan S. Read

See Also

get_nml_value, read_nml

Examples

glm_nml <- read_nml()
write_path <- paste0(tempdir(),'glm2.nml')
write_nml(glm_nml, file = write_path)
print(read_nml(write_path))

USGS-R/glmtools documentation built on March 26, 2024, 5:43 p.m.