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

Clone map

PreviousSelect projection extent and resolutionNextDEM and Slope

Last updated 1 year ago

You will need to define a ‘clone’ map, which is a map in PCRaster format, with the model extent and resolution. This map is used as the ‘template’ for your model. You can create a clone map using PCRaster’s command in the Windows Command line window. Make sure you are in the model’s input directory. This can be done using commands as for example:

  • c: enter go to your c-drive

  • cd c:\SPHY\input enter go to the SPHY\input directory on your c-drive

  • d: enter go to your d-drive

  • cd d:\SPHY\input enter go to the SPHY\input directory on your d-drive

  • etc.

If you are in the model’s input directory, then type following in the Command line:

mapattr clone.map

You will enter a menu, where you can set the clone map’s properties:

Figure 22: Command line menu for clone creation

Change the settings of the number of rows, number of columns, check if the y values in your model projection increase from bottom to top or from top to bottom, define the x and y values of the upperleft corner of your model’s extent, and define the cell length (spatial resolution).

When all is set, press “q” to quit and then press “y” to confirm the map creation. Then drag the newly created map into QGIS to check if the map has the correct extent. Remember to set the CRS of the “clone.map” after dragging the map into QGIS.

mapattr