From 052051a66c88c94d01a4f6b6bc7c1a4a1171c0cd Mon Sep 17 00:00:00 2001 From: Magnus Ulimoen Date: Tue, 12 Nov 2024 13:38:04 +0100 Subject: [PATCH] Only enable pyarrow timefilter if envelope --- src/pyaro_readers/eeareader/EEATimeseriesReader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pyaro_readers/eeareader/EEATimeseriesReader.py b/src/pyaro_readers/eeareader/EEATimeseriesReader.py index d1504e6..c452a00 100644 --- a/src/pyaro_readers/eeareader/EEATimeseriesReader.py +++ b/src/pyaro_readers/eeareader/EEATimeseriesReader.py @@ -150,7 +150,8 @@ def _transform_filters( for filter in filters: if isinstance(filter, pyaro.timeseries.Filter.TimeBoundsFilter): - pyarrow_filters.extend(_pyarrow_timefilter(filter)) + if filter.has_envelope(): + pyarrow_filters.extend(_pyarrow_timefilter(filter)) time_filter = filter elif isinstance(filter, pyaro.timeseries.Filter.StationFilter): args = filter.init_kwargs()