Versions Compared

Key

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

...

Tip

These conditions are combined together by the logical AND operator. So a row of data is only added to the results when all the conditions match.

Sample data

This is a summary the list of the data files used for the examples:

FileStructureDescription

temp.bufr

Anchor
temp_bufr_file
temp_bufr_file



Classic radiosonde data. One message contains a vertical profile for one station with various parameters (e.g. temperature, wind etc.) on a set of pressure levels.

Tropical cyclone data. One message contains a full ensemble forecast with minimum mean sea level pressure and maximum wind speed values along the forecast tacks. Each ensemble member is encoded as a compressed subset within the message.

...

Extracting a single parameter

We use file bufr.bufr (see above) for these examples.

ExampleFilterResultsComments

For all the messages: extract the first non missing temperature value


Code Block
extract_data: on
parameter_1: airTemperature


By default missing values are ignored in data extraction (see option MISSING DATA)
For all the messages: extract the first (rank=1) temperature value (if missing it is ignored)


Code Block
extract_data: on
parameter_1: airTemperature
parameter_rank_1: 1


Here we explicitly asked for the first temperature value. It has a missing value in many of the messages so we have less resulting rows that in the previous example.
For all the messages: extract the first (rank=1) temperature value if it is greater than 300 K


Code Block
extract_data: on
parameter_1: airTemperature
parameter_rank_1: 1
parameter_operator_1: >
parameter_value_1: 300



For all the messages: extract the first temperature value which is greater than 300 K


Code Block
extract_data: on
parameter_1: airTemperature
parameter_operator_1: >
parameter_value_1: 300



For station 78016: extract all the temperature values



Code Block
identifier_value: 78016
extract_data: on
parameter_1: airTemperature
extract_mode: all



...