Description Usage Arguments Value Examples
Writes information from a DIS.MFpackage list object to a MODFLOW-readable DIS package file.
1 |
DIS |
object of class DIS.MFpackage, as would be read by
|
filename |
character string;
file name to write to, ideally ending in |
title |
character string; optional title to put at the start of the package file |
NULL
1 2 3 4 5 6 7 8 9 10 11 | # read DIS package
fnm <- system.file("rflow_mf_demo.dis", package = "Rflow")
dis <- read.DIS(fnm)
# meaningful modification e.g. add a stress period
dis$extent["NPER"] <- dis$extent["NPER"] + 1L
dis$sps <- rbind(dis$sps,
list(1000, 10L, 1.2, TRUE))
# write modified dis package to file
write.DIS(dis, "RFLOW_EXAMPLE.dis", "example: added stress period")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.