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. 5. SPHY model GUI

5.2 Top menu buttons

Previous5.1 Map canvas layers and GUI interactionsNext5.3 General settings

Last updated 1 year ago

5.2.1 New Project

A SPHY model project always involves two files, being the SPHY model configuration file (*.cfg) and the SPHY model project file (*.qgs). The *.cfg file contains the SPHY model configuration, and is the same file that is used when running SPHY as a standalone application. The *.qgs is a QGIS project file and contains the layers and map canvas view settings.

If the New project button is clicked, then the user is asked where to save the new project and to provide a filename (XXXX.cfg) for the project. You can choose any filename, except “sphy_config.cfg”. If a current SPHY model project was open in QGIS, then it will be asked to save the current project first before creating a new project. It is mandatory to save the new project to the same disk where the SPHY model source code has been installed (Section 3.1.4). Otherwise an error will occur.

After creating a new project, the map canvas will be emptied, and the GUI looks like Figure 27. The user may now continue completing the different tabs.

5.2.2 Open Project

Opening an existing project allows you to continue with a previous SPHY model interface project. By clicking the Open project button you will be asked to select a *.cfg project file to be opened. If a current SPHY model project was open in QGIS, then it will be asked to save the current project first before opening another project. Opening an existing project results in the QGIS canvas to be cleared, and the layers present in the *.qgs file to be added to the canvas. All model settings present in the *.cfg file will be added to the SPHY model GUI. Your SPHY model interface could now look something comparable to Figure 28.

5.2.3 Save and Save As

The GUI allows you to save your SPHY model project. After clicking the Save or Save As buttons, these buttons will become unavailable (see Figure 28) until you change something (e.g. a parameter setting) in the GUI. This means these buttons are also an indicator of recent changes to the interface. As soon as you change/modify something in the GUI, these buttons will become available again. It should be noted that running the model automatically results in saving your SPHY model project before the model is executed. This accounts for all GUI model settings to be saved in the *.cfg file and to run the model with these GUI settings.

The Save and Save As buttons save the GUI settings to the *.cfg file and the map canvas layers and view settings to the *.qgs file. The Save As button allows you to save the SPHY model project under another filename. This may be useful if you need to study for example the effect of a parameter change without losing your previous model run settings and output.

Figure 27: SPHY model interface after creating a new project.
Figure 28: Example of SPHY model interface after opening an existing project