ReIndexRouteLink: ReIndex RouteLink.nc (netcdf) files for indexed network...

Description Usage Arguments Value See Also Examples

View source: R/network_expression.R

Description

ReIndexRouteLink reIndexes by order in the RouteLink file, replacing ComID with this index.

Usage

1
ReIndexRouteLink(routeLinkFile)

Arguments

routeLinkFile

The netcdf routelink file to process.

Value

The resulting file which was written to disk, of the form "infile.reInd.nc"

See Also

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
 ## Not run: 
reIndFile <-
 ReIndexRouteLink(routeLinkFile <- '~/WRF_Hydro/CONUS_IOC/DOMAIN/RouteLink_2015_07_31.nc')
reIndFile <-
 ReIndexRouteLink(routeLinkFile <- '~/WRF_Hydro/CONUS_IOC/DOMAIN/RouteLink4.nc')
reIndFile <-
 ReIndexRouteLink(routeLinkFile <- '~/WRF_Hydro/CONUS_IOC/DOMAIN/RouteLink3.nc')
reIndFile <-
 ReIndexRouteLink(routeLinkFile <- '~/WRF_Hydro/DOMAIN_library/BoCr_100m_1km_NHDPlus_2015_08_11/Route_Link.nc')

## End(Not run)

NCAR/rwrfhydro documentation built on Feb. 28, 2021, 12:47 p.m.