insert_in_worldfile: Insert in Worldfile

View source: R/insert_in_worldfile.R

insert_in_worldfileR Documentation

Insert in Worldfile

Description

Inserts new state variables and values into a worldfile at specified location(s).

Usage

insert_in_worldfile(
  world_in,
  world_out,
  insert,
  insert_loc,
  return_data = FALSE,
  overwrite = FALSE
)

Arguments

world_in

Path to input worldfile. Cannot create from scratch (use RHESSysPreprocessing)

world_out

Path to output worldfile. If set to FALSE, no file will be written.

insert

Character vector of length = 2, containing state variable and value to be inserted into a worldfile.

insert_loc

Location, in the form of an existing state variable name, for a new state variable(s) to be inserted following.

return_data

TRUE/FALSE should an R data object be returned.

overwrite

TRUE/FALSE should output worldfile overwrite existing file.

Author(s)

Will Burke


ryanrbart/rhessysR documentation built on March 29, 2024, 4:30 p.m.