Overview
The MIS file format is used for the forecasting system in Colombia and imports scalar timeseries.
File Structure
Code Block |
---|
|
<STATION>0011037030</STATION><SENSOR>0230</SENSOR><DATEFORMAT>YYYYMMDD</DATEFORMAT>
20120620;21:00:00;2.71
20120620;22:00:00;2.78
20120620;23:00:00;[15]
<STATION>0011037030</STATION><SENSOR>0231</SENSOR><DATEFORMAT>YYYYMMDD</DATEFORMAT>
20120620;21:00:00;270.7
20120620;21:58:00;278.4
|
From the header line the following information are read:
location id specified by tag STATION
parameter id specified by tag SENSOR
format of the date string to be used in parsing the data, specified by tag DATEFORMAT
Format of the time string can be HH:mm:ss or HHmmss.
There can be multiple blocks of data in each file, with each time series started by a STATION tag
Comma and point are recognized as decimal separators.
In some cases the value is give between square brackets - these are interpreted as missing data.
The file can contain blank lines.
Configuration (Example)
ModuleConfigFiles
Code Block |
---|
| xml |
---|
| xml |
---|
title | ImportIDEAM_MIS.xml |
---|
|
<?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>MIS</importType>
<folder>$IMPORT_FOLDER_ROOT$/IDEAM_MIS</folder>
<idMapId>ImportIDEAM_MIS</idMapId>
<missingValue>NaN</missingValue>
<importTimeZone>
<timeZoneOffset>-05:00</timeZoneOffset>
</importTimeZone>
<dataFeedId>IDEAM_MIS</dataFeedId>
</general>
<timeSeriesSet>
<moduleInstanceId>ImportIDEAM_MIS</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>P.obs</parameterId>
<locationSetId>IDEAM_M</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportIDEAM_MIS</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>H.obs</parameterId>
<locationSetId>IDEAM_H</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportIDEAM_MIS</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>p.obs</parameterId>
<locationSetId>IDEAM_M</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportIDEAM_MIS</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>Hr.obs</parameterId>
<locationSetId>IDEAM_M</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportIDEAM_MIS</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>T.obs</parameterId>
<locationSetId>IDEAM_M</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportIDEAM_MIS</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>Rg.obs</parameterId>
<locationSetId>IDEAM_M</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
<timeSeriesSet>
<moduleInstanceId>ImportIDEAM_MIS</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>u.obs</parameterId>
<locationSetId>IDEAM_M</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="nonequidistant"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
</import>
</timeSeriesImportRun>
|
IdMapFiles
Code Block |
---|
| xml |
---|
| xml |
---|
title | MapIdIDEAM_MIS.xml |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<idMap 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/idMap.xsd" version="1.1">
<parameter internal="Hr.obs" external="0027"/>
<parameter internal="T.obs" external="0068"/>
<parameter internal="u.obs" external="0103"/>
<parameter internal="Rg.obs" external="0239"/>
<parameter internal="H.obs" external="0230"/>
<parameter internal="P.obs" external="0240"/>
<parameter internal="p.obs" external="0255"/>
</idMap>
|