...
The following example of an Import Module Instance will import the time series as equidistant series for timezone GMT with a time step of 6 hours.
Code Block |
---|
| xml |
---|
| xml |
---|
title | ImportKNMI.xmlxml |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<timeSeriesImportRun ......">
<import>
<!--SYNOP (1h)-->
<general>
<importType>KNMISYNOPS</importType>
<folder>$IMPORT_FOLDER_KNMI_SYNOPS$</folder>
<failedFolder>$IMPORT_FAILED_FOLDER_KNMI_SYNOPS$</failedFolder>
<backupFolder>$IMPORT_BACKUP_FOLDER_KNMI_SYNOPS$</backupFolder>
<idMapId>IdImportSYNOPS</idMapId>
<unitConversionsId>ImportKNMIUnits</unitConversionsId>
<importTimeZone>
<timeZoneOffset>+00:00</timeZoneOffset>
</importTimeZone>
<dataFeedId>KNMI-SYNOPS</dataFeedId>
</general>
<timeSeriesSet>
<moduleInstanceId>ImportKNMI</moduleInstanceId>
<valueType>scalar</valueType>
<parameterId>P.meting</parameterId>
<locationSetId>KNMI-SYNOPS</locationSetId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="hour" multiplier="1"/>
<readWriteMode>add originals</readWriteMode>
<synchLevel>1</synchLevel>
</timeSeriesSet>
<externUnit parameterId="P.meting" unit="0.1 mm/hr"/>
</import>
</timeSeriesImportRun>
|
...
Info |
---|
Defines mappings between KNMI and FEWS parameters and locations. |
Code Block |
---|
| xml |
---|
| xml |
---|
title | sample of IdImportEPS.xmlxml |
---|
|
<idMap version="1.1" ..............>
<map internalParameter="P.meting" internalLocation="KNMI_370" externalParameter="RhRhRh" externalLocation="06370"/>
<map internalParameter="P.meting" internalLocation="KNMI_479" externalParameter="RhRhRh" externalLocation="06479"/>
</idMap>
|
...
Info |
---|
Defines the conversion of the units that should be applied. |
Code Block |
---|
| xml |
---|
| xml |
---|
title | sample of ImportKNMIUnits.xmlxml |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<unitConversions ...................>
<unitConversion>
<inputUnitType>0.1 mm/hr</inputUnitType>
<outputUnitType>mm/hr</outputUnitType>
<multiplier>0.1</multiplier>
<incrementer>0</incrementer>
</unitConversion> ........
........
</unitConversions>
|
...
Info |
---|
Defines the conversion of the units that should be applied. |
Code Block |
---|
| xml |
---|
| xml |
---|
title | sample of 2007102503_decoded_synops_NL.txtxml |
---|
|
2007102503;06209; ; ; ; 0 m.; ; ; ; ; ; ;
; ; ; ; ; ; ; ; ; ; 0.0; ; ; ; ;
2007102503;06210;VALKENBURG;52.15; 4.42; 0 m.;5;cloudy;8;ENE; 3; 5;
7.6; ; ; ; ; 5.1; 84;13000;1025.7; ; 0.0; ; ; ; 70;
2007102503;06225;IJMUIDEN;52.47; 4.57; 13 m.;6;; ;E; 6; 9;
; ; ; ; ; ; ; ; ; ; 0.0; ; ; ; 80;
2007102503;06229;TEXELHORS WP;53.00; 4.72; 1 m.;6;; ;ESE; 7; 10;
; ; ; ; ; ; ; ; ; ; 0.0; ; ; ; 110;
2007102503;06235;DE KOOY;52.93; 4.78; 0 m.;5;cloudy;8;E; 4; 9;
8.5; ; ; ; ; 5.1; 79;30000;1026.8; ; 0.0; ; ; ; 100;
2007102503;06239; ; ; ; 29 m.; ; ; ; ; ; ;
; ; ; ; ; ; ; ; ; ; 0.0; ; ; ; ;
2007102503;06240;AMSTERDAM AP SCHIPHO;52.30; 4.77; -4 m.;5;cloudy;8;E; 3; 7;
7.8; ; ; ; ; 5.3; 84;16000;1026.0; ; 0.0; ; ; ; 80; |
...