SWYBaseflowRouting¶
The last step of the Seasonal Water Yield workflow: the accumulated recharge, the part of it that reaches the streams and the baseflow of each cell, with its values index (see the model).
The module also gives the total recharge outQb, the sum of the recharge of all the cells in mm: divided by the number of cells it is the mean recharge qb of InVEST, times the cell area a volume. The sum of the values index outVriSum is 1, a check of the run.
Details¶
The recharge of the upslope cells is accumulated along the flowdirections (L_sum). Walking up from the streams, each cell gets the part of the accumulated recharge that reaches the streams as baseflow (B_sum, InVEST equation 11): all of it for the cells that drain directly into a stream or out of the map, a part scaled by what the downslope cells evapotranspire for the others. The baseflow of the cell itself (B) is its share of B_sum, proportional to its local recharge, and never negative.
The values index of each cell (VRI) is its local recharge divided by the total recharge of the map: it tells which cells matter most for the baseflow. It is defined only where the total recharge is positive.
The results have the time span of the recharge: with the recharge of a year, as in InVEST, the baseflow is annual. The rasters are in mm; a volume is the value times 0.001 times the cell area.
Parameters¶
The baseflow of the InVEST Seasonal Water Yield model: the contribution of the local recharge of each cell to the baseflow of the streams, and its share of the total recharge.
Toolbox folder: Hydro-Geomorphology
Status: Experimental
Keywords: baseflow
Authors: The klab team.
Class: org.hortonmachine.modules.SWYBaseflowRouting
Inputs
Parameter |
Type |
Unit |
Default |
Description |
|---|---|---|---|---|
|
raster file |
The map of the local recharge (L). |
||
|
raster file |
The map of the part of the local recharge that is available to downslope cells (L_avail). |
||
|
raster file |
The map of the stream network. |
||
|
raster file |
The map of flowdirections (D8). |
Outputs
Parameter |
Type |
Unit |
Description |
|---|---|---|---|
|
output file |
The map of the accumulated recharge (L_sum), of the cell and of all the cells upslope. |
|
|
output file |
The map of the baseflow contribution of each cell (B). |
|
|
output file |
The map of the values index (VRI), the local recharge of each cell divided by the total recharge. |
|
|
Double |
The total recharge, the sum of the local recharge of all the cells, in mm: divided by the number of cells it is the mean recharge (qb of InVEST). |
|
|
Double |
The sum of the values index of all the cells, 1 as a check. |
|
|
output file |
The map of the cumulative baseflow (B_sum), the part of the accumulated recharge of each cell that reaches the streams. |
References
Natural Capital Project. InVEST User’s Guide, Seasonal Water Yield. Stanford University, University of Minnesota, Chinese Academy of Sciences, The Nature Conservancy, World Wildlife Fund, Stockholm Resilience Centre and the Royal Swedish Academy of Sciences. https://releases.naturalcapitalproject.org/invest-userguide/latest/
Hamel, P., Valencia, J., Schmitt, R., Shrestha, M., Piman, T., Sharp, R. P., Francesconi, W., Guswa, A. J. (2020). Modeling seasonal water yield for landscape management: Applications in Peru and Myanmar. Journal of Environmental Management, 270, 110792.
Example¶
import org.hortonmachine.modules.SWYBaseflowRouting
// the folder with the gura folder of the sample data: change it to yours
var folder = "/data/"
var gura = folder + "gura/"
var baseflow = new SWYBaseflowRouting()
baseflow.inFlowdirections = gura + "drain.tif"
baseflow.inNet = gura + "net.tif"
baseflow.inRecharge = gura + "l.tif"
baseflow.inAvailableRecharge = gura + "l_avail.tif"
baseflow.outLsum = gura + "l_sum.tif"
baseflow.outBaseflow = gura + "b_sum.tif"
baseflow.outB = gura + "b.tif"
baseflow.outVri = gura + "vri.tif"
baseflow.process()
// the total recharge is in mm summed over the cells: a volume with the cell area of 15 x 15 m
var cellArea = 15 * 15
println "Annual recharge: " + baseflow.outQb * 0.001 * cellArea + " m3"
println "Sum of the values index: " + baseflow.outVriSum
The recharge accumulated along the flowdirections, in mm, on a logarithmic scale.¶
The baseflow of each cell, in mm: the part of its recharge that reaches the streams, 0 on the streams, where the recharge is negative.¶
The values¶
The maps have three different units. On the sample data:
the accumulated recharge \(L_{sum}\) is the sum of the recharge of the cell and of all the cells upslope: mm summed over the cells, not a depth. It goes from the recharge of the cell alone, at the ridges, to 176 million at the outlet, the total recharge of the basin, about 1770 in the middle of the cells. Times 0.001 and the area of the cell it is a volume of the year: the 176 million of the outlet are 39.6 million m³. Divided by the number of cells upslope, the total contributing area, it is their mean recharge in mm;
the cumulative baseflow \(B_{sum}\) has the same unit. With γ = 1, as in the example, it is the same as the accumulated recharge in every cell: all the recharge of the cells upslope reaches the streams, since none of it is evapotranspired on the way;
the baseflow B is a depth of the year, in mm over the cell: the part of the recharge of the cell that reaches the streams. It goes from 0 to about 1420 mm, 406 mm in the middle of the cells and 388 mm on average. With γ = 1 it is the recharge of the cell where it is positive, \(B = \max(L, 0)\), and 0 on the network and on the other cells with a negative recharge. With γ less than 1, part of the recharge is evapotranspired by the cells downslope, and the baseflow is less than the recharge;
the values index VRI is a share, without unit: the recharge of the cell divided by the total recharge of the map, so that the sum of all the cells is 1. Its values are tiny, about 1 divided by the number of cells, here 2 millionths. Times the number of cells it is the recharge of the cell divided by the mean one: on the sample data it goes from -3.75 to 3.81, so the cells that give most give almost 4 times the mean, and a value of 1 is a cell that gives the mean. Since it depends on the number of cells, compare the values index of different maps only after multiplying it by their number of cells.
The baseflow tells where the water of the dry season comes from, not how much of it leaves the basin: its sum over the basin is more than the recharge, see the water at an outlet.
The results compared with InVEST¶
With the flowdirections and the network of the preparation step, instead of those of InVEST, the results differ only where the flow does:
HortonMachine |
InVEST |
|
|---|---|---|
cells with results |
473499 |
480456 |
mean recharge |
372.5 mm |
363.8 mm |
total recharge |
39.7 million m³ |
39.3 million m³ |
mean baseflow |
387.7 mm |
379.5 mm |
The curve number, the precipitation, the reference evapotranspiration and the crop coefficients are the same in every cell, and the quickflow differs only on the 5131 cells where the network of the HortonMachine and the streams of InVEST are not the same. The flowdirections of the HortonMachine leave out the cells at the border of the elevation model, which drain out of it. The total recharge differs by 1%.