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

Compare with Current View Page History

« Previous Version 4 Next »

Overview

The archive display can be used to interact with the FEWS-archive.

The main functions which are supported by this display are:

  • management of events in the archive,
  • search for events and download data related to events from the archive,
  • search for data in the archive

 

Configuration

To use the archive display, configure it as <explorerTask> in Explorer.xml. For example:

		<explorerTask name="Archive Catalogue">
			<iconFile>Archive.png</iconFile>
			<mnemonic>A</mnemonic>
			<displayConfigFileName>ArchiveModuleDisplay</displayConfigFileName>
			<toolbarTask>false</toolbarTask>
			<menubarTask>true</menubarTask>
			<accelerator>ctrl A</accelerator>
			<loadAtStartup>false</loadAtStartup>
		</explorerTask>

 

To configure this display a configuration file ArchiveModuleDisplay.xml should be added to the DisplayConfigFiles folder.

An example config is shown below

		<?xml version="1.0" encoding="UTF-8"?>
<archiveModuleDisplay 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/archiveModuleDisplay.xsd">
	<archiveServer>
		<archiveWebService>http://localhost:7080/deltares-archive-server</archiveWebService>
		<archiveConfigFileUrl>http://localhost:8080/thredds/fileServer/archiveConfig
</archiveConfigFileUrl>
		<eventsFileServerUrl>http://localhost:8080/thredds/fileServer/Events
</eventsFileServerUrl>
		<dataFileServerUrl>http://localhost:8080/thredds/fileServer/Archive</dataFileServerUrl>
		<geoNetworkCatalogue>
			<url>http://localhost:9080/geonetwork/srv/eng/csw
</url>
			<user>user</user>
			<password>password</password>
		</geoNetworkCatalogue>
	</archiveServer>
	<workFolder>%REGION_HOME%/ArchiveDownload/workdir</workFolder>
	<createEventPermission>createpermission</createEventPermission>
	<deleteEventPermission>deletepermission</deleteEventPermission>
	<downloadFolders>
		<downloadFolderObserved>$ARCHIVE_DOWNLOAD_FOLDER$/observed</downloadFolderObserved>
		<downloadFolderSimulated>$ARCHIVE_DOWNLOAD_FOLDER$/simulated</downloadFolderSimulated>
		<downloadFolderExternalForecasts>$ARCHIVE_DOWNLOAD_FOLDER$/externalforecasts</downloadFolderExternalForecasts>
		<downloadFolderRatingCurves>$ARCHIVE_DOWNLOAD_FOLDER$/ratingcurves</downloadFolderRatingCurves>
		<downloadFolderHistoricalEvents>$ARCHIVE_DOWNLOAD_FOLDER$/historicalevents</downloadFolderHistoricalEvents>
		<downloadFolderForecasterNotes>$ARCHIVE_DOWNLOAD_FOLDER$/messages</downloadFolderForecasterNotes>
		<downloadFolderConfiguration>$ARCHIVE_DOWNLOAD_FOLDER$/configuration</downloadFolderConfiguration>
		<downloadFolderEventAttachments>$ARCHIVE_DOWNLOAD_FOLDER$/attachments</downloadFolderEventAttachments>
	</downloadFolders>
</archiveModuleDisplay>

 

 

  • No labels