Versions Compared

Key

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

The Data from the Open Delft-FEWS Archive can be used in a Stand Alone or Operator Client FEWS client; this functionality is called seamless integration. The Archives.xml is used to configure file, located in the SystemConfigFiles folder, is used to add this seamless integration functionality to the Delft-FEWS archive which will be used for the seamless integration. The seamless system. Seamless integration between the Open Delft-FEWS archive and the operational database Archive and the Operational Delft-FEWS Database means that when data is not found in the operational database thatFEWS , FEWS will search for this data in the archiveOpen Archive. 

The seamless integration functionality is now available in the plots (timeseries-dialog) Time Series Display for external historical timeseries and scalar time series. Additional functionality for simulations and external historical time series in included in the FEWS pi-services.

Below an example of the content an Archives.xml configuration file:

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<archives xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/archives.xsd">
	<catalogueUrl>http://localhost:7080/deltares-archive-server/catalogue</catalogueUrl>
	<fileServerUrl>http://localhost:8081/thredds/fileServer/Archive</fileServerUrl>
     <dataFolder>d:\tva-archive\data\</dataFolder>
</archives>

...

The only configuration needed in the Archives.xml is the location of the catalogue (the catalogue and thredds:

  • The catalogue used for seamless integration

...

  • is the internal elastic search catalogue

...

  • (not the Geonetwork catalogue).

...

  • The catalogue is used by the FEWS client to find archived data.
  • The fileserver used for seamless integration in the THREDDS server. The fileserver is used to download the data from the archive.

The datafolder is optional. It is used by the pi-service (rest and soap) to read the data. If the datafolder is configured the data is read from the folder directly and not from THREDDS. Reading the data directly from disk is faster than reading the data from THREDDS. So the datafolder should be the root of the datafolder of the archive as it is on the server on which the pi-service is configured.

Test of the Archive configuration

To test if the catalogue url for the catalogue is correct you can , paste the url in your an internet browser. If the config is correct you should see a response simular to the one below.the response below will be visible (or something similar)

Code Block
xml
xml
{
  "status" : 200,
  "name" : "Cameron Hodge",
  "version" : {
    "number" : "1.3.2",
    "build_hash" : "dee175dbe2f254f3f26992f5d7591939aaefd12f",
    "build_timestamp" : "2014-08-13T14:29:30Z",
    "build_snapshot" : false,
    "lucene_version" : "4.9"
  },
  "tagline" : "You Know, for Search"
}

...

To test if the fileServerUrl fileServer url is correct you should append /catalog.html to the url configured and paste this url in your an intenet browser. If the url is correct you should see a list of the files and directories in the root of your the data folder in the archive will be visible.