...
Code Block | ||||
---|---|---|---|---|
| ||||
<properties> <string key="xIBMClientId" value="ID"/> <string key="xIBMClientSecret" value="Secret"/> </properties> |
Import types
The original FEWS import from WIWB data is done through a direct soap connection. Because this method is not intended to be used for bulky data downloads, another second so-called asynchronous download option has been developed. This asynch option is to be used for non-operational and larger datasets. The normal importType is WIWB, while the asynch option is WIWB_asynch.
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.
...
The following example is configured for importing grids from the Knmi.Radar.Uncorrected dataSource, using the direct import:
Code Block |
---|
<import> <general> <importType>WIWB</importType> <serverUrl>https://wiwb.hydronet.com/api</serverUrl> <user>$WIWB_USER$</user> <password>$WIWB_PW$</password> <relativeViewPeriod unit="hour" start="-12" end="-10" startOverrulable="false"/> <idMapId>IdImportWIWB_obs</idMapId> <dataFeedId>WIWB (Knmi.Radar.Uncorrected)</dataFeedId> </general> <properties> <string key="dataSource" value="Knmi.Radar.Uncorrected"/> </properties> <timeSeriesSet> <moduleInstanceId>ImportKNMI</moduleInstanceId> <valueType>grid</valueType> <parameterId>P.radar</parameterId> <qualifierId>uncorrected</qualifierId> <locationId>Hydronet_radar</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="minute" multiplier="5"/> <readWriteMode>add originals</readWriteMode> <synchLevel>6</synchLevel> </timeSeriesSet> </import> |
...
Example of a aggregated radar product using the asychronous import
Code Block | ||
---|---|---|
| ||
<import> <general> <importType>WIWB<<importType>WIWB_async</importType> <serverUrl>https://wiwb.hydronet.com/api</serverUrl> <connectionTimeOutMillis>900000</connectionTimeOutMillis> <user>$WIWB_USER$</user> <password>$WIWB_PW$</password> <relativeViewPeriod unit="hour" start="-24" end="0" startOverrulable="true"/> <idMapId>IdImportWIWB_radar</idMapId> <dataFeedId>WIWB (Knmi.Radar.CorrectedC2, hour)</dataFeedId> </general> <properties> <string key="dataSource" value="Knmi.Radar.CorrectedC2"/> <double key="minimumAggregationAvailability" value="1.00"/> </properties> <timeSeriesSet> <moduleInstanceId>ImportRadar</moduleInstanceId> <valueType>grid</valueType> <parameterId>P.radar</parameterId> <qualifierId>CorrectedC2</qualifierId> <locationId>Hydronet_radar</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="hour" multiplier="1"/> <readWriteMode>add originals</readWriteMode> <synchLevel>6</synchLevel> </timeSeriesSet> </import> |
...