filename of the *.inpts with the "new" keyword value
y
filename of the *.inpts with the "old" keyword value. Default is "geotop.inpts".
file.output
filename where to write the comprehensive new geotop.inpts file. If it is NULL (default), the fileneme is assigned by y.
write.file.output
logical value. If it is TRUE, the output of the function is written in he file file.output.
wpath
working path to the GEOtop simulation folder containing the x and y files.
...
further arguments
Author
Emanuele Cordano
Details
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).