R/prep_Qsim_output.R
QSIM_prepare_for_tool.Rd
This function combines the Qsim site information of the first 3 columns to unique sitenames and spreads the Qsim output table into a table with one time column and several oxygen columns (one per site)
QSIM_prepare_for_tool(
qsim_output_path,
qsim_fileName,
misa_tool_input_path,
output_fileName,
return_table = FALSE
)
path where the output file from Gsim is stored
Filename of the Qsim output file (inclusive .csv)
input Folder for Misa Tool (see details)
Filename of the created table (including.csv)
if TRUE, the saved table is returned
The saved table contains a timestamp column in Central European Time and several oxygen columns in mg/L
The Misa Tool input folder as defined in parameter 'misa_tool_input_path' must contain the two folder "files_per_site" and "site_per_file". The output table will be stored in the latter. Saves table as CSV File ";"-separated if parameter return_table is set to TRUE