ReExpNetwork: ReExpress stream networks indexed network traversal.

Description Usage Arguments Value See Also Examples

View source: R/network_expression.R

Description

ReExpNetwork re-expresses topological relationships between three variables, [from, to, id] (as used by NHD+v2.1) into separate lists for index based up- and down- stream traversal, depending on the upstream argument.

Usage

1
ReExpNetwork(routeLinkReInd, upstream = TRUE, parallel = FALSE)

Arguments

routeLinkReInd

The netcdf routelink file to process.

upstream

Logical, re-express connectivity upstream (TRUE) or downstream (FALSE).

parallel

Logical use a registered backend for plyr?

Value

The resulting file which was written to disk, of the form the "infile.reExpTo.nc" (downstream) or "infile.reExpFrom.nc" (upstream).

See Also

Other networkExpression nudging: GatherStreamInds, NtwKReExToNcdf, ReExpressRouteLink, ReIndexRouteLink, VisualizeRouteLink, VisualizeSubsetStream

Examples

1
2
3
4
5
6
7
## Not run: 
  library(rwrfhydro)
  doMC::registerDoMC(16)
  ReExpNetwork(reIndFile)
  ReExpNetwork(reIndFile, up=FALSE)

## End(Not run)

mccreigh/rwrfhydro documentation built on Feb. 28, 2021, 1:53 p.m.