View source: R/SummariseBudget.R
SummariseBudget | R Documentation |
Summarize MODFLOW volumetric flow rates by boundary condition types. Cell-by-cell flow data is split into subsets, summary statistics computed for each subset, and a summary table returned.
SummariseBudget(budget, desc = NULL, id = NULL)
budget |
'character' string or 'list'.
Either the path to a MODFLOW cell-by-cell budget file or
the object returned from the |
desc |
'character' vector.
Data-type descriptors, such as |
id |
'character' string. Name of auxiliary variable, a variable of additional values associated with each cell saved using the "AUXILIARY" output option. |
Subsets are grouped by data type (desc), stress period (kper), time step (kstp), and optional auxiliary variable. Data in the MODFLOW cell-by-cell budget file must be saved using the "COMPACT BUDGET" output option.
A 'data.table' with the following variables:
description of data type, such as "wells".
stress period
time step
auxiliary variable name
length of the current time step.
time in the stress period.
total elapsed time
number of cells in each subset.
total volumetric flow rate
mean volumetric flow rate
median volumetric flow rate
standard deviation of volumetric flow rate.
flow direction where "in" and "out" indicate water entering and leaving the groundwater system, respectively.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
ReadModflowBinary
path <- system.file("extdata", "ex.bud", package = "inlmisc") out <- SummariseBudget(path, desc = "river leakage", id = "iface") print(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.