Setup
Navigate into the 3_bufr folder within Metview.
Examine the BUFR file
Right-click and examine the supplied BUFR file obs.bufr, bringing up the BUFR Examiner tool.
Have a look around to see what's in the file, then find the key airTemperatureAt2M in the Data Tree tab. Right-click and Copy item to get this key name into the clipboard.
Filtering the BUFR file
We will now extract the 2m temperature values from the file. Create a new Observation Filter icon and edit it, setting the following parameters:
Parameter | Value | Notes |
---|---|---|
Data | obs.bufr | Drop the obs.bufr icon into the editor box |
Output | Geopoints | |
Parameter | airTemperatureAt2M | Can put ecCodes key names or numeric descriptors here |
The editor should look like this:
Click OK, then examine the Obervation Filter icon. The filtering will happen, and the resulting geopoints data will appear in the examiner. You could also right-click on the icon and save the data, or drop the icon into a Python script file and add a write()
command to write it to disk.
There are various possible output formats, but the standard geopoints output is a text file that looks like this:
Now visualise the result of the Observation Filter and drop the supplied icons symbol_plotting and coast_dark into the plot window.