read_swat_output: Function to read directly SWAT model output files from folder...

Description Usage Arguments Value

View source: R/f_read_output.R

Description

This function allows reading all output.rch, output.sub, output.hru files generated by SWAT2012

Usage

1
read_swat_output(folder, output_type, output_file, starting_date, ending_date)

Arguments

folder

String giving path to the output.*** folder. (example "data-raw/monthly")

output_type

Number the same as in IPRINT (0 - Monthly, 1 - Daily, 2 - Year)

output_file

String showing ending of output file. Currently implemented are "rch", "sub", "hru" files.

starting_date

Sting with time series starting date (example "1997-01-01")

ending_date

Sting with time series ending date (example "2019-12-31")

Value

Data.frame imported from SWAT output files


biopsichas/swattools documentation built on May 27, 2021, 6:17 p.m.