Create Gerris Input File for Constant Parameters
hsCreateGerrisInputConstParsCsv.Rd
Create Gerris input file containing boundary conditions for non-simulated water quality parameters
Usage
hsCreateGerrisInputConstParsCsv(
csvExample,
csvOut = NULL,
constParVals = hsGerrisConstParsMia(),
dbg = TRUE
)
Arguments
- csvExample
path to example csv file containing names of Gerris boundary conditions in first row, starting in second column (first column is timestamp)
- csvOut
full path to csv file to which non-simulated parameters are to be written. If missing, this function returns a character matrix containing the file content.
- constParVals
Data frame with columns VO2, SI, VPH, VX0, VX02, ZOOIND, VKIGR, LF, MW, VNO2, VNO3, CA, CHLA, ANTBL containing the values for non-simulated parameters in the first and only row. Default: result of hsGerrisConstParsMia().
- dbg
if
TRUE
, debug messages are shown