swn.SurfaceWaterNetwork.accumulate_values#

SurfaceWaterNetwork.accumulate_values(values)#

Accumulate values down the stream network.

For example, calculate cumulative upstream catchment area for each segment.

Parameters:
valuespandas.Series

Series of values that align with the index.

Returns:
pandas.Series

Accumulated values.