ecmwf / pdbufr

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

Allow to use comparison operators in filter conditions #9

Closed sandorkertesz closed 2 years ago

sandorkertesz commented 3 years ago

With this we could extract e.g. airTemperature values < 273.16.

alexamici commented 3 years ago

I refactored the whole filtering into bufr_filters.py and added support for range and slice filtering. See the tests in test_20_bufr_filters.py for examples.

I'll keep the issue open until I sync the README

sandorkertesz commented 3 years ago

Does the slicing work for datetime?