Creating new coefficient files

The BEAM SST Tool uses coefficient files during the SST processing to read it's coefficient sets.
These files are located in:

<BEAM-HOME>/auxdata/sst/dual_view

or

<BEAM-HOME>/auxdata/sst/nadir_view

each for the specified view.

A coefficient file is a standard java properties file consisting of key/value pairs and comments. When the SST processor starts up, it scans the SST auxiliary data directory for coefficient files and shows these in the GUI as entries in the coefficient file list for both nadir and dual views. It is possible to add any number of customized coefficient files to these folders when following the simple syntax:

A comment line begins with a "#" and is ignored during the parsing operation.

Each coefficient file should contain a short description, denoted as:

 description = my coefficient description

The description string is shown in the user interface coefficient selection box.

The coefficient file can contain any number of so called map keys. These keys define a pixel range across the scanline where a specific set of coefficients shall be used. Map keys contain successive numbers to allow the coefficient to be associated to a specific range. Each map value consists of two integer values defining the lower and higher bound of the range (borders are included).

Example:

devides each scanline into three non-overlapping pixel ranges. The coefficient file parser checks the map ranges for overlaps or gaps and notifies the user on this.

For every map range there must be a corresponding set of coefficients. Coefficient keys follow the same rules as map keys, they contain consecutive numbers to be associated with map ranges. Valid coefficient names are – following the standard sst algorithm conventions – a.x through d.x. All coefficient files stored in the nadir view directory are expected to have just a and b coefficient sets and files in the dual view directory just c and d coefficients.

For each map range with index x there must be a set of coefficients (a.x and b.x or c.x and d.x) available. Coefficient values consist of a number of comma separated floating point values.

Example:

The number of coefficient values is defined by the sst algorithm and is as follows:

The coefficient file parser checks the number of coefficients and the associations and notifies the user on such errors.

Here is a valid coefficent file as example: