pdbufr icon indicating copy to clipboard operation
pdbufr copied to clipboard

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

Open sandorkertesz opened this issue 1 year ago • 0 comments

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

sandorkertesz avatar Aug 01 '23 14:08 sandorkertesz