convert_q_units: Convert discharge units

Description Usage Arguments Value Author(s) See Also Examples

Description

converts discharge data of a given file (infile) in WASIM-format into output file (outfile) converting discharge from [m3/s] to [mm] (convert\_to="specific") or vice versa (convert\_to="absolute") using the file gauges\_area\_file containing the catchment areas and a timestep of timestep\_sec seconds

Usage

1
convert_q_units (infile, outfile, gauges_area_file, convert_to, timestep_sec)

Arguments

infile

name of file holding discharge data in WASIM format

outfile

name of file to produce containing the converted discharge

gauges_area_file

name of file containing tab-separated data (GAUGE FOREIGN\_ID SUBBAS\_ID AREA\_SUBBAS\_KM2 AREA\_UPSTREAM\_KM2)

convert_to

"specific": convert m3/s to mm; "absolute": convert mm to m3/s

timestep_sec

length of timestep in inout file in seconds

Value

no return value

Author(s)

Till Francke

See Also

read.results

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

wasim documentation built on May 1, 2019, 6:50 p.m.