rmti_write_array: Write MT3DMS array Internal function used in the rmt_write_*...

Description Usage Arguments

View source: R/internals.R

Description

Write MT3DMS array Internal function used in the rmt_write_* functions for writing array datasets

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
rmti_write_array(
  array,
  file,
  mf_style = FALSE,
  format = "free",
  cnstnt = 1,
  iprn = -1,
  append = TRUE,
  ...
)

Arguments

array

array to write

file

pathname to the file to write the array to

mf_style

logical, should MODFLOW-style array headers be used (i.e. INTERNAL, EXTERNAL, OPEN/CLOSE, ...) ? Defaults to FALSE

format

either 'free' (iread = 103, i.e. FORTRAN free format) or 'fixed' (iread = 100 using FORTRAN format 10G11.4). In both cases, iread = 0 when the array only contains 1 unique value. Defaults to 'free'.

cnstnt

numeric constant to add to the array header which acts as a multiplier for the array values in MODFLOW. Default to 1

iprn

iprn code to add to array header. Defaults to -1

append

logical; should array be appended to the file. Defaults to TRUE

...

passed to RMODFLOW:::rmfi_write_array when mf_style is TRUE


rogiersbart/RMT3DMS documentation built on Oct. 16, 2021, 9:45 a.m.