It is possible to edit archived data in FEWS. This can be done in the Plots display. In the Archives.xml you can enable that data edits for time series which are already archived are automatically uploaded to the archive (OC only) in a stand alone this can be done by using the archive display (tab uploaded data to archive). The data edits will be uploaded in pi-xml format to the webservice of the Archive. The webservice will save the uploaded pi-xml files in the folder upload/edit. To process these files a special task in the archive export module is available.

A configuration example can be found below:

<?xml version="1.0" encoding="UTF-8"?>
<exportArchiveModule 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/exportArchiveModule.xsd">
	<mergeEditedObservedData>
		<archiveFolder>d:/fews/archive/data</archiveFolder>
	</mergeEditedObservedData>
</exportArchiveModule>

The archiveFolder should contain the location of the archiveFolder at the server which runs the FSS. It should be scheduled on regular basis so that edited data can be processed. The uploaded pi-xml files are processed in 'First in First out' order. Note that the current procedure of merging data edits into the archive is based on reading the time series of a netcd-files into a FEWS workflow and replacing the edited values and exporting a new netcdf-file to the archive. The downside of this procedure is that custom attributes which added in the original netcdf file will not be exported. This is an enhancement which is scheduled for a later version.

  • No labels