You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Overview

The WIWB Import connects to the Hydronet WIWB API and has support for downloading observations and forecasts for both scalar and grid data. WIWB has a concept of DataSources which have to be configured as a property of the import. Using the meta data api of  the WIWB API the type of data is determined and processed accordingly.

Import Configuration

To configure the WIWB import the dataSource property has to be specified.

Valid values for dataSource are provided by the meta data api, but at the time of writing the following dataSources are available:

  • Knmi.Evaporation
  • Knmi.RegionalEps
    Note that the ensemble members 1-50 are the real ensemble, while member 51 and 52 are the control and deterministic runs. So it is advised to store the ensemble in a temporary ensembleId and to postprocess the members 1-50 to the real ensemble.
  • Knmi.Synops
  • Knmi.AwsTenMinutes

 

Available, but not tested:

  • Knmi.Radar.Uncorrected
  • Knmi.Radar.CorrectedC2
  • Knmi.Radar.CorrectedB
  • Knmi.Radar.CorrectedD2
  • Knmi.Hirlam
  • Knmi.Harmonie
  • Knmi.IrisUnvalidated
  • Knmi.IrisValidated
  • Knmi.WaterSetupEps
  • Knmi.Warnings
  • Meteobase.Evaporation.Makkink
  • Meteobase.Evaporation.PennmanMonteith
  • Meteobase.Precipitation
  • Knmi.WaquaTs
  • Knmi.Naval.Warnings
  • Knmi.Naval.Forecasts
  • Knmi.FromMeteobase.Synops
  • Knmi.FromMeteobase.Evaporation

All times are in UTC.

Missing values.

If the WIWB specifies the missing value for a datasource, this will be used by FEWS. The missing value can also be specified in the import configuration as well. The default value for missing value is -9999 for the WIWB API.

Grid definitions

The WIWB API can provide the grid definitions of the models. The WIWB Import will log the Grid Definition if debug is enabled during the import.

Examples

This example is configured to import scalar observations from the Knmi.AwsTenMinutes dataSource:

Example AwsTenMinutes
	<import>
		<general>
			<importType>WIWB</importType>			
			<serverUrl>https://wiwb.hydronet.com/api</serverUrl>
			<user>USERNAME</user>
			<password>PASSWORD</password>
			<relativeViewPeriod unit="hour" start="-24" end="0" startOverrulable="true"/>
			<idMapId>IdImport</idMapId>
		</general>
		<properties>
			<string key="dataSource" value="Knmi.AwsTenMinutes"></string>
		</properties>
		<timeSeriesSet>
			<moduleInstanceId>Import</moduleInstanceId>
			<valueType>scalar</valueType>
			<parameterId>P</parameterId>
			<locationId>06269</locationId>
			<timeSeriesType>external historical</timeSeriesType>
		    <timeStep unit="minute" multiplier="10"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
	</import>

 

Example of idMapping to some of the WIWB parameters:

<idMap version="1.1" xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/idMap.xsd">
    <parameter external="Evaporation" internal="E.obs"/>
    <parameter external="P" internal="P.obs"/>
    <parameter external="WindDirection" internal="Wind.obs.dir"/>
    <parameter external="WindSpeed" internal="Wind.obs.speed"/>
    <parameter external="TMP" internal="T.obs"/>
    <locationIdPattern internalLocationSet="KNMI_Stations" internalLocationPattern="KNMI_*" externalLocationPattern="06*"/>
</idMap>

 

The following example is configured for importing grids from the Knmi.Radar.Uncorrected dataSource:

	<import>
		<general>
			<importType>WIWB</importType>			
			<serverUrl>https://wiwb.hydronet.com/api</serverUrl>
			<user>USERNAME</user>
			<password>PASSWORD</password>
			<relativeViewPeriod unit="hour" start="-24" end="0" startOverrulable="true"/>
			<idMapId>IdImport</idMapId>
		</general>
		<properties>
			<string key="dataSource" value="Knmi.Radar.Uncorrected"></string>
		</properties>
		<timeSeriesSet>
			<moduleInstanceId>Import</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>P</parameterId>
			<locationId>grid_location</locationId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep unit="nonequidistant"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
	</import>

  • No labels