6.1. Introduction

6.1.1. Study area

Download the dataset here.

In this lab you will calibrate parameters of a hydrological model for the Dorfertal catchment near Kals (Austria). Use aguila to display the digital elevation map (dem.map, elevation above sea level in metres) the local drain direction map (ldd.map) and the location of the streamflow measurements (sample_location.map). The cell size used is 100 m. DEM data are from Open Data Oesterreich.

As you can see on the photo below, even in summer the peaks are covered with snow.

Timeseries data as input to the model are plotted in observed_timeseries.pdf. Temperature and precipitation are taken from CFSR, streamflow from GRDC.

../_images/dorfertal.jpg

Dorfertal catchment with main stream, photo taken in summer.

6.1.2. The hydrological model

Except interception of precipitation (i.e., rainfall plus snowfall) by the vegetation, the model represents all main components of a hydrological system, where each component is modelled using simple equations. The figure below shows the model structure. The model has two storages, the snow storage and the subsurface storage. The latter represents all the water that is stored below the surface. The input of water is precipitation, the outputs from the system are streamflow and loss of water to the atmosphere. A number of fluxes is defined each defined by a particular equation. These equations use so called parameters, which are mostly assumed to be fixed. They are shown in red in the schematic. It is often hard to directly measure parameters and this is why they are ‘calibrated’. We will come back to this later.

An essential component in the model is the air temperature. As it is not measured for all pixels in the area, we use a time series of temperature observed at a certain reference elevation. As temperature mostly decreases with elevation, temperature is then estimated for each pixel using the digital elevation model (surface level of each pixel). For detailed model equations refer to the text below. Most important in this exercise is the snowmelt rate parameter m which is the one that will be calibrated.

../_images/schematic.jpg

Schematic of the model. Reference elevation of temperature is in principle given by the dataset, but has some uncertainty and could be adjusted in calibration, which is why it is shown as a parameter here.

The equations below are evaluated for each grid cell, for all timesteps (time step is 1 day):

The air temperature (t, degrees Celcius) above the surface is:

t = t_{obs} - l(e - e_{obs})

With, t_{obs}, the observed temperature (degrees Celcius); l, the temperature lapse rate (degrees / m elevation); e, the elevation of the land surface; e_{obs}, the reference elevation of the observed temperature.

Snowfall (s, m equivalent water depth/day) is

s = \left\{\begin{matrix}
    p & \text{for } t < 0.0\\
    0 & \text{for } t \geq 0.0\\
    \end{matrix}\right.

With, p, the observed precipitation (m/day).

Rainfall (r, m/day) is

r = p - s

The rate of change in the snow depth (s_d, m equivalent water depth) is

\frac{ds_d}{dt} = s - mt - u

With, m, meltrate parameter (degree day factor, m/(day degree)); u, sublimation (m/day). The sublimation is equal to the loss of water to the atmosphere parameter (l_{atm}, m/day); if the snow depth s_d becomes zero, sublimation becomes zero and loss of water to the atmosphere is taken from the subsurface water storage (see below).

The water flux available for infiltration (a) equals the sum of snowmelt and rainfall:

a = m (\text{max}(t,0)) + s

With, m, the snow melt rate parameter (m/(day degree)). The actual infiltration (i, m/day) is:

i = \text{min}(i_{cap}, a)

With, i_{cap} the infiltration capacity parameter (m/day).

Water in the subsurface is represented by g (m), this is the amount of water stored below the surface, loosely defined as groundwater. Upward seepage from the subsurface (g_{seep}, m/day, loss of groundwater to the surface water) is:

g_{seep} = p_{gw} g

With, p_{gw}, seepage parameter (/day). The rate of change in the groundwater is:

\frac{dg}{dt} = i - g_{seep} - u

With, u the loss to the atmosphere which is zero in case of snow cover (in which case loss to the atmosphere is taken from the snow cover).

The amount of surface runoff (m/day) generated is:

r_g = a - i + g_{seep}

The streamflow is calculated for each day as the sum of r_g in all the upstream pixels of a cell.

Inspect the script runoff.py. It is a standard PCRaster Python script except for the added capability to pass a parameter value to the actual model; the def __init__ statement takes an argument meltRateParameter which is passed when calling the model at the bottom of the script. At the bottom of the script is also some code that will be used for the calibration, which will be explained later on. The model simulates the same time span as given by observed_timeseries.pdf, i.e. three years.

Execute the model. Inspect the timeseries of maps created by the model; snow depth, snow (snow0000.001, snow0000.002, etc maps); subsurface storage, sub; and streamflow discharge, dis. For instance:

aguila dem.map sample_location.map --timesteps=[1,1461,1] snow dis

Do not forget to right-mouse click on the legend to plot the timeseries - if you click on the map you can then plot the timeseries for any location.


Question: Does the snowdepth at timestep 1 have a realistic value?

  1. Yes, it is midsummer and snowdepth is thus close to zero.

  2. Yes, it is midwinter but there was hardly any snowfall resulting in zero snowdepths.

  3. No, it is assumed snowdepth is zero at the start as there is no information on the starting value.

  4. No, it is assumed snowdepth is at a maximum at the start as there is no information on the starting value.

Correct answers: c.

Feedback: The depth of the snow is unknown at the start, which is 1 january, i.e. midwinter. Of course there will be a considerable snowpack then. So simulation results for the first year at least should be considered a rough estimation. In the calibration later on we will use the first year to ‘spin up’ the model and from year two on data are used for the calibration.



Question: What is the mechanism determining larger amounts of streamflow in spring?

  1. Snowmelt. The snowdepth is decreasing in spring causing high streamflow. In addition, peaks in streamflow occur due to direct rain.

  2. Rainfall. The rainfall is seasonal with highest rain in winter and spring. In winter it falls as snow but in spring it falls as rain causing high streamflow.

  3. Loss of water to the atmosphere. This changes over time, with highest losses in summer and winter, causing higher streamflow in spring (and autumn).

  4. Wrong! Streamflow is highest in summer when precipitation falls as rain, which drains to the stream.

Correct answers: a.

Feedback: Like most Alpine catchments the streamflow is mainly determined by the occurence of snowmelt. In spring, snowmelt is highest due to increasing temperatures. In summer and autumn most of the snow has disappeared and only rainfall contributes to streamflow (and flow from the groundwater). In winter there is hardly discharge as precipitation falls as snow, but there will be some baseflow from the groundwater.


6.1.3. Comparison with observed streamflow

Let’s now compared modelled streamflow with observed (measured) streamflow. Here we do so by importing the observed streamflow (at the measurement location) to the model and reporting it as a map. This is somewhat cumbersome but has the advantage that we can evaluate results with aguila.

Add the following to the bottom of the dynamic section:

# read observed discharge
dis_obs = timeinputscalar('streamflow.txt', ifthen(self.sampleLocation,boolean(1)))

And add additional statements that:

  • Calculate the difference between modelled and observed streamflow (use the - operator, modelled minus observed).

  • Write this difference map to disk (report), use dMmO as output file name.

  • Write the observed difference to disk (dis_obs), use dO as output file name.

Run the model and display dO, dMmO, and dis. Right-click on the legend to plot the timeseries and then click on the measurement location to retrieve the values at the this location in the timeseries.


Question: What is the main difference between modelled and observed streamflow?

  1. The streamflow is overestimated in midwinter.

  2. The streamflow is often too high in autumn.

  3. The streamflow is often too low in spring and too high in summer.

  4. The streamflow is often too high in spring and too low in summer.

Correct answers: c.

Feedback:

The streamflow is too high in summer and too low in spring. In other words, the high streamflows due to melting of the snow come too late in the season. The bottom part of the dynamic section should look like this:

        # read observed discharge
        dis_obs = timeinputscalar('streamflow.txt', ifthen(self.sampleLocation,boolean(1)))
        # modelled minus observed discharge
        disMmO = dischargeMetrePerSecond - dis_obs
        # write to disk
        self.report(disMmO, 'dMmO')
        self.report(dis_obs, 'dO')