Lookup Table module configuration

The Lookup table module is used to derive a simple value based on combining input values of different time series in the forecast database. These are then used to search in a multi-dimensional lookup table to derive the requested output. The module may also be employed to derive a decision based on a hierarchic set of rules (critical conditions table).

The lookup table utility is predominantly applied as the forecasting tool for coastal forecasting. Typically values such as predicted surge, wind force and direction, wave height, fluvial flow in an estuary are used to predict values at a number of points on the coast or in an estuary. These values are generally defined as a Lookup Index. This can then be resolved to a text string such as "Flood Warning" or "Severe Flood Warning" for use in for example reports using the ValueAttributeMaps (see Regional Configuration).

Three main types of lookup table may be defined;

When available as configuration on the file system, the name of the XML file for configuring an instance of the general adapter module called for example Coastal_Lookup_Forecast may be:

Coastal_Lookup_Forecast 1.00 default.xml

Coastal_Lookup_Forecast

File name for the Coastal_Lookup_Forecast configuration.

1.00

Version number

default

Flag to indicate the version is the default configuration (otherwise omitted).


Figure 78 Elements of the lookup table configuration.

LookupSet

Root element of the definition of a lookup table. Multiple entries may exist.

Attribute;

Attributes;

Attributes;

Attributes;

Attributes (only required attributes defined);

Attributes;

Example:

defaultValue

The default value element is identical to the specification of a criticalConditon as described above.


SimpleTableLookup


Figure 80 Elements of the simpleTableLookup configuration

LookUpData

Row vector of data used to find relative position of input variable.

Attributes;

Attributes;

Example:

MultipeDimensionLookup


Figure 81 Elements of the multiDimensionalLookup configuration

lookupColData

Row vector of data used to find relative position in matrix columns of input variable defined as lookUpColVariableId.

Attributes;

Attributes;

Example: