c2vsim.readDiversionBUD: c2vsim.readDiversionBUD

View source: R/c2vsim.R

c2vsim.readDiversionBUDR Documentation

c2vsim.readDiversionBUD

Description

Reads the Surface water deliveries and diversion budget file.

Usage

c2vsim.readDiversionBUD(filename, Nsub = 21, NtimeSteps = 1056, maxChar = 2000)

Arguments

filename

is the name of the file.

Nsub

the number of subregions printed in the file

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 of Nsub lists with the following fields:

Time: The time steps

SWD: Surface water deliveries.

DIV: Diversions

The above fields are list that containt part of the following fields

DivId: The diversion number

RivId: The river node id where the water is sxtracted from

SWD or DIV: the actual data for the surface water deliveries or diversions

SHRT: Shortage in the deliveries or diversions

Examples

lw <- c2vsim.readDiversionBUD("CVdiverdtl.BUD")

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