You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The Archives.xml is used to configure the Delft-FEWS archive which will be used for the seamless integration. 

The seamless integration between the Delft-FEWS archive and the operational database means that when data is not found in the operational database that

FEWS will search for this data in the archive.

 

The seamless integration is now available in the plots (timeseries-dialog) for external historical timeseries and for simulations and external historical time series in the FEWS pi-services.

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

<?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 seamless integration uses the elastic search catalogue and not the Geonetwork catalogue). In addition the url of the fileserver at which the data is available should be configured.

To test if the url for the catalogue is correct you can paste the url in your browser. If the config is correct you should see a response simular to the one below.

{
  "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 is correct you should append /catalog.html to the url and paste this url in your browser. If the url is correct you should see a list of the files and directories in the root of your data folder in the archive.

 

 

  • No labels