ecmwf / pdbufr

High-level BUFR interface for ecCodes
Apache License 2.0
23 stars 8 forks source link

Fails to collect all the values of a given key from SYNOP message #64

Open sandorkertesz opened 1 year ago

sandorkertesz commented 1 year ago

What happened?

File c_85.bufr contains a single BUFR message with 2 airTemperature values. The structure is as follows:

image

When we try to extract the airTemperature with the following code:

import pdbufr
df = pdbufr.read_bufr("c_85.bufr", columns=("airTemperature"))
print(df)

we only get the second value

   airTemperature
0             0.2

What are the steps to reproduce the bug?

See above.

Version

all

Platform (OS and architecture)

all

Relevant log output

No response

Accompanying data

No response

Organisation

ECMWF