readW2ConInOut: Wrapper function for waterBalance function This function will...

View source: R/readW2ConInOut.r

readW2ConInOutR Documentation

Wrapper function for waterBalance function This function will grab inputs from CE-QUAL-W2 model (w2_con.npt file), lookup filenames, and then use them as input to the waterBalance function within the w2r package.

Description

Wrapper function for waterBalance function This function will grab inputs from CE-QUAL-W2 model (w2_con.npt file), lookup filenames, and then use them as input to the waterBalance function within the w2r package.

Usage

readW2ConInOut(
  path,
  wd,
  seg,
  wb,
  RESSIMCode,
  elvVolCrvFl,
  write.files,
  maxElvDif_m
)

Arguments

path

string # path to model

wd

string # Generic path to find functions

seg

numeric #Segment to look up in w2_con.npt

wb

numeric #Water body to look up in w2_con.npt

RESSIMCode

string #RES-SIM name for boundary conditions

elvVolCrvFl

data.frame #Elevation - Volume Curve

write.files

logical #T/F on whether or not to write file

maxElvDif_m

numeric (meters) threshold in which to ignore water balance changes

Value

watbal

output from the waterBalance function

Author(s)

Norman Buccola

Examples

readW2ConInOut()

nbuccola/w2r documentation built on June 2, 2025, 2:12 a.m.