SDC Sphy Manual
  • 📚Readme
  • manual
    • SPHY Manual
      • 1. Introduction
      • 2. Theory
        • 2.1 Background
        • Modules
        • Reference and potential evaporation
        • Dynamic vegetation processes
        • Snow processes
        • Glacier processes
        • Soil water processes
        • Soil erosion processes
        • Routing
      • 3. Applications
        • Irrigation management in lowland areas
        • Snow- and glacier-fed river basins
        • Flow forecasting
      • 4. Installation of SPHY
      • 5. SPHY model GUI
        • 5.1 Map canvas layers and GUI interactions
        • 5.2 Top menu buttons
        • 5.3 General settings
        • 5.4 Climate
        • 5.5 Soils
        • 5.6 Groundwater
        • 5.7 Land use
        • 5.8 Glaciers
        • 5.9 Snow
        • 5.10 Routing
        • 5.11 Report options
        • 5.12 Running the model
        • 5.13 Visualizing model output
      • 6. SPHY model preprocessor v1.0
        • 6.1 Overview
        • 6.2 General settings
        • 6.3 Area selection
        • 6.4 Modules
        • 6.5 Basin delineation
        • 6.6 Stations
        • 5.7 Meteorological forcing
      • 7. Build your own SPHY-model
        • Select projection extent and resolution
        • Clone map
        • DEM and Slope
        • Delineate catchment and create local drain direction map
        • Preparing stations map and sub-basins map
        • Glacier fraction map
        • Soil hydraulic properties
        • Other static input maps
        • Meteorological forcing map series
        • Open water evaporation
        • Soil erosion model input
        • Sediment transport
        • Reporting
      • Appendix 1: Input and Output
      • Appendix 2: Hindu Kush-Himalaya database
      • References
      • Copyright
Powered by GitBook
On this page
  1. manual
  2. SPHY Manual
  3. 7. Build your own SPHY-model

Glacier fraction map

The glacier fraction map can be calculated from a vector file with glacier outlines. In QGIS from the Processing toolbox, select the “v.to.rast.value” tool like in the previous section.

Select your glacier outlines as vector input layer and convert it to raster at the same extent of the clone map. Set the cellsize at a lower value than your model resolution. For example, if your model cell size is 200 m, select 20 m for the converted raster.

The “nodata” values need to be reclassified to zeros. To do this use SAGA’s Reclassify tool from the Processing toolbox. You can easily find it by typing Reclassify in the search field.

Figure 41: Reclassify tool

In the dialog box set all values to 0.0, and set “replace no data values” to “Yes”, set “new value for no data values” to 0.0 and set “replace other values” to “No”. Select an output filename and click “Run”.

Figure 42: Reclassify tool dialog box

Now we aggregate the fine resolution grid with glaciers to the model resolution. This can be done using the “r.resamp.stats” tool selected under Processing Toolbox GRASS commands Raster r.resamp.stats.

Figure 43: GRASS aggregation tool

In the dialog box, set the fine resolution glacier grid as input raster layer and choose aggregation method “average”. Import the processing extent from the clone map and set the cell size to the model resolution (in the screenshot below it is 200m as in the example of the Trisuli case study).

Figure 44: GRASS aggregation tool dialog box

The resulting grid can be converted to a PCRaster map using step 8 from Section 5.3.

PreviousPreparing stations map and sub-basins mapNextSoil hydraulic properties

Last updated 1 year ago