Following on issue #92 The area-weighting uses grid_area as a multiplier then divides by self._outlet_upstream_area; however, self._outlet_upstream_area is the multiple of the grid cell area and the grid cell fraction link. grid_area appears to just be the grid cell area link, not the grid cell area within the basin. grid_area should probably be grid_area * dom_data[dom_frac][outlet.y_source, outlet.x_source]
The grid_area is multiplied by kg m-2 s-1 to convert to kg s-1 mass flux. It is not an area-weighting as I originally thought, so this issue is closed.
Following on issue #92 The area-weighting uses
grid_area
as a multiplier then divides byself._outlet_upstream_area
; however,self._outlet_upstream_area
is the multiple of the grid cell area and the grid cell fraction link.grid_area
appears to just be the grid cell area link, not the grid cell area within the basin.grid_area
should probably begrid_area * dom_data[dom_frac][outlet.y_source, outlet.x_source]