5.3 General settings
Last updated
Last updated
5.3.1 Folder selection
Figure 29 shows an overview of the General settings tab. As soon as you start a new project, the folder selection settings should be completed first. If this is not set correctly, then errors will show up. First of all, the GUI needs to know where your SPHY model source code is located. By clicking the Select sphy.py folder you are asked to select the folder in which the sphy.py file can be found. If you select a folder in which no sphy.py file can be found, then you will receive a notification as is shown in Figure 30. As was mentioned in Section 4.3.1, it is mandatory to have the SPHY model source code on the same disk as your SPHY model interface project.
The next step is to set your SPHY model input and output folders. The in- and output folders should be on the same disk as your SPHY model source code because these folders are used as relative paths in the model. All the model input data (maps, tables, etc.) that is used throughout setting up your model in the GUI should be located inside the Input folder.
The output folder is the location where all the model output will be saved during execution of the model. The model output data in this folder will be parsed to the Visualize results tab, which allows you to select certain output to be added to the map canvas. This is described in detail in Section 4.14.
5.3.2 Period of simulation
The period of simulation allows you to change the start and end date of your simulation. It should be noted that the start date always has to correspond with the first climate forcing file (*.001). Setting the end date is an interesting option if the user only wants to model/study for example the first year out of a period of 20 years of data. This may be used to check if all the model input is correctly set before executing the entire period of 20 years, which can take a long time.
5.3.3 Coordinate system
The default coordinate system used in the SPHY model GUI is WGS 84. This corresponds with EPSG:4326[SK|F1] . It is important to specify the coordinate system at the beginning of your SPHY model project and keep this coordinate system throughout the SPHY model project. If you change the coordinate system halfway your project, then maps will not align in QGIS.
5.3.4 Catchment settings
The catchment settings basically define the shape and orography of your river basin. The user has to select five spatial maps that define the basin of interest. Table 2 provides an overview of these maps. Each of these 5 maps can be selected and added to the map canvas by clicking the Select map button. After clicking this button, you will be referred to the Input folder that has been set under Section 4.4.1. Within this folder you are asked to select the map of interest and to click on Open to add the map to the GUI and the QGIS map canvas. This is illustrated in Figure 31 for the DEM map.
After these 5 maps have been set, the user can continue with the next tab: Climate.
Table 2: Catchments settings maps.
Clone map
Mask of catchment. Defines the basin for cells being True.
DEM map [MASL]
Digital Elevation Model. Defines for each cell the elevation in Meters Above Sea Level [MASL].
Slope map [-]
Defines for each cell the slope [-], based on the DEM.
Sub-basins map
Map with cells belonging to the same sub-basin having the same unique ID. Used for calculation of sub-basin fluxes in mm.
Stations map
Nominal map with unique IDs for cells identified as being a location where time-series output is required. Non-station cells have zero values.
In order to present the model input and output map correctly in the QGIS map canvas, you need to specify the coordinate system of your area of interest. The coordinate system must be specified in EPSG. You can search for the corresponding EPSG number on this website: