read_qout {SWAT2R}R Documentation

read_qout

Description

This function reads the file with the simulated streamflows for the parameter sets obtained with SWAT-CUP

Usage

read_qout(file, ua.algorithm, nsim,  nobs, verbose=TRUE) 

Arguments

file

character with the name of the file which the data are to be read from. Valid values are in c('95ppu.sf2', '95ppu.out'). If it does not contain an absolute path, the file name is relative to the current working directory, getwd()

ua.algorithm

OPTIONAL, only required when file is missing.
character, indicating the SWAT-CUP algorithm that created file. Valid values are:
-) GLUE : file is set to ‘modelres.out’, with the streamflows of ALL the parameter sets, stored by rows
-) SUFI2: file is set to ‘q\_1.out’, with the streamflows of ALL the parameter sets, stored by rows
-) PSO : file is set to ‘q1\_beh.out’, with the streamflows corresponding to the BEHAVIOURAL parameter sets only, stored by rows

nsim

OPTIONAL. Only required when ua.algorithm is in 'GLUE', 'SUFI2', 'PSO'
numeric, with the number of simulations specified in the file ‘par_inf.sf2’, located in teh folder ‘SUFI2.IN’ (e.g.: Number_of_LH_sims=2000)

nobs

OPTIONAL. Only required when ua.algorithm is in 'SUFI2', 'PSO'
number of observation specified in the file ‘observed.sf2’, located in the folder ‘SUFI2.IN’ (e.g., NO_Data= 6935)

verbose

logical; if TRUE, progress messages are printed

Author(s)

Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com

References

SWAT-CUP at http://www.eawag.ch/organisation/abteilungen/siam/software/swat/index_EN

See Also

read_sub, read_hru, read_rsv, read_95ppu


[Package SWAT2R version 0.1-11 Index]