Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All data sources as in the table above have their original interval. If you want to import an aggregated product, the WIWB API supports that. You can aggregate every product with a multiplier of its original interval. The <timestep> configured in the Delft-FEWS import moduleInstance of that datasource will be interpreted whether you want to import the original or an aggregated product. E.g. the KNMI Radar products have an original interval of 5 minutes, so aggregation options are 10 minutes (2 x 5 minutes), 15 minutes (3 x 5 minutes) etc. As mentioned, the <timestep> definition in Delft-FEWS will be leading. Disaggregating is not supported.

...

The WIWB API has the default option that aggregation to larger timesteps is valid when at least one timestep is available. For example: a 5 minute timestep is aggregated to hourlies when at least one 5 minute timestep is available. For Delft-FEWS applications this is usually not the best solution. Therefore a so-called "minimumAggregationAvailability" option has been added. This value (of type double) has a valid range from 0 to 1 and indicates to the WIWB API the fraction of how much original timesteps should be available in the new timestep. Usually the value will be set to 1, as also can be seen from the below config example "aggregated radar products".

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
languagexml
<import>
	<general>
		<importType>WIWB</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>