rmfi_parse_array | R Documentation |
RMODFLOW
read.*
functionGet an array specified by a control record from the text lines analyzed in an RMODFLOW
read.*
function
rmfi_parse_array( remaining_lines, nrow, ncol, nlay, ndim, fmt = NULL, skip_header = FALSE, nam = NULL, precision = "single", file = NULL, integer = FALSE, ... )
remaining_lines |
lines to read the array from |
nrow |
number of rows in the array |
ncol |
number of columns in the array |
nlay |
number of layers in the array that should be read |
ndim |
dimensions of the array to read; either 1, 2 or 3. Denotes the if the returned array should be 1D, 2D or 3D. |
fmt |
optional; character with a proper FORTRAN format enclosed in parentheses. Only used when skip_header = TRUE and a fixed-format array needs to be read, i.e. output arrays. |
skip_header |
optional; should the control record be skipped |
nam |
a |
precision |
character: either |
file |
pathname to the MODFLOW input file which is currently being read. Required when reading fixed-format or OPEN/CLOSE arrays |
integer |
logical; does the binary array hold integer values. Might not work optimally. |
... |
ignored |
A list containing the array and the remaining text of the MODFLOW input file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.