R/swatplus_setup_run_files.R
setup_swatplus.RdReads and modifies the SWAT+ projects' files that define the basic settings of the simulation and set them according tu respective input parameters
setup_swatplus(project_path, parameter, output, start_date, end_date, output_interval, years_skip, soft_cal)
| project_path | Path to the SWAT project folder (i.e. TxtInOut) |
|---|---|
| start_date | Start date of the SWAT simulation. Provided as character string in any ymd format (e.g. 'yyyy-mm-dd') or in Date format project are located |
| end_date | End date of the SWAT simulation. Provided as character string in any ymd format (e.g. 'yyyy-mm-dd') or in Date format project are located |
| output_interval | Time interval in which the SWAT model outputs are written. Provided either as character string ("d" for daily, "m" for monthly, "y" for yearly, or "a", for average annual). |
| years_skip | Integer value that provides the numbe of years to be skipped during writing the SWAT model outputs |