Skip to content

WMO_station_id ignored in filters unless appears in columns #55

@sandorkertesz

Description

@sandorkertesz

What happened?

Using e.g. SYNOP data:

df = pdbufr.read_bufr(columns=["latitude", "longitude", "airTemperatureAt2M"],
                 filters={"WMO_station_id": [30846, 89514]

does not apply the filter but extracts data from all the messages. To make filters work WMO_station_id has to be added to columns. For other keys this is not required.

What are the steps to reproduce the bug?

See above.

Version

latest

Platform (OS and architecture)

all

Relevant log output

No response

Accompanying data

No response

Organisation

No response

Metadata

Metadata

Assignees

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