Man pages for chrisschuerz/SWATplusR
Running SWAT2012 and SWAT+ Projects in R

add_idAdd id column to output table
add_objAdd the unit values for which objects the parameter change...
add_run_infoPrepare run info for the simulation experiment
add_slopeAdd condition lines based on slope
add_soil_luseAdd condition lines based on soil and land use variables
add_suffix_to_duplicateAdd suffix value to duplicated column names of SWAT+ output...
add_value_rangeAdd the value range 'val' for the condition variable 'var'...
as_numConvert character string to numeric without displaying...
build_constraint_tblBuild the parameter constraint from the rules in the...
build_expressionBuild filter expressions from the parameter constraint table'
build_model_runGenerate folder structure for parallel SWAT execution
check_datesCheck if input start and end dates are given in the weather...
check_parameterChecks if all provided parameters exist in...
check_revisionCheck the Revision of used SWAT+ executable
check_run_indexChecks the provided run_index vector in accordance with...
check_swatplus_parameterCheck if the names of the defined parameters are available in...
cio_to_numericHelper function to convert file.cio entries to numerics
collect_colsCollect selected columns from table in SQLite database
compare_tablesUpdate a time stamp in the run_log table
define_outputDefine SWAT output variables
display_progressDisplay the progress if iterative processes
display_progress_pctDisplay the progress if iterative processes as percentage...
evaluate_expressionEvaluate the expression defined for a variable in 'output'
extract_non_var_colsExtract date, plant_name, p columns from the respective...
extract_swat2012_output_iExtract and rearrange output variables of SWAT2012 outputs
filter_monFilter function to extract only relevant month entries in...
find_first_lineHelper function to find the position of the fist line of the...
finish_progressPrint message for completed process
format_mgt_lineFormat a line in the mgt table for writing in correct format...
format_swat2012_parameterTranslate the parameter inputs into a parameter input table...
format_swatplus_parameterTranslate the parameter inputs into a parameter input table...
get_date_vector_2012Create date vector from the date info in the model setup of a...
get_digitGet the number of digits that the run_XXX should have based...
get_file_headerRead the column names for the SWAT output files
get_fwf_positionsDerive the fixed with positions of the columns in the SWAT...
get_hru_metaExtract the meta data from the header of a '.hru' file
get_osIdentify the OS (provided by Gabor Csardi)
get_par_nameExtract the parameter name from one line in a list parameter...
get_sol_textureAcquire the object indices of from the respective object...
get_tableExtract the parameter values that are provided in tabular...
get_tbl_columnAcquire the object indices of from the respective object...
get_time_intervalGet the time interval between to time stamps
get_valueExtract the parameter values from a list parameter file
get_value_rangeGet the value range from a condition in the par_def table
grapes-and-and-grapesConcatenate with space
grapes-and-grapesConcatenate without separator
grapes-grapesConcatenate with a hyphen
grapes-_-grapesConcatenate with an underscore
grapes-.-grapesConcatenate with a dot
grapes-slash-slash-grapesPaste slash function
group_valuesConvert the information on available runs for the simulated...
group_variable_unitsGroup variable names which where saved for several spatial...
identify_sequenceGroup sequences of units together for writing the OBJ columns...
init_calInitialize the calibration.cal table
initialize_run_infoPrepare run info for the simulation experiment
initialize_save_fileInitialize the data base wher model outputs are saved
is_identical_lstCheck if tables in a list are identical
is_identical_tblCheck if two tables are identical
is_parCheck which row in a character vector file holds a model...
load_demoLoading SWAT demo data
load_swat_runLoad saved SWAT simulations
manage_model_runGenerate folder structure for parallel SWAT execution
modify_gen_parGeneral function to modify parameters that are provided in...
modify_mgt_parModify parameters that are provided in the management table...
modify_parameterModify the model parameters of the thread that runs the...
mutate_output_iTransform extracted outputs into a wide table and add suffix...
paste_runsPaste run indexes if start and end of sequence differ....
pluralAdd plural 's' to the written message if multiple operations...
prepare_error_reportPrepare error report in case of failed simulations
prepare_output_definitionCheck output if is a data.frame and convert in case to named...
read_basin_yldRead basin yield output tables.
read_chmRead parameters from the '.chm' file (as it has an individual...
read_fdcoutReading the FDC output table.
read_file_metaRead the meta information for the parameter files
read_hruRead all '.hru' files in the project_path and extract the...
read_mgtRead parameters from the '.mgt' file (as it has an individual...
read_mgtoutRead and process SWAT+ management outputs.
read_output_iReading the i_th SWAT+ output file, filter required units and...
read_par_listRead parameters that are arranged in a simple list (1...
read_solRead parameters from the '.sol' file (as it has an individual...
read_swat2012_filesRead the original swat parameter values from the parameter...
read_swat2012_outputRead SWAT output files
read_swatplus_outputRead SWAT+ output files
read_unit_conditionsRead the unit numbers (for hru, aqu, cha, res) and the...
remove_dummyRemove the generated dummy column that was required for the...
remove_non_var_colsExtract variable columns from the respective simulation...
remove_units_2012Remove the units from variable names in output files of...
remove_units_plusRemove the units from variable names in output files of SWAT+...
replace_colname_naFix issues with shifted col_names in SWAT+ rev59.3
run_osAdd './' to run the exe on unix systems
run_swat2012Run a SWAT2012 project
run_swatplusRun SWAT+
save_error_logSave error report of model run i in error_log sql data base
save_runSave results of model run i in existing sql data base
scan_save_filesScan the save folders of a SWAT run and return all meta data...
scan_swat_runRetrieve information on saved SWAT runs
set_colnamesSet the column names of a matrix
set_save_pathSet the save path to the sqlite data base file
setup_calibration_calSetup the calibration.cal file and include all parameter...
setup_swat2012Reads and modifies the SWAT projects' filo.cio according to...
setup_swatplusReads and modifies the SWAT+ projects' files that define the...
split_by_unitsSplit header line at the positions of units and return tidy...
split_lineSplit one line in a parameter file into the individual values...
split_out_tblSplit tables with more than ncol_max columns into list of...
tidy_constraintApply a set of operations to the rule strings to check and...
tidy_simulationsTidy up and rearrange simulation results before returning...
translate_outfile_namesTranslate the output file settings defined according to...
translate_parameter_constraintsTranslate the parameter inputs and the set constraints into...
translate_rev55Translate the output file settings defined according to...
translate_rev57Translate the output file settings defined according to...
translate_sequenceTranslate the unit sequences to calibration.cal syntax
truncateTruncate long character vectors
update_parUpdate parameter values according to the different options...
update_plant_parModify plants.plt parameters
update_sim_logUpdate a time stamp in the run_log table
write_calibrationUpdate the calibration file structure with the parameter set...
write_chmWrite modified .chm SWAT parameter files due to their...
write_file_cioWrite the updated file.cio to all parallel folders
write_mgtWrite modified .mgt SWAT parameter files due to their...
write_parameterWrite modified SWAT parameter files in respective thread...
write_par_listWrite modified SWAT parameter files that are arranged in a...
write_solWrite modified .sol SWAT parameter files due to their...
write_swatplus_setupWrite the updated init files to all parallel folders
chrisschuerz/SWATplusR documentation built on Feb. 18, 2024, 6:56 p.m.