SPHY Manual - All versions
  • 📚Readme
  • manual
    • SPHY manual 3.1
      • Introduction
      • Theory
        • Background
        • Modules
        • Reference and potential evaporation
        • Dynamic vegetation processes
        • Snow processes
        • Glacier processes
        • Soil water processes
        • Soil erosion processes
        • Routing
      • Applications
        • Irrigation management in lowland areas
        • Snow- and glacier-fed river basins
        • Flow forecasting
        • Soil erosion and sediment transport
      • Installation of SPHY
        • Installing SPHY as a stand-alone application
          • Miniconda
          • SPHY v3.1 source code
      • 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-basin.map
        • Glacier table
        • Soil hydraulic properties
        • Other static input maps
        • Meteorological forcing map series
        • Open water evaporation
        • Dynamic vegetation module
        • Soil erosion model input
          • MMF
          • Soil erosion model calibration
          • Soil erosion model output
        • Sediment transport
      • Reporting and other utilities
        • Reporting
        • NetCDF
      • References
      • Copyright
      • Appendix 1: Input and Output
      • Appendix 2: Input and Output description
      • Appendix 3: Soil erosion model input
        • MUSLE
        • INCA
        • SHETRAN
        • DHVSM
        • HSFP
    • SPHY manual 3.0
      • Introduction
      • Theory
        • Background
        • Modules
        • Reference and potential evaporation
        • Dynamic vegetation processes
        • Snow processes
        • Glacier processes
        • Soil water processes
        • Soil erosion processes
        • Routing
      • Applications
        • Irrigation management in lowland areas
        • Snow- and glacier-fed river basins
        • Flow forecasting
      • Installation of SPHY
        • General
        • Installing SPHY as a stand-alone application
          • Miniconda
          • SPHY v3.1 source code
      • 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-basin.map
        • Glacier fraction map
        • Soil hydraulic properties
        • Other static input maps
        • Meteorological forcing map series
        • Open water evaporation
        • Dynamic vegetation module
        • Soil erosion model input
          • MUSLE
          • MMF
          • INCA
          • SHETRAN
          • DHVSM
          • HSFP
          • Soil erosion model calibration
          • Soil erosion model output
        • Sediment transport
        • Applications
        • Reporting
        • NetCDF
      • References
      • Copyright
      • Appendix 1: Input and Output
Powered by GitBook
On this page
  1. manual
  2. SPHY manual 3.1
  3. 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:

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
Figure 23: Command line menu for clone creation