Live File Processor Agent Example – AreaRAE

<< Click to Display Table of Contents >>

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

Live File Processor Agent Example – AreaRAE

Note that the AreaRAE facility and location settings are the same as the E-BAM (step-by-step, more detailed) example.

 

Add the AreaRAE settings below to the ST_CONFIG table using the Live File Processor widget:

Settings

 

OBJECT_TYPE

OBJECT_VALUE

STRING_VALUE

Description

AreaRAE

folderWatcherPath

C:\EarthSoft\Live\AreaRAE


AreaRAE

folderWatcherFilterRegex

^(.*[^\s].*)_
([^_]*[^\s_][^_]*)_
([^_]*[^\s_][^_]*)_
([^_]*)$

See E-BAM example.

AreaRAE

facilityCodeFileNameRegexGroups

^(?'a'.*)_(.*)_(.*)_(.*)$

DT_LOGGER.FACILITY_ID = DT_FACILITY.FACILITY_ID where FACILITY_CODE = 'VNTR_AM'

AreaRAE

sysLocCodeFileNameRegexGroups

^(.*)_(?'a'.*)_(.*)_(.*)$

DT_LOGGER.SYS_LOC_CODE

AreaRAE

loggerCodeFileNameRegexGroups

DT_LOGGER.LOGGER_CODE

AreaRAE

locationParamCodeFileNameRegex
Groups

^(.*)_(.*)_(?'a'.*)_(.*)$

DT_LOGGER_SERIES.
LOCATION_PARAM_CODE

AreaRAE

dataEndLineRegex

^(Peak|Min|Average|\*\*\*)

Stop loading data at line starting with (^) any of the following text:

Peak

Min

Average

***

AreaRAE

dateTimeColumnHeaderRegex

Date/Time

DT_LOGGER_DATUM.DATUM_UTC_DT

AreaRAE

delimiters

 

The fields are separated by tabs.

AreaRAE

headerLinesRegex

.*\nDate/Time

The header has 2 lines that look like this:

1.Anything (.*)

2.Contains Date/Time

AreaRAE

ignoreColumnHeadersRegex

Index|Latitude|Longitude|Satellite

Do not add series or datum for columns whose header text contains Index, Latitude, Longitude, and Satellite.

AreaRAE

loggerCodeHeaderLinesRegex
Groups

^Site ID\t(?'a'.*)

DT_LOGGER.LOGGER_CODE

AreaRAE

multiHeaderFiles

true


AreaRAE

seriesNameColumnHeaderRegex
Groups

(?'a'[^\(]*)

DT_LOGGER_SERIES.SERIES_NAME

(e.g., 'CO(ppm)\n(Min)' => 'CO', or

'Satellite\nCount' => 'Satellite Count')

AreaRAE

seriesUnitColumnHeaderRegex
Groups

(?(?=\(.*\n)\((?'a'.*)\).*\n)

DT_LOGGER_SERIES.SERIES_UNIT

(e.g., 'CO(ppm)\n(Min)' => 'ppm')

AreaRAE

seriesFunctionColumnHeaderRegex
Groups

(?(?=\n\()\n\((?'a'.*)\))

DT_LOGGER_SERIES.SERIES_FUNCTION (e.g., 'CO(ppm)\n(Min)' => 'Min')

 

 

 

============================================================

18/10/22 08:04

************************************************************

Summary

------------------------------------------------------------

Unit Name        AreaRAE Plus(PGM-6520)

Unit SN        W01B00000869

Unit Firmware Ver        V1.08

------------------------------------------------------------

Running Mode        Safety Mode

Datalog Mode        Auto

Diagnostic Mode        No

Stop Reason        Schedule Stop

------------------------------------------------------------

Site ID        SITE0000

User ID        USER0000

------------------------------------------------------------

Begin        10/22/2018 08:04:36

End        10/23/2018 08:04:36

Sample Period(s)        600

Number of Records        144

------------------------------------------------------------

Sensor        CO(ppm)

Sensor SN        SC03060456V5

Measure Type        Min; Avg; Max; Real

Span        50

Span 2        N/A

Low Alarm        35

Lowlow Alarm        N/A

High Alarm        200

Over Alarm        500

STEL Alarm        100

TWA Alarm        35

Measurement Gas(CF)        N/A

Calibration Time        10/22/2018 08:02:00

Bump Test Time        10/22/2018 08:02:00

Peak        0

Min        0

Average        0

 

************************************************************

Datalog

                         Satellite        CO(ppm)        CO(ppm)        CO(ppm)        CO(ppm)

Index        Date/Time        Longitude        Latitude        Count        (Min)        (Avg)        (Max)        (Real)

001        10/22/2018 08:14:36        -65.41579        18.12071        9        0        0        0        0

002        10/22/2018 08:24:36        -65.41576        18.12067        9        0        0        0        0

003        10/22/2018 08:34:36        -65.41570        18.12072        8        0        0        0        0

Peak                                        0        0        5        0

Min                                        0        0        0        0

Average                                        0        0        0        0

 

************************************************************

TWA/STEL

         CO(ppm)        CO(ppm)

Index        Date/Time        (TWA)        (STEL)

001        10/22/2018 08:14:36        0        ---

002        10/22/2018 08:24:36        0        0

003        10/22/2018 08:34:36        0        0