getW2_41out: This function will extract simulated CE-QUAL-W2 lake...

View source: R/getW2_41out.r

getW2_41outR Documentation

This function will extract simulated CE-QUAL-W2 lake elevation, outflows, inflows, and outflow temperature

Description

This function will extract simulated CE-QUAL-W2 lake elevation, outflows, inflows, and outflow temperature

Usage

getW2_41out(
  mod.path = w2Dirs[w2ioi],
  atu.day = atu.day,
  tcrit = NULL,
  modOutDetails = NA,
  sumOutTable = T,
  davg = c("avg", "max", "min")
)

Arguments

mod.path

character; Defaults to reading in the wl.opt file, but can specify a "*.tsr" output from W2

atu.day

numeric; the days in which the accumulated thermal units will begin. Typically c(244, 280, 310)

tcrit

Optional dataframe with critical fish temperatures and days

modOutDetails

Dataframe with columns: Dir, SegmentOutput, and wb columns

sumOutTable

Logical; include the summary table output defaults to TRUE

davg

character vector, typically c('avg','max','min')

Value

a data.frame of the model to observed fit statistics

Author(s)

Norman Buccola

Examples

getW2_41out()

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