I have a DEM of river basin, and I need to create a raster where the cell value will be the mean elevation of watershed of this cell. I have calculated watershed area (flow accumulation x cell area). But how to switch to mean elevation? Any ideas?
You can use In_weight_raster in Flow accumulation
- Use your DEM as one, this will produce total of elevations inside cell's catchment.
- Compute flow accumulation without weight, this will produce count of cells inside target cell's catchment.
- Their ratio is average elevation of catchments