DownstreamReachFinder: A function to find the REC network downstream of a reach

Description Usage Arguments Value Author(s)

View source: R/CASM_PrePostProcessorFunctions.R

Description

This function generates a vector of the reach ID numbers (nzsegment, nzsgmnt or nzseg_v3 attribute) downstream of a reach. It uses the REC V2.4, or Environment Southland's REC3 network. See NIWA REC V2 for details about REC V2.

Usage

1
DownstreamReachFinder(RECNetwork = RECReachNetwork, SourceReach = 7239110)

Arguments

RECNetwork

An REC V2 network (either dataframe of spatial dataframe), with at least nzsegment (or nzsgmnt or nzseg_v3), TO_NODE and FROM_NODE (or FROM_NO) attributes.

SourceReach

The reach number, i.e. nzsegment (or nzsgmnt or nzseg_v3) attribute, of the reach for which the downstream network is required

Value

A vector of reach numbers (nzsegment/nzsgmnt/nzseg_v3 attributes)

Author(s)

Tim Kerr, Tim.Kerr@Rainfall.NZ


RainfallNZ/CASMPrePostProcessor documentation built on Oct. 14, 2021, 8:04 a.m.