Welcome to pdbufr’s documentation
Important
This software is Graduated and subject to ECMWF’s guidelines on Software Maturity.
pdbufr is a Python package implementing a Pandas reader for the BUFR format using ecCodes. It features the read_bufr() function to extract data from a BUFR file as a Pandas DataFrame using a rich filtering engine.
pdbufr supports BUFR 3 and 4 files with uncompressed and compressed subsets. It works on Linux, MacOS and Windows, the ecCodes C-library is the only binary dependency.
Quick start
import pdbufr
# Read a radiosonde BUFR file and extract temperature profiles
# for the first two stations
df = pdbufr.read_bufr(
"tests/sample_data/temp.bufr",
reader="generic",
columns=["latitude", "longitude", "pressure", "airTemperature"],
filters={"count": [1, 2]},
)
Examples
Documentation
Installation