Versions Compared

Key

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

...

ExampleFilterResultsComments

For all the messages: extract the first wind speed and wind direction values


Code Block
extract_data: on
parameter_1: windDirection
parameter_2: windSpeed



Note

The order of the parameters in extraction must match their order of appearance in the message. Otherwise the data alignment does not work properly. In our BUFR messages windDirection precedes windSpeed, so we have to use the same ordering in the filter definition.


For all the messages: extract the first wind speed and wind direction values and also extract their pressure


Code Block
extract_data: on
parameter_1: windDirection
parameter_2: windSpeed
coordinate_condition_count: 1
coordinate_1: pressure



For all the messages: extract wind speed and wind direction values on the 500 hPa pressure level


Code Block
extract_data: on
parameter_1: windDirection
parameter_2: windSpeed
coordinate_condition_count: 1
coordinate_1: pressure
coordinate_operator_1: =
coordinate_value_1: 50000




Multiple (nested) coordinate conditions

When we use multiple coordinate conditions these are assumed to be nested. In the examples below we will use pressure and

TaskFilterResultsComments

For station 78016: extract all the temperature values on standard pressure levels


Code Block
identifier_value: 78016
extract_data: on
parameter_1: airTemperature
coordinate_condition_count: 2
coordinate_1: pressure
coordinate_2: verticalSoundingSignificance
coordinate_operator_2: =
coordinate_value_2: 32


Image Modified


For station 78016: extract all the temperature values on temperature significant levels where the pressure is less than 500 hPa


Code Block
identifier_value: 78016
extract_data: on
parameter_count: 1
parameter_1: airTemperature 
coordinate_condition_count: 2
coordinate_1: pressure
coordinate_operator_1: <
coordinate_value_1: 50000
coordinate_2: verticalSoundingSignificance
coordinate_operator_2: =
coordinate_value_2: 4/68


Image Modified