c2vsim.readDiversionBUD | R Documentation |
Reads the Surface water deliveries and diversion budget file.
c2vsim.readDiversionBUD(filename, Nsub = 21, NtimeSteps = 1056, maxChar = 2000)
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 |
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
lw <- c2vsim.readDiversionBUD("CVdiverdtl.BUD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.