The aim of the Hydrological Modelling Application is to provide a platform for assimilation of EO data in hydrological models. It includes processing services for running a hydrological model in hindcast and forecast mode with or without satellite and in-situ data assimilation, accessing meteorological data from external data services, preparing EO data for assimilation in the hydrological models, basic visualization and statistical analysis of model results.
The Hydrological Modelling Application is implemented using the Niger-HYPE model (v2.21) providing simulations of river discharge, lake water level and outflow, as well as land surface water balance components (precipitation, evapotranspiration, runoff, and soil water content) for the Niger river basin. The service collects meteorological forcing data from the SMHI Global Forcing Data service for simulations of historical periods from 1979 until current time, and short to medium range forecasts (1-10 days) since 2016-06-01. The following four Processing services are included in the application:
- Niger-Hype simulation of historical period
- Niger-HYPE forecast
- EO-data pre-processing
- Return Period magnitude Analysis
Further details about the Niger-HYPE model http://hypeweb.smhi.se/niger-hype Source code and information about the HYPE model see http://hypecode.smhi.se Documentation and wiki about HYPE that can be useful in the following hands-on exercises is found here http://www.smhi.net/hype/wiki/doku.php
The Hydrological Modelling application is accessed from the home page of the Hydrology TEP community portal:
[1] | See http://hypecode.smhi.se and http://hypeweb.smhi.se/nigerhype for more details about the hydrological model HYPE and the Niger-River HYPE model application, respectively. |
Instructions how to run the different processing services are given in the following sections.
The hydrological model sub-basin layer makes it possible to select area of interest based on drainage basins and upstream area.
This functionality is dependent on the drainage basin data set available on the portal.
Currently, the drainage basin of the Niger river as represented in the Niger-HYPE model is the only dataset loaded into the HEP community portal.
[2] | The EO data coverage polygons may be blocking the sub-basin polygons. Solution, see Known issues. |
There is also functionality for applying spatial filter on the EO data selection, see further below.
The method will select the EO data that are covering the selected sub-basin only.
By clicking somewhere in the upstream area, the spatial filter will be applied using the upstream area.
The selected data sets can be added to the Feature basket and used for processing within the other thematic applications.
This hands-on exercise describes how to make simulation with the Niger-HYPE historical period service with or without EO data assimilation.
Please note that the ensemble simulations generated when switching Assimilation On requires much more processing time (at least 10 times more) compared to Assimilation Off. This is due to two reasons:
- The Ensemble Kalman filter method is based on ensemble simulations. Currently, the Niger-HYPE application is configured to include 10 members in the model ensemble (which is actually already a rather small number, 50 or more would be better).
- The model ensemble must also have enough variability to be able to adjust to the observations in a realistic way. Currently, the only method used here to generate ensemble spread is to add random perturbations to the meteorological forcing data (precipitation and temperature). Thus, it becomes important to include at least one rainy season in a warm-up period before the assimilation period. Consequently, the selected start of the simulation period is automatically adjusted to meet this criteria.
It is advisable to first make a simulation without assimilation to check results, and also the bias between simulated variable (WCOM in the example) and the observations to assimilate (AOWL in the example) and possibly correct the offset input parameter in the EO data pre-processing (see section 6.3.5 below).
The results from the processing service is described in the table below. The prefix numbers are used as a trick to order the output files in a certain order.
Output files | Description |
---|---|
001_[subid]_[name].png 001_[subid]_[name].pngw | Quicklooks (PNG format with associated word file PNGW for visualization in the map browser) with time-series plots of simulated variable [name] for sub-basin [subid], where [name] corresponds to the 4-letter code for HYPE model variables and [subid] to the Niger-HYPE sub-basin identifier. |
001_map[name].png 001_map[name].pngw | Quicklook (PNG format) with maps of variable [name] with mean simulated variable during the simulation period, where [name] corresponds to the 4-letter code for HYPE model variables. |
002_[subid].csv 003_[subid].txt |
Each text file includes data for the entire simulation period (daily values) for all selected output variables for one sub-basin. |
004_map[NAME].txt | Text file with average (full simulation period) simulated value for a selected variable specified by the file name (4-letter variable names, see HYPE wiki pages). Each row represents one subbasin of the model. |
005_time[NAME].txt | Text file with average (full simulation period) simulated value for a selected variable specified by the file name (4-letter variable names, see HYPE wiki pages). Each row represents one subbasin of the model. |
006_simass.txt 006_subass.txt | Text file with assessment of the agreement between simulated and observed data (depending on which observed variables added to the simulation through the Xobs-files). |
009_hyss_000_YYMMDD_hhmm .log | Log-file for the HYPE model simulation |
hypeapps-historical- logfile.txt | Log-file from the processing service. |
This hands-on exercise describes how to make a forecast simulation with the Niger-HYPE historical period service with or without EO data assimilation. Please note that several steps are identical to the Niger-HYPE historical simulation service. In this case, the hands-on guide will refer to section 6.3.3
The forecast service always makes two simulations - first a 3-month warm-up simulation (the hindcast) ending on the day before the start of the 10-day forecast simulation (the forecast). The outputs from hindcast and forecast simulations are published separately in the application results. The first day of the forecast simulation is called the Forecast issue date, and is one of the input parameters to the applications. Data is saved in the system to enable forecasts for issue dates between 2016-06-01 until the day before the current date.The application may automatically adjust the forecast issue date to an earlier date if the update of the meteorological forcing data for some reason is lagging behind (update is usually made around noon every day).
First of all, the Niger-HYPE forecast service produces similar results as the Niger-HYPE historical service - all variables listed in the section 6.3.3.2 are produced both for the hindcast and the forecast simulation period, except for the quicklooks. Results are sorted in subfolders called forecast and hindcast, respectively.
In addition, three specific forecast outputs are generated by the forecast service, and at the end also a processing service log file:
Output files | Description |
---|---|
001_[subid]_discharge-forecast.png 001_[subid]_discharge-forecast.pngw | River discharge forecast time-series plots (png quicklooks) for the selected output sub-basins [subid], with the return-period levels based warning levels plotted in the background. The quicklooks are visualized in the map browser located with the lower left corner in the centre-coordinate of the corresponding basin. |
001_mapWarningLevel.png 001_mapWarningLevel.pngw | River discharge forecast warning level maps (png quicklooks), showing the maximum forecasted river discharge warning level in each sub-basin of the Niger-HYPE model. The quicklook is displayed in the map browser scaled to the current map scale and centered on the Niger River basin. |
004_mapWarningLevel.txt | Maximum forecasted river discharge warning level in the HYPE map output text format (same format as 004_map[NAME].txt) |
hypeapps-forecast-logfile.txt | Log-file from the processing service. |
Example of River discharge forecast warning level map output (left) and River discharge forecast time-series output (right).
The purpose of the service is to transform data sets generated by the H-TEP EO data services to the time-series format required by the hydrological model. This include both spatial and temporal aggregation of the EO data sets. Currently, the service is configured to do temporal aggregation of data from the Water Level service, to provide time series with data representative for a selected Niger-HYPE sub-basin. The output is a textfile in the specific Xobs text format required to be assimilated in the HYPE model (see further on the HYPE wiki pages).
This section provides a brief guideline on how to use the Niger-HYPE EO data pre-processing processing service to prepare data from the Water Level service for assimilation in the Niger-HYPE model:
The results from the EO data pre-processing service is a text file called Xobs-eodata.txt containing the analysed EO data in the HYPE models Xobs-format:
- one row for each date (please note how the dates with missing data is padded with missing value identifier -9999)
- and one column for each variable and sub-basin (please note the format of the two header rows containing the sub-basin identifier and the 4-letter coded HYPE model variable names, respectively).
- Move the xobs-eobs.txt from the results container to the Feature basket if you intend to use it for assimilation in the Niger-HYPE modelling processors (historical or forecast).
In addition, there is a processor log file generated, which indicate if some input caused unexpected behaviour of the processor.
The purpose of the HYPE Return Period Analysis processing service is to estimate annual maximum values of for instance daily mean river discharge or precipitation at selected return periods (years). These return period levels (or magnitudes) can be used as input to the Niger-HYPE forecast processing service as thresholds for forecast warning levels. Currently, the Niger-HYPE forecast service will only use return level estimates for river discharge, but the HYPE Return period Analysis service can be used to analyse any output variable from the HYPE model (given in the time output format, which is generated by the Niger-HYPE historical processing service.
This section provide a brief guide on how to make use of the return period analysis service.
The result of the HYPE Return Period Analysis processing service is a textfile with estimated levels (annual maximum values of the input data) at different return periods (years):
- Each row correspond to a sub-basin in the Niger-HYPE model, identified by the sub-basin identifier in the first column.
- The remaining columns contain the estimated levels for the return periods (years) identified from the header row.
- Copy the result to your Feature basket if the file should be used as input to the Niger-HYPE Forecast processing service.