Versions Compared

Key

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

The harvesting process can be quite time consuming. For simulated data and external forecasts both the available netCDF-files and the available time series are the metadata of the timeseries are by default stored in the catalogue. The indexing   This part of the time series of simulated data and external forecasts consumes a lot of time. These indexes harvesting process can take a substantial amount of time.  However the metadata of the external forecasts and the simulated data are only needed when you want to retrieve simulated data or external forecasts from the archive by using with the Delft-FEWS web services. This feature is only used by limited amount of clients. If you do not use this feature then you can disable this indexing by the following configuration option the webservices, you can save on harvesting time by disabling the indexing with the <indexForecastTimeSeries> configuration option in the archiveServerConfig.xml file. Below an example.

Code Block
languagexml
<archiveServer xmlns:arc="http://www.wldelft.nl/fews/archive" xsi:schemaLocation="http://www.wldelft.nl/fews/archive http://fews.wldelft.nl/schemas//version1.0/archive-schemas/archiveServer.xsd" xmlns="http://www.wldelft.nl/fews/archive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <archiveEnvironmentName>$prop1$</archiveEnvironmentName>
    <baseUrlFileServer>http://dummy_server:8080/thredds/fileServer/Archive</baseUrlFileServer>
    <baseUrlArchiveRootFolder>file:///d:\fews\archive\</baseUrlArchiveRootFolder>
    <indexForecastTimeSeries>false</indexForecastTimeSeries>
</archiveServer>


After you changed changing this configuration you need to restart tomcat to enable this setting. After the restart you need to clear the catalogue and start restart the harvester to re-index the catalogue again.