Versions Compared

Key

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

...

Code Block
languagexml
<import>
	<general>
		<importType>WIWB</importType>
		<serverUrl>https://wiwb.hydronet.com/api</serverUrl>
		<connectionTimeOutMillis>900000</connectionTimeOutMillis>
        <user>$MY_WIWB_CLIENT_ID$</user>
  	    <password>$MY_WIWB_CLIENT_SECRET$</password>
        <externalForecastTimesSearchRelativePeriod unit="day" start="-7" end="0"/>
		<externalForecastTimesCardinalTimeStep unit="hour" multiplier="12">
		<idMapId>IdImportWIWB_fc</idMapId>
		<dataFeedId>WIWB (Knmi.RegionalEps)</dataFeedId>
	</general>
	<properties>
		<string key="dataSource" value="Knmi.RegionalEps"/>
        <string key="authentication" value="BearerToken"/>
        <string key="tokenUrl" value="https://login.hydronet.com/auth/realms/hydronet/protocol/openid-connect/token"/>
    </properties>
	<timeSeriesSet>
		<moduleInstanceId>ImportKNMI</moduleInstanceId>
		<valueType>scalar</valueType>
		<parameterId>P.voorsp.ens</parameterId>
		<locationSetId>KNMI-EPS</locationSetId>
		<timeSeriesType>external forecasting</timeSeriesType>
		<timeStep unit="hour" multiplier="6"/>
		<readWriteMode>add originals</readWriteMode>
		<ensembleId>EPS</ensembleId>
	</timeSeriesSet>
</import>

Only requesting new data by default

When the WIWB import is connected to a <dataFeedId> FEWS keeps track of the latest time step imported and it will limit the request to a period that is only after that latest time step.

This has been done to be more efficient and prevent the import to keep requesting data that is already imported.

In certain cases this may not be desirable, for instance to request older data that has been missed (it may not have been available or the import didn't run for some time)

In that case the option <trimPeriodWhenLastImportedTimeStepAfterPeriod> can be set to false, then the full period will be requested.