Versions Compared

Key

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

...

Specifies an identifier key that can be used with the IDENTIFIER_VALUE to filter messages. The default value is WMO station.

Infonote

Please note that WMO station is not a valid ecCodes BUFR key but a compound one used for convenience. It is defined as follows:

WMO station = blockNumber * 1000 + stationNumber

...

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

Let us suppose E.g. if we have radiosonde data and we want to filter the messages where which have any temperature value above greater 300 K , the (the message contains multiple temperature values). The custom filter would 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.

...

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 is specified as a list. E.g. 1/2
not in rangenumericthe interval is specified as a list. E.g. 1/2


CUSTOM_VALUE_N

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

...