Recursive function to calculate the flow length from the
upstream node of the stream segment to the outlet of the network.
It is called by delete_lakes
for each
outlet and should not be called by the user.
calc_outdist(dt, id)
data.table containing the attributes of the stream segments
integer; 'stream' of the stream segment
nothing
calc_outdist