Overview
The MinerveJson import function (<importType>MinerveJson</importType>) imports data from a folder with JSON files in the Minerve format. (since 2020.01).
Configuring the Import
De import type and folder with JSON files have to be configured in the Import Configuration. A basic example where one location and parameter are imported can be seen in the following XML configuration:
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesImportRun 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/timeSeriesImportRun.xsd">
<import>
<general>
<importType>MinerveJson</importType>
<folder>$IMPORT_FOLDER_ROOT$/Minerve</folder>
</general>
<timeSeriesSet>
<moduleInstanceId>Import_GFS_Server</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>QDown</parameterId>
<locationId>Goneri - Oberwald OFEV|Junction</locationId>
<timeSeriesType>external forecasting</timeSeriesType>
<timeStep unit="hour" multiplier="1"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>6</synchLevel>
</timeSeriesSet>
</import>
</timeSeriesImportRun> |