Skip to content

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

@sandorkertesz

Description

@sandorkertesz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions