RMT3DMS
rmt_read_*
functionR/internals.R
rmti_parse_array.Rd
Get an array specified by a control record from the text lines analyzed in a RMT3DMS
rmt_read_*
function
rmti_parse_array( remaining_lines, nrow, ncol, nlay, ndim, 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. |
skip_header | optional; should the control record be skipped |
nam | a |
precision | character: either |
file | pathname to the input file which is currently being read. Required when reading fixed-format or MODFLOW-style 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 MT3DMS input file