A common analysis from a DEM is to compute hydrological elements, such as the channel network or the set of watersheds. This recipe shows you the steps to do these analysis.







Starting from the DEM, the preceding steps follow a typical workflow for hydrological analysis:
The key parameter in the preceding workflow is the catchment area threshold. If a larger threshold is used, fewer cells will be considered as river cells, and the resulting channel network will be sparser. As the watershed is computed based on the channel network, this will result in a lower number of watersheds.
You can try this yourself with different values of the catchment area threshold. Here, you can see the result for threshold is equal to 1,000,000 in the following screenshot:

The channel network has been added to help you understand the structure of the resulting set of watersheds.
Here, you can see the result for a threshold of 50,000,000 in the following screenshot:

Note that in this last case, with a higher threshold value, there is only one single watershed in the resulting layer.
The threshold values are expressed in the units of the catchment area which, as the size of the cell is assumed to be in meters, are in square meters.