TributaryConnectionCreator: A function to determine where each tributary connects to its...

Description Usage Arguments Value Author(s)

View source: R/CASM_PrePostProcessorFunctions.R

Description

This function provides the river network connectivity table used by CASM. CASM understands a network in terms of Tributary Names, Confluence Names and Confluence Locations. Confluence Name is the name of the river that a tributary flows into. Confluence Location is the distance along the confluence from its start, that the tributary joins it.

Usage

1
2
3
4
5
TributaryConnectionCreator(
  RECNetwork = CompleteSpatialNetwork,
  TributaryLabelList = TribLabelList,
  OutletReachNameLookUpTable = OutletReachNames
)

Arguments

RECNetwork

An REC V2 network (either dataframe of spatial dataframe)

TributaryLabelList

A list of tributary labels. One llist for each independent/disconnected catchment. The output of the NetworkLabeler() function

OutletReachNameLookUpTable

A data frame of outlet reach nzsgmnt numbers and real-world names.

Value

A dataframe. One row for each tributary. Columns of nzsgmnt, tributary name, confluence name, confluence location in kilometres.

Author(s)

Tim Kerr, Tim.Kerr@Rainfall.NZ


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