What is the archive database?

It is possible to store scalar data in a database instead of netCDF-files on disk. Currently the only supported database type is MongoDB. The MongoDB implementation has been developed in close cooperation with TVA, Manitoba Hydro and Infisys. It is however possible to add support for other database types as well by implementing a set of java interfaces. The archive database should be considered as an optional extension to the Deltares Open Archive to store scalar data in a way which is more convenient to your organization.

Storing data in MongoDB instead of netCDF-files has the following advantages:

  1. Data is directly available. It is not necessary to run the harvester.
  2. Reading data from MongoDB by using seamless integration is more performant in comparison to reading from netCDF-files,
  3. MongoDB prevents that data is stored multiple times in the archive.

How should I configure the archive database?

The archive database should be configured in the Archives.xml. In this file should be configured how to connect to the archive database and how to load the database plugin. See also: Archives

How can I import data to the archive database?

How can I import data from the archive database? Data can be imported by using the ArchiveDisplay. More information about this topic can be found here: Archive display. Data can also be retrieved by using the seamless integration. In the Time Series Dialog the seamless integration is only available for external historical data. In the Delft-FEWS web services the seamless integration is also available for simulated data and external forecast data. No additional configuration is needed to activate the seamless integration for the archive database. Once the archive database is configured in the Archives.xml it will automatically be activated.

How can I export data to the archive database?

The data export to the archive database can be configured in a way which is similar to the regular data export to the open archive. The archive export module has three different tags which can be used to configure data exports to the archive database. See also: Export to Deltares Open Archive:

  • exportExternalHistoricalTimeSeriesToArchiveDatabase
  • exportSimulatedTimeSeriesToArchiveDatabase
  • exportExternalForecastingTimeSeriesToArchiveDatabase

Installation of MongoDB

Installation Archive database MongoDB - DELFT-FEWS Documentation - Deltares Public Wiki







  • No labels