rmfi_write_array: Write modflow array Internal function used in the write_*...

View source: R/internals.R

rmfi_write_arrayR Documentation

Write modflow array Internal function used in the write_* functions for writing array datasets

Description

Write modflow array Internal function used in the write_* functions for writing array datasets

Usage

rmfi_write_array(
  array,
  file,
  cnstnt = 1,
  iprn = -1,
  append = TRUE,
  external = NULL,
  fname = NULL,
  binary = NULL,
  precision = "single",
  nam = NULL,
  xsection = FALSE,
  ...
)

Arguments

external

character vector with names corresponding to the dataset; used to write external arrays

fname

character vector with names corresponding to the dataset; used to write open/close arrays

binary

character vector with names corresponding to the dataset; used to write external or open/close arrays

precision

character: either 'single' (default) or 'double'. Denotes the precision of binary files

nam

RMODFLOW nam object; used when writing external arrays

xsection

logical; does the array represent a NLAY x NCOL cross-section. Passed to rmf_write_array

...

ignored

Details

if the array should be written as integers, an integer array should be provided


rogiersbart/RMODFLOW documentation built on Jan. 14, 2023, 4:21 a.m.