c2vsim.readSWHYD: c2vsim.readSWHYD Reads the stream hydrograph output file

View source: R/c2vsim.R

c2vsim.readSWHYDR Documentation

c2vsim.readSWHYD Reads the stream hydrograph output file

Description

c2vsim.readSWHYD Reads the stream hydrograph output file

Usage

c2vsim.readSWHYD(filename, Nskip = 5, NtimeSteps = 1056, maxChar = 7000)

Arguments

filename

is the name of the stream hydrograph file. For the coarse grid this is by default CVSWhyd.out

Nskip

is the number of lines to skip before start reading the line with the stream node ids

NtimeSteps

is the number of time steps used in the simulation. By default is set to 1056

maxChar

is the maximum number of characters that should read in a single line

Value

A list with the following fields: Time: The time steps NodeIds: is a vector with the stream node ids SWHyd: is a matrix NtimeSteps x m, where is m = length(NodeIds).

Examples

For the coarse grid model we can read the stream hydrograph by using the default values:
SWHYD <- c2vsim.readSWHYD("CVSWhyd.out")

UCD-GW-Nitrate/gwtools documentation built on April 5, 2025, 5:01 p.m.