IOin_rhessys_input: IOin_rhessys_input

View source: R/IOin_rhessys_input.R

IOin_rhessys_inputR Documentation

IOin_rhessys_input

Description

Basic inputs to run RHESSys

Usage

IOin_rhessys_input(
  version,
  tec_file,
  world_file,
  world_hdr_prefix,
  flowtable,
  start,
  end,
  output_folder,
  output_prefix,
  commandline_options,
  prefix_command = NULL
)

Arguments

version

Path to compiled RHESSys binary.

tec_file

Path and name of input tec file. If also supplying a dataframe of tec events as created via IOin_tec_std() to run_rhessys_single(), a new directory will be created at the supplied path and name, with a new tec file within it. If not supplying a dataframe of tec events, this input refers to an existing tec file to be used.

world_file

Path and name of input world file.

world_hdr_prefix

Path and name for new folder where newly created hdr files will go.

flowtable

Path and name of input tec file.

start

Start date of simulation.

end

End date of simulation.

output_folder

Path to folder where simulation output will go.

output_prefix

Prefix for output files.

commandline_options

Commandline options to be passed to RHESSys, e.x. '-g' or '-p'

prefix_command

A shell command to be run previous to the RHESSys command line call. This can be used to source a shell script, which itself can run multiple commands if needed.

Author(s)

Will Burke


ryanrbart/RHESSysIOinR documentation built on March 30, 2024, 11:15 p.m.