BUFR object

class Bufr

Metview’s Bufr object represents BUFR data. As this format is very complicated to work with, its only method is write().

Some Bufr objects can also be plotted directly if they conform to certain standards.

Bufr objects can also be passed to the thermo_bufr() function in order to compute a thermodynamic diagram.

To work directly with the values of BUFR data in Metview, you must filter it using one of Metview’s filters.

Construction

A BUFR file can be read from disk using read():

import metview as mv

bu = mv.read("obs.bufr")

Methods and functions

This is the list of all the functions related to Bufr data.

append()

Append the given data to file

bufr_picker()

Filter Bufr data with complex structure

cleanfile()

Remove unwanted header padding from GRIB and Bufr files

file()

Return a file handler for the specified filename

obsfilter()

Filter Bufr data

read()

Read the given file and returns a variable of the appropriate type

retrieve()

Retrieve data from MARS

thermo_bufr()

Generate thermodynamical profile from Bufr

write()

Writes/appends the given data to file