...
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.HarmonieKnmi.Evaporation
- Knmi.IrisUnvalidated
- Knmi.IrisValidated
- Knmi.RegionalEps
- Knmi.Synops
- Knmi.WaterSetupEps
- Knmi.WarningsKnmi.AwsTenMinutes
- 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.
...
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <timeSeriesImportRun 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/timeSeriesImportRun.xsd"> <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> <expiryTime unit="week" multiplier="52"/> </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="nonequidistant10"/> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> </import> </timeSeriesImportRun> |
Example of idMapping to some of the WIWB parameters:
Code Block | ||
---|---|---|
| ||
<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:
Code Block |
---|
<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>
<expiryTime unit="week" multiplier="52"/>
</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>
|