Models, like all QGIS algorithms, can be executed iteratively. Here, we will create a new QGIS model: DEMs_Clipped_to_Watersheds.model3. We will use two inputs, a DEM covering Taos, New Mexico and a watersheds polygon layer for the area.
The elevation.tif and watersheds.shp sample data will be used:
Now create this model with a vector layer input named Watersheds and a raster layer input named DEM. Then, use Clip raster with polygon by typing it in the Processing Toolbox search area. After we open this by double clicking, use DEM for Input field and watersheds for Polygons field and name the Clipped region as Watershed DEM:
The model will now look as follows:
This model uses the Clip raster with polygon tool to clip the DEM to the watersheds...