write.BAS: Write MODFLOW BAS package file

Description Usage Arguments Value

Description

Writes information from a BAS.MFpackage list object to a MODFLOW-readable BAS package file.

Usage

1
2
write.BAS(BAS, filename, unit = 1L, title = "", MF2k = TRUE, sps, NCOL,
  NROW, NLAY)

Arguments

BAS

object of class BAS.MFpackage, as would be returned by read.BAS

filename

character string; file to write to, ideally ending in ".bas"

unit

integer [1]; unit number that the BAS file will be assigned to

title

character string; optional title to prefix to the file, for your reference (not used if MF2k = FALSE)

MF2k

logical; should the file be for MODFLOW 2000, or MODFLOW 96 (in which case stress period information is written from sps)

sps

data.frame or object of class DIS.MFpackage; only required if MF2k = FALSE; a data frame of stress period information with the same columns as described in read.DIS, except that the TR column is not required (ignored if provided)

NCOL, NROW, NLAY

integer [1]; only required if MF2k = FALSE and class(sps) != "DIS.MFpackage"

Value

NULL


CJBarry/Rflow documentation built on June 16, 2019, 12:35 p.m.