MM3P files are essentially CSV files (comma-separated values) with the following characteristics:
Here is an example of such a file (note that a comma (,) is used as the separator exclusively and that the decimal separator is a period (.))
OS_NAME,PT_NAME,Timebase,Derivation,Timestamp,Value,Manual TKK001,LEVEL,15M,VAL,2009-03-13 05:00,10.655, TKK001,LEVEL,15M,VAL,2009-03-13 04:45,10.65063, TKK001,LEVEL,15M,VAL,2009-03-13 04:30,10.64937, TKK001,LEVEL,15M,VAL,2009-03-13 04:15,10.65563, TKK001,LEVEL,15M,VAL,2009-03-13 04:00,10.6575, TKK001,LEVEL,15M,VAL,2009-03-13 03:45,10.6525, TKK001,LEVEL,15M,VAL,2009-03-13 03:30,10.65, TKK001,LEVEL,15M,VAL,2009-03-13 03:15,10.65125, TKK001,LEVEL,15M,VAL,2009-03-13 03:00,10.64937, TKK001,LEVEL,15M,VAL,2009-03-13 02:45,10.65, TKK001,LEVEL,15M,VAL,2009-03-13 02:30,10.65063, TKK001,LEVEL,15M,VAL,2009-03-13 02:15,10.65625, TKK001,LEVEL,15M,VAL,2009-03-13 02:00,10.65312, TKK001,LEVEL,15M,VAL,2009-03-13 01:45,10.66, TKK001,LEVEL,15M,VAL,2009-03-13 01:30,10.64937, TKK001,LEVEL,15M,VAL,2009-03-13 01:15,10.65688 TKK001,LEVEL,15M,VAL,2009-03-13 01:00,10.65938 TKK001,LEVEL,15M,VAL,2009-03-13 00:45,10.65688 |
Notice that the importType should be defined as MM3PCSV.
<?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>MM3PCSV</importType>
<folder>$IMPORT_FOLDER_MM3P$</folder>
<maxAllowedFolderSizeMB>250</maxAllowedFolderSizeMB>
<failedFolder>$IMPORT_FAILED_FOLDER$/MM3P</failedFolder>
<backupFolder>$IMPORT_BACKUP_FOLDER$/MM3P</backupFolder>
<idMapId>IdMM3P</idMapId>
<unitConversionsId>ImportUnitConversions</unitConversionsId>
<importTimeZone>
<timeZoneOffset>+00:00</timeZoneOffset>
</importTimeZone>
<dataFeedId>MM3P</dataFeedId>
<reportChangedValues>true</reportChangedValues>
</general>
<timeSeriesSet>
<moduleInstanceId>ImportMM3P</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>Q.meting</parameterId>
<locationId>TKK001</locationId>
<locationId>TKK101</locationId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="minute" multiplier="15"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
|