c2vsim.readLWBUD: c2vsim.readLWBUD Reads the Land and water use budget output...

View source: R/c2vsim.R

c2vsim.readLWBUDR Documentation

c2vsim.readLWBUD Reads the Land and water use budget output file for the coarse grid file.

Description

c2vsim.readLWBUD Reads the Land and water use budget output file for the coarse grid file.

Usage

c2vsim.readLWBUD(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: AG: a data frame with budget terms for the agricultural area UR: a data frame with budget terms for the urban area IE: a data frame with budget terms for subregion import/export The data frames contain the following fields: Area: The area of agricultural or ubran land PCUAW: Potential CUAW ASR: Agricultural supply requirement P: Pumping D: Diversion S: Shortage RU: ReUse USR: Urban supply requirement Import: Import Export: Export

Examples

lw <- c2vsim.readLWBUD("CVlandwater.BUD")

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