pdbufr
pdbufr copied to clipboard
WMO_station_id ignored in filters unless appears in columns
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