Versions Compared

Key

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

In order to activate the SENAMHI Vigicrues Web import as a FEWS import, it is required to set up a TimeSeriesImportRun module configuration file and an accompanying IdMap file. To make the certificate of the Vigicrues Web-API known to FEWS, a so called client.truststore is required. Since FEWS 2017.02 it is reccomended to configure the truststore in the clientConfig.xml. For instruction see: How to configure secure https connection to Matroos.

The root certificate in the certification path of the url must be present in the truststore. At the time of writing, this is "Certigna" and a truststore including (only) this certificate can be found here. For instructions on how to create a new truststore containing the certificate or add the certificate to an existing truststore, see: Import data using OPeNDAP.

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.

...