tec_repeat: tec_repeat

View source: R/tec_repeat.R

tec_repeatR Documentation

tec_repeat

Description

Repeats tec events at chosen intervals. Outputs a dataframe of the events for use in the tec input for RHESSysIOinR, optionally will copy an input redefine file with generated filenames.

Usage

tec_repeat(
  start,
  end,
  interval = NULL,
  unit,
  event_name,
  world = NULL,
  redefine = NULL,
  overwrite = FALSE
)

Arguments

start

Vector containing start date. Format is "c(year,month,day,hour)".

end

Vector containing end date. Format is "c(year,month,day,hour)".

interval

Interval to repeat chosen tec event. If left NULL will be executed 1 time.

unit

Unit of time for the repeat interval

event_name

The name/type of tec event to repeat.

world

Worldfile basename to modify and repeat

redefine

Redefine file to copy and rename. If NULL no files copied.

overwrite

Should existing files be overwritten

Author(s)

Will Burke


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