Function to prepare or update climate data text input files in SWAT+ model
Source:R/preparing.R
prepare_climate.Rd
Function to prepare or update climate data text input files in SWAT+ model
Arguments
- meteo_lst
meteo_lst nested list of lists with dataframes. Nested structure meteo_lst -> data -> Station ID -> Parameter -> Dataframe (DATE, PARAMETER). Nested meteo_lst -> stations Dataframe (ID, Name, Elevation, Source, geometry, Long, Lat).
- write_path
character, path to SWAT+ txtinout folder (example "my_model").
- period_starts
character, date string (example '1991-01-01'). Optional (
default = NA
, stands for all available in data).- period_ends
character, date string (example '2020-12-31'). Optional (
default = NA
, stands for all available in data).