View source: R/replace.keyword.v0.R
replace.keyword | R Documentation |
geotop.inpts
file with the ones of anoter *.inpts
valueIt replaces some keyword values of geotop.inpts
file with the ones of anoter *.inpts
value
replace.keyword(
x,
y = "geotop.inpts",
file.output = NULL,
write.file.output = TRUE,
wpath = NULL,
...
)
x |
filename of the |
y |
filename of the |
file.output |
filename where to write the comprehensive new |
write.file.output |
logical value. If it is |
wpath |
working path to the GEOtop simulation folder containing the |
... |
further arguments |
This function repleces some keword values of y
with the ones indicated in y
. It is useful to replace the meteo station metedata, for instance, when the meteorological station of a study cases are modified.
The function returns the new geotop.inpts
file as a vector of character strings. If write.file.output==TRUE
, the output is written in an extarnal file, e.g. "geotop.inpts"
newly (this option is suggested).
Emanuele Cordano
library(geotopbricks)
wpath <- system.file('template/meteo_ex',package="geotopbricks")
x <- "meteo.inpts"
zl <- replace.keyword(x,wpath=wpath,write.file.output=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.