Description Usage Arguments Value Examples
Reads information from a MODFLOW WEL package file. The WEL package assigns fixed sink/ source fluxes to individual cells and as such is particularly appropriate for representing wells of known abstraction or injection rate.
1 |
filename |
character string; WEL package file |
nSP |
integer |
MF2k |
logical |
list [2]
of class WEL.MFpackage, with elements:
$header
:
..$MXACTW
the maximum number of active wells in a stress period
..$IWELCB
unit number to which well flux array is saved (if
> 0)
$spheaders
:
headers for each stress period, a data.frame with columns:
..$ITMP
(int): number of active wells in stress period, or (if
< 0)
indicates to read from previous stress period
..$NP
(int): number of parameters to read for this stress period
(always 0 if MF2k = FALSE
)
$read
: logical vector of length nSP indicating for which stress periods
well information is to be read
$data
:
a data.table with the following columns
..$sp
(int): stress period (key)
..$C
(int): column
..$R
(int): row
..$L
(int): layer
..$Q
(num): flux (negative indicates abstraction, positive indicates
injection)
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.