RBCAA Agent

<< Click to Display Table of Contents >>

RBCAA Agent

The Richards Bay Clean Air Association (RBCAA) Agent is a data loading agent available in EQuIS Live for obtaining current air data from RBCAA.

 

Adding Station

 

Before using the RBCAA Agent, add one or more stations to the DT_LOGGER table:

1.Execute the equis.get_ids stored procedure to get a new LOGGER_ID or add the station (DT_LOGGER row) in EQuIS Professional.

2.Set LIVE_DATA_SOURCE to http://live.rbcaa.org.za/DynamicTable.aspx?G_ID=7.

3.Set LOGGER_CODE to a station name, from http://live.rbcaa.org.za/DynamicTable.aspx?G_ID=7 (e.g., Arboretum).

4.Set STATUS_FLAG to "A" to activate the logger.

 

Loading Data

 

The RBCAA Agent can be run as a scheduled EQuIS Information Agent (EIA), at the desired frequency, to automatically load data as often as needed.

 

The RBCAA Agent can also be run in EQuIS Professional or Enterprise (using the EZView widget) to load the data manually, without having to schedule an EIA.

 

The RBCAA Agent will load data for all loggers with LIVE_DATA_SOURCE containing rbcaa.

 

The RBCAA Agent adds a DT_LOGGER_SERIES row for each of the following series. However, some of the stations may not have one or more of the series listed below, in which case those series will not be added.

 

SERIES_NAME

SERIES_UNIT

WD (Wind Direction)

° (degrees)

WS (Wind Speed)

m/s

Temp

°C

SO2

ppb

PM10

ug/m3

TRS

ppb

Rain

mm

RH

%

Solar Rad

w/m²

Bar Press

mb

 

A series can then be activated or deactivated, by setting its STATUS_FLAG = "A" or "R", to start or stop (respectively) obtaining data for it. A series' SERIES_DESC may be changed, but not the SERIES_NAME and SERIES_UNIT; they uniquely identify the series using the parameter names and units from the website.