pyflwdir.FlwdirRaster.upstream_sum# FlwdirRaster.upstream_sum(data, mv=-9999)# Returns sum of next upstream values. Parameters: data (2D array) – values mv (int or float) – missing value Returns: sum of upstream data Return type: 2D array