...
Code Block | ||||
---|---|---|---|---|
| ||||
<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>
Event management
The first tab in the display can be used to create/read/update or delete events. Adding an event doesn't add data to the archive but marks a part of the data in the archive as being part of an event.
Data which is part of an event is treated differently than regular data in the archive. Data which is related to an event can for example have an longer expiry time.