In order to activate the Vigicrues Web import as a FEWS import, it is required to set up a TimeSeriesImportRun module configuration file and an accompanying IdMap file.

The import will take the serverUrl and append it with "?CdStationHydro=<externalLocationId>&GrdSerie=<externalParameterId>", for each combination of <externalLocationId> and <externalParameterId> found in the IdMap file. Running the import in debug mode will print the full url(s) in the log window. The data in the XML-file obtained from the url(s) will be imported using the Vigicrues Xml import, so please refer to that wiki for more information on how the XML is read.

Example Import configuration file:

<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesImportRun xmlns=""
<!-- This is an example import configuration file for importing Observations and Measurements data from a service -->
       <timeSeriesType>external historical</timeSeriesType>
       <timeStep unit="hour" multiplier="1"/>
       <readWriteMode>add originals</readWriteMode>

Example IdMap file:

<?xml version="1.0" encoding="UTF-8"?>
<idMap version="1.1" xmlns="" xmlns:xsi="" xsi:schemaLocation="">
    map internal timeseries directly to external timeseries
    externalLocation should be set to CdStationHydro
    externalParameter should be set to GrdSerie
<map internalLocation="Vigicrues_web_1" internalParameter="Q.obs" externalLocation="L800001020" externalParameter="Q" />
<map internalLocation="Vigicrues_web_2" internalParameter="Q.obs" externalLocation="B463101001" externalParameter="Q" />