Recursive function to calculate the upstream area of each stream segment and
assign a unique network id. It is called by calc_edges
for each
outlet and should not be called by the user.
calcCatchmArea_assignNetID(dt, id, net_ID)
data.table containing the attributes of the stream segments
integer; 'stream' of the stream segment
integer; network ID
Total catchment area upstream of the segment
calcCatchmArea_assignNetID