UW-Hydro / RVIC

RVIC Streamflow Routing Model
http://rvic.readthedocs.org
GNU General Public License v3.0
34 stars 59 forks source link

Area-weighting inconsistent between grid area and outlet upstream area #93

Closed lizaclark closed 8 years ago

lizaclark commented 8 years ago

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]

lizaclark commented 8 years ago

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.