Live File Processor Agent Example – Geokon

<< Click to Display Table of Contents >>

Navigation:  Live > Agents > File Agents > File Processor > Examples >

Live File Processor Agent Example – Geokon

Add the following settings to the ST_CONFIG table (CONFIG_SECTION = 'Live.FileProcessor', CONFIG_KEY = 'Agent').

 

OBJECT_TYPE

OBJECT_VALUE

STRING_VALUE

Description

Geokon

dateTimeColumnHeaderRegex

Date.*Time

DT_LOGGER_DATUM.DATUM_UTC_DT date; column header text contains Date + anything (.*) + Time.

Geokon

dateTimeFormats

OA

OLE Automation date

e.g., 41396.43565 = 2013-05-02 11:27:20

Geokon

folderWatcherPath

C:\EarthSoft\Live\Geokon


Geokon

headerLinesRegex

Date.*Time

The header line contains Date + anything (.*) + Time.

Geokon

ignoreColumnHeadersRegex

Year|Reading No.

Do not add series or datum for columns whose header text contains:

1.Year

2.Reading No.

Geokon

loggerCodeColumnHeaderRegex

Data logger ID

DT_LOGGER.LOGGER_CODE

 

 

 

Header info,,a,,,,,,,,,,,

 

Data logger ID,Year,Date and Time,Battery Voltage,Internal  Temperature,Pressure Transducer A Digit Reading ( R ),Pressure Transducer B Digit Reading ( R ),Pressure Transducer C Digit Reading ( R ),Pressure Transducer D Digit Reading ( R ),Pressure Transducer A Temperature (T)  °C,Pressure Transducer B Temperature (T)   °C,Pressure Transducer C Temperature (T)    °C,Pressure Transducer D Temperature (T)     °C,Reading No.

B-5,2013,41396.43565,2.52,11.4,472.761,142.957,0.191,---,22.6,19.5,17.3,---,510

B-5,2014,41774.58978,2.62,23.56,454.797,126.132,-0.216,---,22.6,19.4,17.3,---,1

B-5,2014,41775,2.61,17.94,454.83,126.241,-0.277,---,22.5,19.4,17.3,---,2