Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Specifies the number of custom conditions used to filter messages. The default value is 0. A custom condition can be used with any BUFR key to filter messages. The example below illustrates how it works:

Info
titleCustom condition example

Let us suppose we have radiosonde data and we want to filter the messages which have any temperature value greater 300 K (the message contains these messages contain multiple temperature values). The custom filter should look like this:

CUSTOM_CONDITION_COUNT: 1

CUSTOM_KEY: airTemperature

CUSTOM_RANK: ANY

CUSTOM_OPERATOR: <>

CUSTOM_VALUE: 300

If we would like to find the messages where the first temperature value is above 300 K the rank should be set accordingly:

CUSTOM_CONDITION_COUNT: 1

CUSTOM_KEY: airTemperature

CUSTOM_RANK: 1

CUSTOM_OPERATOR: <>

CUSTOM_VALUE: 300


CUSTOM_KEY_N

Specify the ecCodes BUFR key used in the given custom condition.

...

CUSTOM_RANK_N

Specify the rank of the BUFR key used in the given custom condition. The default value is ANY, meaning that the rank is not used ignored in the condition,


CUSTOM_OPERATOR_N

Specify the operator used in the given custom condition. The possible values are as follows:

OperatorTypes acceptedRemarks
=numeric, stringalso works for lists
!=numeric, stringalso works for lists
<=numeric
<numeric
>=numeric
>numeric
in rangenumericthe
interval
range is specified as a list. E.g. 1/2
not in rangenumericthe
interval
range is specified as a list. E.g. 1/2


CUSTOM_VALUE_N

Specify the operator value used in the given custom condition. The possible values are as follows:This option cannot be left empty.



Data extraction

k;k;jk;