rvn_rvi_connections {RavenR}R Documentation

Generate Hydrological process connections list

Description

This routine reads in a hydrologic process list from rvn_rvi_read() and generates the list of hydrologic process connections.

Usage

rvn_rvi_connections(
  rvi,
  ProcConDataFile = system.file("extdata", "RavenProcessConnections.dat", package =
    "RavenR")
)

Arguments

rvi

data object generated from the rvn_rvi_read() routine

ProcConDataFile

(optional) path to RavenProcesConnections.dat file

Details

This function relies on a valid and up-to-date RavenProcessConnections.dat file. This file is provided with the RavenR package, but may be overrided by a more recent file if provided manually.

Value

Returns a dataframe of all of the process connections Includes the following data columns: process type, algorithm, 'from' compartment, 'to' compartment, and conditional.

Author(s)

James R. Craig, University of Waterloo

See Also

rvn_rvi_read to read a .rvi file and generate an rvi object, and rvn_rvi_process_plot to plot the process network produced in this function.

See also the Raven page

Examples

rvi <- rvn_rvi_read(system.file("extdata","Nith.rvi", package="RavenR"))

# get number of Hydrologic processes
nrow(rvi$HydProcTable)

conn <- rvn_rvi_connections(rvi)
head(conn)


[Package RavenR version 2.1.0 Index]