VisualizeSubsetStream: Visualize upstream or downstream links determined from...

Description Usage Arguments Value See Also Examples

View source: R/network_expression.R

Description

Visualize upstream or downstream links determined from GatherStreamInds

Usage

1
2
VisualizeSubsetStream(indDist, ncFile, comIds = TRUE,
  downstreamReExp = "", ...)

Arguments

indDist

List containing indies and accumulated distance from start, obtained from GatherStreamInds

ncFile

Route Link file read in/initially processed with VisualizeRouteLink()

comIds

Logical, show the comIds or the link indices in the Route_Link.nc file.

downstreamReExp

Character, eliminate searching by providing the re-expressed network file

...

arguments to the function returned by VisualizeRouteLink.

Value

Map of Route Links with selected upstream/downstream links highlighted in red, starting location in black

See Also

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

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
 ## see example for GatherStream
 file <- '~/WRF_Hydro/DOMAIN_library/Boulder_Creek_100m_1km_2sqkm_full_2015_09_03/Route_Link.nc'
 VisualizeSubsetStream(upstreamInds, file)
 VisualizeSubsetStream(upstreamInds, file, com=FALSE, zoom=10, textColor='purple')
 VisualizeSubsetStream(downstreamInds, file, com=TRUE, zoom=10)
 VisualizeSubsetStream(downstreamInds, file, com=FALSE, zoom=10, linkColor='lightblue', maptype='satellite')

## End(Not run)

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