Updating wst_id information in model text files
Arguments
- fname
character, model file name (example 'aquifer.con').
- write_path
character, path to SWAT+ txtinout folder (example "my_model").
- wst_sf
sf dataframe with weather station information. Should contain "name" and "geometry" columns.
- spacing
character, should contain information about spacing between columns in the file. Example c('%8s', '%-12s', rep('%12s', 5), '%8s', '%16s', rep('%8s', 4)).
- folder_to_save
character, folder to save function results. Optional,
default = "temp"
.