Skip to content

Commit

Permalink
Only enable pyarrow timefilter if envelope
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusuMET committed Nov 12, 2024
1 parent 3ed7425 commit 052051a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pyaro_readers/eeareader/EEATimeseriesReader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 052051a

Please sign in to comment.