Description Usage Arguments Value Author(s)
View source: R/CASM_PrePostProcessorFunctions.R
This function crawl up an REC network and numbers the tributaries. It starts from the bottom and work up to the first intersection. It decides which branch is the primary and which is a secondary, based on which is the longest to the headwaters, then gives a new number to the smaller tributary and keeps going. It uses the REC V2.4 network. See NIWA REC V2 for details about REC V2.
1 | NetworkLabeler(RECNetwork = MyREC)
|
RECNetwork |
An REC V2 network (either dataframe of spatial dataframe), with at least nzsgmnt, TO_NODE, FROM_NO and hdw_dst attributes |
A list (one for each each independent network/diconnected catchment)) of vectors of tributary labels, and a side effect of a file called "OutletReaches.csv" listing the nzsgmnt attributes of the reaches that are considered to be at the bottom of the network.
Tim Kerr, Tim.Kerr@Rainfall.NZ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.