Flag Conversions

FlagConversions are defined to map internal quality flags to external quality flags. For each flag to be converted a conversion can be identified, but a default flag may also be given to ensure the exported or imported data carries a flag. A flag to identify missing values must also be configured. The Id used in registering the FlagConversion is the same as the name of the configuration file. When available on the file system, the name of the XML file for configuring a FlagConversions called for example NWPFlags may be:

NWPFlags 1.00 default.xml

NWPFlags

Fixed file name for the NWPFlags FlagConversions.

1.00

Version number

default

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

folderFlagConversionsFiles


Figure 157 Elements of the FlagConversions configuration

flagConversions

Root element of for defining a flagConversion. For each element an inputFlag- outputFlag tuple must be defined.

inputFlag

Definition of the input flag

name

Optional name of the flag

value

Value of the flag

description

Optional description of the flag

defaultOutputFlag

Default output flag assigned to data imported or exported.

missingValueFlag

Flag used to identify missing values in data to be imported or exported.