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

add_quotes_if_chrAdd quotes to character values of vector in filter expression
as_numConvert character string to numeric without displaying...
build_exprBuild expresions used to filter parameter values in parameter...
build_filterBuild filter expresions for one sequence of variable,...
build_model_runGenerate folder structure for parallel SWAT execution
check_outputCheck output if is a data.frame and convert in case to named...
check_parameterChecks if all provided parameters exist in...
check_run_indexChecks the provided run_index vector in accordance with...
check_saved_dataDo general checkups for a SQLite database that already holds...
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_sim_iHelper function to collect a table from a sqlite date base...
collect_sim_runWrapper for sim_i that collects all variables for a...
concat_valuesHelper function to wrap text string with "c(...)" to...
convert_dateConvert dates from date format to year/month/day/hour/min/sec...
define_outputDefine SWAT output variables
display_dateConvert the information on the dates for the simulated...
display_progressDisplay the progress if iterative processes
display_runsConvert the information on available runs for the simulated...
evaluate_expressionEvaluate the expression defined for a variable in 'output'
extract_outputExtract the variables from the model outputs as defined in...
filter_not_emptyFilter the elements of a list with tibbles where the tibbles...
filter_spec_exprFilter a parameter table for the specific expression if...
find_duplicateFind simulation runs that are duplicated in the provided...
find_first_lineHelper function to find the position of the fist line of the...
find_first_spaceHelper function to find the fist position of white spaces in...
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_vectorCreate date vector from the date info in the model setup
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_tableExtract the parameter values that are provided in tabular...
get_valueExtract the parameter values from a list parameter file
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
initialize_save_fileInitialize the data base wher model outputs are saved
is_identicalCheck if tables in a list 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...
pluralAdd plural 's' to the written message if multiple operations...
read_chmRead parameters from the '.chm' file (as it has an individual...
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_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
run_swat2012Run a SWAT2012 project
run_swatplusRun SWAT+
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_save_pathSet the save path to the sqlite data base file
setup_swat2012Reads and modifies the SWAT projects' filo.cio according to...
setup_swatplusReads and modifies the SWAT+ projects' files that define the...
split_lineSplit one line in a parameter file into the individual values...
tidy_resultsTidy up simulation results before returning them
translate_outfile_namesTranslate the output file settings defined according to...
translate_parameter_constraintsTranslate the parameter inputs and the set constraints into...
update_parUpdate parameter values according to the different options...
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 file.cio to all parallel folders
chrisschuerz/SWATplusR documentation built on April 8, 2019, 10:23 p.m.